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

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

  0.37  


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


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

  0.97  


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

  0.95  


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

  0.36  


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


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

  0.12  


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

  0.93  


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]
58
330
1123
437
45
143

0.12
0.86
7.28
5.74
11.38
49.74
Afferent Couplings
Efferent Couplings
Abstractness
Instability
Distance [D]
3
7
0.07
0.7
0.23
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.39
1.32
0
0
505
0.45
4
1407
1.25
Used by PackagesUses PackagesCycles
Illegal Use:
net.sourceforge.pmd.lang.ecmascript
net.sourceforge.pmd.lang.ecmascript.rule
net.sourceforge.pmd.lang.ecmascript.rule.basic
Illegal Dependencies:
net.sourceforge.pmd.lang.ast
External Dependencies:
java.io
java.lang
java.lang.reflect
java.util
org.mozilla.javascript
org.mozilla.javascript.ast
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
AbstractEcmascriptNode2081205441390010
DestructuringNode212004101010
EcmascriptNode438023533102.330
EcmascriptParserVisitor515052050545012251010

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
ASTArrayComprehension157110741419000.570
ASTArrayComprehensionLoop94806476000.250
ASTArrayLiteral73605363000.330
ASTAssignment525043410000
ASTAstRoot9570631060010
ASTBlock525044410000
ASTBreakStatement1057074106000.750
ASTCatchClause13690851115000.670
ASTComment526044410000
ASTConditionalExpression1158063810000.20
ASTContinueStatement1057074106000.750
ASTDoLoop94706376000.250
ASTElementGet94705384000.250
ASTEmptyExpression525043410000
ASTExpressionStatement73604463000.670
ASTForInLoop13690641015000.50
ASTForLoop1369063915000.170
ASTFunctionCall13691651115000.830
ASTFunctionNode2613130862330010
ASTIfStatement13690641015000.50
ASTInfixExpression525033410000
ASTKeywordLiteral836054103000.670
ASTLabel626044610000
ASTLabeledStatement11580731110000.60
ASTLetNode14790741010000.80
ASTName231570981926000.50
ASTNewExpression178111841526000.750
ASTNumberLiteral1047044106000.750
ASTObjectLiteral94707486000.50
ASTObjectProperty94705584000.750
ASTParenthesizedExpression525043410000
ASTPropertyGet625043510000
ASTRegExpLiteral83604483000.670
ASTReturnStatement736045630010
ASTScope525043410000
ASTStringLiteral12580441010000.80
ASTSwitchCase181090651213000.50
ASTSwitchStatement11580731010000.40
ASTThrowStatement525043410000
ASTTryStatement178110741526000.750
ASTUnaryExpression1047054114000.750
ASTVariableDeclaration1469074169000.330
ASTVariableInitializer14780751010000.80
ASTWhileLoop94706376000.250
ASTWithStatement94806376000.250
ASTXmlDotQuery526043410000
ASTXmlExpression94806386000.50
ASTXmlMemberGet526043410000
ASTXmlString626043610000
AbstractInfixEcmascriptNode1155066960010
DumpFacade14467312416061020
EcmascriptParser17540911411020
EcmascriptParserVisitorAdapter10250521510531275100.020
EcmascriptTreeBuilder89218041293102.330