http://xradar.sourceforge.net


Statics Report - System: 1.0, Version: 0, Date: TodayDesigned for use with Checkstyle, CKJM, FindBugs, JavaNCSS, JDepend, Macaron, PMD, PMD-CPD, Java2HTML and Ant.

[Statics] packages

[scorecard] [analysis] [explanations]
{overview} {architecture} {design} {code} {test} {source control} {system specific}

Package : net.sourceforge.pmd.lang.java.rule.strings

Subsystem : language definition module
Total Quality
[TQ= 0.25*ARCH + 0.25*DES + 0.25*CODE + 0.25*TS]

  0.34  


Architecture
[ARCH= 0.4*MOD + 0.6*COH]

  0  


Modularisation
[MOD= 1 - (count_packages(not(illegal-dependencies=0))÷total_packages)]

  0  


Cohesion
[COH= 1 - (count_packages(cycles=true)÷total_packages)]

  0  


Design
[DES= 0.20*NOM + 0.30*RFC + 0.30*CBO + 0.20*DIT]

  0.7  


Number of Methods
[NOM=  count_classes(wmc<20) ÷total-classes]

  1  


Response for Class
[RFC=  count_classes(rfc<50) ÷total-classes]

  0.77  


Coupling Between Objects
[CBO=  count_classes(cbo<5) ÷total-classes]

  0.23  


Depth of Inheritance Tree
[DIT=  count_classes(dit<5) ÷total-classes]

  1  


Code Quality
[CODE= 0.15*DOC + 0.4*DRY + 0.3*FRE + 0.15*STY]

  0.68  


Documentation
[DOC= javadocs÷(functions + analysed-classes)]

  0.31  


DRYness
[DRY= 1 - (classes-with-duplications÷analysed-classes)]

  0.83  


Freshness
[FRE= 1 - (classes-with-code-violations÷analysed-classes)]

  1  


Stylishness
[STY= 1 - (classes-with-style-errors÷analysed-classes)]

  0  
StatisticsDesignCode Quality
Total Classes
Methods
Source Statements [NCSS]
Cyclomatic Complexity [CCN]
Javadocs
Javadoc Lines [JL]

Depth of inheritance tree [DIT]
Number of Children [NOC]
Efferent Class Couplings [CBO/Ce]
Afferent Class Couplings [Ca]
Response for a Class [RFC]
Lack of Cohesion [LCOM]
13
43
777
314
17
153

0.08
0
8.69
0.31
24.85
11.38
Afferent Couplings
Efferent Couplings
Abstractness
Instability
Distance [D]
1
9
0
0.9
0.1
Cmplx. per Stmt.
Cmplx. per Meth.
Code Violations
Violations per Stmt.
Style errors
St. errors per Stmt.
Duplications
Duplicated Tokens [DT]
Duplicated Tokens per Stmt.
0.4
7.3
0
0
47
0.06
4
322
0.41
Used by PackagesUses PackagesCycles
Illegal Use:
test.net.sourceforge.pmd.lang.java.rule.strings
Illegal Dependencies:
net.sourceforge.pmd.lang.ast
net.sourceforge.pmd.lang.java.ast
net.sourceforge.pmd.lang.java.rule
net.sourceforge.pmd.lang.java.symboltable
net.sourceforge.pmd.lang.java.typeresolution
net.sourceforge.pmd.lang.rule.properties
External Dependencies:
java.io
java.lang
java.util
net.sourceforge.pmd.lang.ast
net.sourceforge.pmd.lang.dfa
net.sourceforge.pmd.lang.ast
TestsSource Control
Test Suites
Tests
Source Statements per Tests
Errors
Time
Line Coverage
Line Coverage per Test
0
0
Infinity
0
0
0%
NaN%
None

Abstract ClassSource statementsCyclometic complexityViolationsStyle ErrorsDuplicationsEfferent (Import) Class Couplings (CBO / Ce)Afferent (Emport) Class Couplings (Ca)Response for Class (RFC)Lack of Cohesion in Methods (LCOM)Depth of Inheritance Rree (DIT)Statement Test CoverageMethod Test ReferenceIllegal Imports
None

Concrete ClassSource statementsCyclometic complexityViolationsStyle ErrorsDuplicationsEfferent (Import) Class Couplings (CBO / Ce)Afferent (Emport) Class Couplings (Ca)Response for Class (RFC)Lack of Cohesion in Methods (LCOM)Depth of Inheritance Rree (DIT)Statement Test CoverageMethod Test ReferenceIllegal Imports
AppendCharacterWithCharRule106305071000.50
AvoidDuplicateLiteralsRule89281301005000040
AvoidDuplicateLiteralsRule$Exc eptionParser001110101.50
ConsecutiveLiteralAppendsRule136634219058430070
InefficientEmptyStringCheckRul e9730401430000
InefficientStringBufferingRule533930153296001.50
InsufficientStringBufferDeclar ationRule182722217060760060
StringInstantiationRule22153090121000.50
StringToStringRule14112080161000.50
UnnecessaryCaseChangeRule44293060166001.50
UseIndexOfCharRule934030780010
UseStringBufferLengthRule291740802500010
UselessStringValueOfRule37243090183000.50