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.ast

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

  0.33  


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.81  


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

  0.56  


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

  0.78  


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

  0.89  


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.52  


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

  0.58  


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

  0.67  


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

  0.56  


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]
9
170
872
368
104
276

1.67
1
1.33
38.22
29.22
218.56
Afferent Couplings
Efferent Couplings
Abstractness
Instability
Distance [D]
52
8
0.56
0.13
0.31
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.42
2.16
7
0.01
329
0.38
15
2287
2.62
Used by PackagesUses PackagesCycles
Legal Use:
net.sourceforge.pmd.cpd
Illegal Use:
net.sourceforge.pmd.lang
net.sourceforge.pmd.lang.ast.xpath
net.sourceforge.pmd.lang.ast.xpath.saxon
net.sourceforge.pmd.lang.cpp
net.sourceforge.pmd.lang.cpp.ast
net.sourceforge.pmd.lang.dfa
net.sourceforge.pmd.lang.ecmascript
net.sourceforge.pmd.lang.ecmascript.ast
net.sourceforge.pmd.lang.ecmascript.rule
net.sourceforge.pmd.lang.java
net.sourceforge.pmd.lang.java.ast
net.sourceforge.pmd.lang.java.dfa
net.sourceforge.pmd.lang.java.rule
net.sourceforge.pmd.lang.java.rule.basic
net.sourceforge.pmd.lang.java.rule.codesize
net.sourceforge.pmd.lang.java.rule.controversial
net.sourceforge.pmd.lang.java.rule.coupling
net.sourceforge.pmd.lang.java.rule.design
net.sourceforge.pmd.lang.java.rule.imports
net.sourceforge.pmd.lang.java.rule.javabeans
net.sourceforge.pmd.lang.java.rule.junit
net.sourceforge.pmd.lang.java.rule.logging
net.sourceforge.pmd.lang.java.rule.migrating
net.sourceforge.pmd.lang.java.rule.naming
net.sourceforge.pmd.lang.java.rule.optimizations
net.sourceforge.pmd.lang.java.rule.strictexception
net.sourceforge.pmd.lang.java.rule.strings
net.sourceforge.pmd.lang.java.rule.sunsecure
net.sourceforge.pmd.lang.java.rule.unnecessary
net.sourceforge.pmd.lang.java.rule.unusedcode
net.sourceforge.pmd.lang.java.symboltable
net.sourceforge.pmd.lang.java.typeresolution
net.sourceforge.pmd.lang.java.typeresolution.rules
net.sourceforge.pmd.lang.java.typeresolution.rules.imports
net.sourceforge.pmd.lang.java.xpath
net.sourceforge.pmd.lang.jsp
net.sourceforge.pmd.lang.jsp.ast
net.sourceforge.pmd.lang.jsp.rule
net.sourceforge.pmd.lang.rule
net.sourceforge.pmd.lang.rule.xpath
net.sourceforge.pmd.lang.xml
net.sourceforge.pmd.lang.xml.ast
net.sourceforge.pmd.lang.xml.rule
net.sourceforge.pmd.stat
net.sourceforge.pmd.util.designer
net.sourceforge.pmd.util.viewer.gui
net.sourceforge.pmd.util.viewer.gui.menu
net.sourceforge.pmd.util.viewer.model
test.net.sourceforge.pmd.ast
test.net.sourceforge.pmd.jaxen
test.net.sourceforge.pmd.lang.jsp.ast
Illegal Dependencies:
net.sourceforge.pmd.lang.ast.xpath
net.sourceforge.pmd.lang.dfa
External Dependencies:
java.io
java.lang
java.util
javax.xml.parsers
org.jaxen
org.w3c.dom
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
AbstractNode1668643807477697100.50
AbstractTokenManager1358007115101.20
CharStream13121700131266100.750
Node3130300229930435100.930
RootNode1030030010NaN0

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
JavaCharStream321137110571553405101.030
ParseException946008864010
SimpleCharStream23475110071149338100.870
TokenMgrError55191221142315401.50