http://xradar.sourceforge.net


Statics Report - System: 4.0, Version: 730, Date: 2004.01.01Designed for use with , Checkstyle, CKJM, CLOC, EMMA, FindBugs, JavaNCSS, JDepend, JUnit, Macaron, PMD, PMD-CPD, Java2HTML and Ant.

[Statics] classes-org.xradar.test.a

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

org.xradar.test.a.A1

Package: org.xradar.test.a | Class source | Class javadoc

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
6
4
5
1
Total :
Per method :
54
13.5
Total :
Per method :
Per statement :
17
4.25
0.31
Inheritance:Coupling:Efferent (Import) Couplings:Afferent (Export) Couplings:
Depth of inheritance tree (DIT):
Number of Children (NOC):
1
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
7
0
15
15
Class Internal:
Package Internal :
Subsystem Internal :
System Internal :
External:
Java Library :
1
1
0
2
4
12
Class Internal:
Package Internal :
Subsystem Internal :
System Internal :
0
0
0
0
Javadocs:Code violations:Style Errors:
Total :
Per method :
1
0.25
Total :
Per method :
Per statement :
32
8
0.59
Total :
Per method :
Per statement :
33
8.25
0.61

FieldTypeImport Couplings:Export Couplings:Illegal Import Couplings:Illegal Export Couplings:
var
org.xradar.test.b.B11010

Method (View coupling details):Javadocs:Source statements:Cyclometic complexity:Import Couplings:Export Couplings:Illegal Import Couplings:Illegal Export Couplings:
main(String[])
0819010
testMethod29()
033125010
methodWithParameters(boolean,boolean)
0933000
methodWithParameters2(Boolean,String,Vector,int)
0213000


View line in sourceCode ViolationRule
Avoid duplicate imports such as 'org.xradar.test.f.F1' DuplicateImports
The class 'A1' has a Cyclomatic Complexity of 4 (Highest = 12). CyclomaticComplexity
Avoid unused private fields such as 'var'. UnusedPrivateField
Parameter 'args' is not assigned and could be declared final MethodArgumentCouldBeFinal
System.out.print is used SystemPrintln
The method 'testMethod29' has a Cyclomatic Complexity of 12. CyclomaticComplexity
System.out.print is used SystemPrintln
Switch statements should have a default label SwitchStmtsShouldHaveDefault
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
Switch statements should have a default label SwitchStmtsShouldHaveDefault
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
Avoid instantiating new objects inside loops AvoidInstantiatingObjectsInLoops
Parameter 'runPart1' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'runPart2' is not assigned and could be declared final MethodArgumentCouldBeFinal
System.out.print is used SystemPrintln
The String literal "bla, bla, bla" appears 5 times in this file; the first occurrence is on line 92 AvoidDuplicateLiterals
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
Avoid using implementation types like 'Vector'; use the interface instead LooseCoupling
Parameter 'bool' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'i' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'string' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'vector' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
5La ligne excède 80 caractères.
7La ligne excède 80 caractères.
8La ligne excède 80 caractères.
9La ligne excède 80 caractères.
11La ligne excède 80 caractères.
24Import dupliqué à la ligne 17 - org.xradar.test.f.F1.1
32'{' devrait être sur une nouvelle ligne.17
33La ligne contient un caractère tabulation.1
33Commentaire javadoc manquant.5
33Le nom 'var' n'est pas conforme à l'expression '^s[A-Z][a-zA-Z0-9]*$'.23
35Commentaire javadoc manquant.5
35Le nom 'args' n'est pas conforme à l'expression '^a[A-Z][a-zA-Z0-9]*$'.38
35'{' devrait être sur une nouvelle ligne.44
46Commentaire javadoc manquant.5
46'{' devrait être sur une nouvelle ligne.32
55'}' devrait être seul sur sa ligne.25
72'}' devrait être seul sur sa ligne.25
90Commentaire javadoc manquant.5
90Le nom 'runPart1' n'est pas conforme à l'expression '^a[A-Z][a-zA-Z0-9]*$'.46
90Le nom 'runPart2' n'est pas conforme à l'expression '^a[A-Z][a-zA-Z0-9]*$'.64
90'{' devrait être sur une nouvelle ligne.73
90Il manque une espace avant '{'.73
91Il manque une espace avant '{'.22
98Il manque une espace avant '{'.22
103La ligne excède 80 caractères.
103Commentaire javadoc manquant.5
103Le nom 'bool' n'est pas conforme à l'expression '^a[A-Z][a-zA-Z0-9]*$'.49
103Le nom 'string' n'est pas conforme à l'expression '^a[A-Z][a-zA-Z0-9]*$'.62
103Le nom 'vector' n'est pas conforme à l'expression '^a[A-Z][a-zA-Z0-9]*$'.77
103Le nom 'i' n'est pas conforme à l'expression '^a[A-Z][a-zA-Z0-9]*$'.89
103'{' devrait être sur une nouvelle ligne.91
103Il manque une espace avant '{'.91
104La ligne contient un caractère tabulation.5