Report for test D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\JouTo.ptp



 
Results for "All Classes"

[15]  (94%):ANode
[5]  (100%):AreaSelection
[4]  (100%):Attribute
[5]  (82%):Block
[19]  (0%):Body
[5]  (100%):BodyPanel
[10]  (71%):ClipboardManager
[8]  (71%):Communications
[1]  (100%):CommunicationsException
[7]  (19%):Editor
[18]  (45%):Element
[0]  (100%):InvalidityException
[3]  (100%):IPTC
[2]  (100%):Pair
[14]  (92%):PCData
[134]  (30%):TreeManager
[2]  (100%):TreeNode
[6]  (43%):TreeSelection
[0] UIManager$ListSelectionHandler
[18]  (6%):UIManager
[9]  (58%):XMLAssistant




        Summary Reports for each Class



       Report for class ANode    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\ANode.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: value  (OOP.APPF-3)
    at [ANode.java, line 12]

Avoid "public" or package-private instance fields: successors  (OOP.APPF-3)
    at [ANode.java, line 15]

Avoid "public" or package-private instance fields: index  (OOP.APPF-3)
    at [ANode.java, line 21]

Cyclomatic Complexity is too high: 15  (METRICS.TCC-3)
    at [ANode.java, line 47]

Use 'equals()' instead of "==" when testing Strings for equality.  (PB.UEI-1)
    at [ANode.java, line 52]

Use 'equals()' instead of "==" when testing Strings for equality.  (PB.UEI-1)
    at [ANode.java, line 83]

Initial capacity is not defined.  (OPT.DIC-3)
    at [ANode.java, line 101]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [ANode.java, line 106]


Uncaught Runtime Exceptions: done


acceptPath: java.lang.NullPointerException
    at ANode.acceptPath ({null}, 0) [ANode.java, line 71]
    at ANode.acceptPath ({null}) [ANode.java, line 39]
                                                                               
For input:
    ANode THIS = new ANode (null, null);
    boolean RETVAL = THIS.acceptPath (new String[] {null});

acceptPath: java.lang.NullPointerException
    at ANode.acceptPath ({}, 0) [ANode.java, line 53]
    at ANode.acceptPath ({}) [ANode.java, line 39]
                                                                               
For input:
    ANode THIS = new ANode ("", null);
    boolean RETVAL = THIS.acceptPath (new String[] {});

acceptPath: java.lang.NullPointerException
    at ANode.acceptPath ({}, 0) [ANode.java, line 60]
    at ANode.acceptPath ({}) [ANode.java, line 39]
                                                                               
For input:
    ANode THIS = new ANode ("#PCDATA", null);
    boolean RETVAL = THIS.acceptPath (new String[] {});

acceptPath: java.lang.NullPointerException
    at ANode.acceptPath ({""}, 1) [ANode.java, line 73]
    at ANode.acceptPath ({""}) [ANode.java, line 39]
                                                                               
For input:
    ANode THIS = new ANode ("", null);
    boolean RETVAL = THIS.acceptPath (new String[] {""});

acceptPath: java.lang.NullPointerException
    at ANode.acceptPath ({"0"}, 0) [ANode.java, line 85]
    at ANode.acceptPath ({"0"}) [ANode.java, line 39]
                                                                               
For input:
    ANode THIS = new ANode ("", null);
    boolean RETVAL = THIS.acceptPath (new String[] {"0"});

getFirstPath: java.lang.NullPointerException
    at ANode.getFirstPath () [ANode.java, line 107]
                                                                               
For input:
    ANode THIS = new ANode ("0", null);
    String [] RETVAL = THIS.getFirstPath ();

getFirstPath: java.lang.ArrayIndexOutOfBoundsException: 0
    at ANode.getFirstPath () [ANode.java, line 107]
                                                                               
For input:
    ANode THIS = new ANode ("", new ANode[] {});
    String [] RETVAL = THIS.getFirstPath ();


Specification and Regression Errors: done

No errors found.


Summary:

Found 15 errors.

Class Metrics:

Metrics {
    Number of fields: 4
    Cyclomatic Complexity: [0 to 15], average 4.25
    Number of parameters: [0 to 2], average 1.25
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 43 {
            Automatic: 43
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 94.0% [47/50] {
            Multi-condition branch: 93.4% [43/46]
            Method: 100.0% [3/3]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class AreaSelection    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\AreaSelection.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: parent  (OOP.APPF-3)
    at [AreaSelection.java, line 7]

Avoid "public" or package-private instance fields: startChild  (OOP.APPF-3)
    at [AreaSelection.java, line 9]

Avoid "public" or package-private instance fields: startChar  (OOP.APPF-3)
    at [AreaSelection.java, line 11]

Avoid "public" or package-private instance fields: endChild  (OOP.APPF-3)
    at [AreaSelection.java, line 13]

Avoid "public" or package-private instance fields: endChar  (OOP.APPF-3)
    at [AreaSelection.java, line 15]


Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 5 errors.

Class Metrics:

Metrics {
    Number of fields: 5
    Cyclomatic Complexity: [0 to 0], average 0.0
    Number of parameters: [5 to 5], average 5.0
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 2 {
            Automatic: 2
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [1/1] {
            Multi-condition branch: 100.0% [0/0]
            Method: 100.0% [0/0]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class Attribute    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\Attribute.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: value  (OOP.APPF-3)
    at [Attribute.java, line 9]

'getValue()' method should be declared "final".  (OPT.MAF-2)
    at [Attribute.java, line 21]

'setValue()' method should be declared "final".  (OPT.MAF-2)
    at [Attribute.java, line 26]


Uncaught Runtime Exceptions: done


toString: java.lang.NullPointerException
    at XMLAssistant.toStringWithEntities (null) [XMLAssistant.java, line 16]
    at Attribute.toString () [Attribute.java, line 34]
                                                                               
For input:
    Attribute THIS = new Attribute (null, null);
    THIS.toString ();
    Auto-Stub: java.io.PrintStream.println: returns void
        at Attribute.toString () [Attribute.java, line 33]


Specification and Regression Errors: done

No errors found.


Summary:

Found 4 errors.

Class Metrics:

Metrics {
    Number of fields: 1
    Cyclomatic Complexity: [0 to 1], average 0.20
    Number of parameters: [0 to 2], average 0.60
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 21 {
            Automatic: 21
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [7/7] {
            Multi-condition branch: 100.0% [2/2]
            Method: 100.0% [4/4]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class Block    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\Block.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: height  (OOP.APPF-3)
    at [Block.java, line 12]

'getHeight()' method should be declared "final".  (OPT.MAF-2)
    at [Block.java, line 24]

'setHeight()' method should be declared "final".  (OPT.MAF-2)
    at [Block.java, line 29]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Block.java, line 61]


Uncaught Runtime Exceptions: done


cloneTree: java.lang.NullPointerException
    at Block.cloneTree () [Block.java, line 59]
                                                                               
For input:
    Block THIS = new Block (null, null);
    TreeNode RETVAL = THIS.cloneTree ();


Specification and Regression Errors: done

No errors found.


Summary:

Found 5 errors.

Class Metrics:

Metrics {
    Number of fields: 1
    Cyclomatic Complexity: [0 to 2], average 0.60
    Number of parameters: [0 to 2], average 0.80
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 12 {
            Automatic: 12
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 81.8% [9/11] {
            Multi-condition branch: 66.6% [4/6]
            Method: 100.0% [4/4]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class Body    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\Body.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Possible confusion: which "if" does the "else" belong to?  (PB.ADE-2)
    at [Body.java, line 770]

"if else" statement with empty body  (PB.IEB-1)
    at [Body.java, line 803]

"if else" statement with empty body  (PB.IEB-1)
    at [Body.java, line 794]

Don't explicitly 'import java.lang'  (UC.DIL-3)
    at [Body.java, line 4]

Initial capacity is not defined.  (OPT.DIC-3)
    at [Body.java, line 116]

Access "static" member using its class name, not using an object.  (PB.AUO-2)
    at [Body.java, line 193]

Cyclomatic Complexity is too high: 21  (METRICS.TCC-3)
    at [Body.java, line 228]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [Body.java, line 238]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [Body.java, line 333]

Cyclomatic Complexity is too high: 16  (METRICS.TCC-3)
    at [Body.java, line 380]

Cyclomatic Complexity is too high: 31  (METRICS.TCC-3)
    at [Body.java, line 447]

Unused parameter: b  (UC.UP-2)
    at [Body.java, line 642]

Unused parameter: firstLine  (UC.UP-2)
    at [Body.java, line 642]

Unused local variable: line  (UC.AUV-2)
    at [Body.java, line 644]

Unused local variable: col  (UC.AUV-2)
    at [Body.java, line 645]

Cyclomatic Complexity is too high: 11  (METRICS.TCC-3)
    at [Body.java, line 652]

Cyclomatic Complexity is too high: 17  (METRICS.TCC-3)
    at [Body.java, line 753]

Cyclomatic Complexity is too high: 15  (METRICS.TCC-3)
    at [Body.java, line 840]

Class contains too many fields: 65  (METRICS.NOF-3)
    at [Body.java, line 11]


Uncaught Runtime Exceptions: skipped: cannot generate test cases

No errors found.

Specification and Regression Errors: skipped: cannot generate test cases

No errors found.


Summary:

Found 19 errors.

Class Metrics:

Metrics {
    Number of fields: 65
    Cyclomatic Complexity: [0 to 31], average 6.75
    Number of parameters: [0 to 4], average 1.29
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: skipped: cannot generate test cases {
        Number of test cases executed: 0 {
            Automatic: 0
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 0.0% [0/392] {
            Multi-condition branch: 0.0% [0/372]
            Method: 0.0% [0/19]
            Constructor: 0.0% [0/1]
        }
    }
}



       Report for class BodyPanel    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\BodyPanel.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


"class" or "interface" missing '@author' Javadoc tag: BodyPanel  (JAVADOC.MAJDT-3)
    at [BodyPanel.java, line 7]

Avoid "public" or package-private instance fields: lineBar  (OOP.APPF-3)
    at [BodyPanel.java, line 9]

Avoid "public" or package-private instance fields: left  (OOP.APPF-3)
    at [BodyPanel.java, line 11]

Avoid "public" or package-private instance fields: right  (OOP.APPF-3)
    at [BodyPanel.java, line 11]


Uncaught Runtime Exceptions: done


setBody: java.lang.NullPointerException
    at java.awt.Container.add ("Center", null)
    at BodyPanel.setBody (null) [BodyPanel.java, line 28]
                                                                               
For input:
    BodyPanel THIS = new BodyPanel ();
    THIS.setBody (null);


Specification and Regression Errors: done

No errors found.


Summary:

Found 5 errors.

Class Metrics:

Metrics {
    Number of fields: 4
    Cyclomatic Complexity: [0 to 0], average 0.0
    Number of parameters: [0 to 1], average 0.5
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 2 {
            Automatic: 2
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [2/2] {
            Multi-condition branch: 100.0% [0/0]
            Method: 100.0% [1/1]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class ClipboardManager    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\ClipboardManager.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Unused parameter: cb  (UC.UP-2)
    at [ClipboardManager.java, line 24]

Unused parameter: contents  (UC.UP-2)
    at [ClipboardManager.java, line 24]


Uncaught Runtime Exceptions: done


canCut: java.lang.NullPointerException
    at ClipboardManager.canCut (AreaSelection) [ClipboardManager.java, line 56]
                                                                               
For input:
    AreaSelection t1 = new AreaSelection (null, 0, 0, 0, 0);
    ClipboardManager THIS = new ClipboardManager (null);
    boolean RETVAL = THIS.canCut (t1);

canCut: java.lang.NullPointerException
    at TreeManager.canReplace (null, 0, 0, 0, 0, java.util.Vector) [TreeManager.java, line 424]
    at TreeManager.canDelTree (null, 0, 0, 0, 0) [TreeManager.java, line 578]
    at ClipboardManager.canCut (AreaSelection) [ClipboardManager.java, line 56]
                                                                               
For input:
    AreaSelection t1 = new AreaSelection (null, 0, 0, 0, 0);
    TreeManager t0 = new TreeManager ();
    ClipboardManager THIS = new ClipboardManager (t0);
    boolean RETVAL = THIS.canCut (t1);

canCut: java.lang.NullPointerException
    at TreeManager.canReplace (Element, 0, 0, 0, 0, java.util.Vector) [TreeManager.java, line 457]
    at TreeManager.canDelTree (Element, 0, 0, 0, 0) [TreeManager.java, line 578]
    at ClipboardManager.canCut (AreaSelection) [ClipboardManager.java, line 56]
                                                                               
For input:
    Element t2 = new Element (null, null);
    AreaSelection t1 = new AreaSelection (t2, 0, 0, 0, 0);
    TreeManager t0 = new TreeManager ();
    ClipboardManager THIS = new ClipboardManager (t0);
    boolean RETVAL = THIS.canCut (t1);

canCut: java.lang.ArrayIndexOutOfBoundsException: 0
    at TreeManager.canReplace (Element, 1, 0, 0, 0, java.util.Vector) [TreeManager.java, line 429]
    at TreeManager.canDelTree (Element, 1, 0, 0, 0) [TreeManager.java, line 578]
    at ClipboardManager.canCut (AreaSelection) [ClipboardManager.java, line 56]
                                                                               
For input:
    Element t2 = new Element (null, null);
    AreaSelection t1 = new AreaSelection (t2, 1, 0, 0, 0);
    TreeManager t0 = new TreeManager ();
    ClipboardManager THIS = new ClipboardManager (t0);
    boolean RETVAL = THIS.canCut (t1);

canDelete: java.lang.NullPointerException
    at ClipboardManager.canDelete (AreaSelection) [ClipboardManager.java, line 95]
                                                                               
For input:
    AreaSelection t1 = new AreaSelection (null, 0, 0, 0, 0);
    ClipboardManager THIS = new ClipboardManager (null);
    boolean RETVAL = THIS.canDelete (t1);

copy: java.lang.NullPointerException
    at TreeSelection. (AreaSelection) [TreeSelection.java, line 18]
    at ClipboardManager.copy (AreaSelection) [ClipboardManager.java, line 33]
                                                                               
For input:
    AreaSelection t1 = new AreaSelection (null, 0, 0, 0, 0);
    ClipboardManager THIS = new ClipboardManager (null);
    THIS.copy (t1);

cut: java.lang.NullPointerException
    at ClipboardManager.cut (AreaSelection) [ClipboardManager.java, line 46]
                                                                               
For input:
    AreaSelection t1 = new AreaSelection (null, 0, 0, 0, 0);
    ClipboardManager THIS = new ClipboardManager (null);
    THIS.cut (t1);

delete: java.lang.NullPointerException
    at ClipboardManager.delete (AreaSelection) [ClipboardManager.java, line 89]
                                                                               
For input:
    AreaSelection t1 = new AreaSelection (null, 0, 0, 0, 0);
    ClipboardManager THIS = new ClipboardManager (null);
    THIS.delete (t1);


Specification and Regression Errors: done

No errors found.


Summary:

Found 10 errors.

Class Metrics:

Metrics {
    Number of fields: 3
    Cyclomatic Complexity: [0 to 3], average 0.80
    Number of parameters: [1 to 2], average 1.10
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 32 {
            Automatic: 32
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 71.4% [20/28] {
            Multi-condition branch: 55.5% [10/18]
            Method: 100.0% [9/9]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class Communications    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\Communications.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


"for" statement with empty body  (PB.FEB-1)
    at [Communications.java, line 261]

Use the abbreviated assignment operator "+="  (OPT.AAS-3)
    at [Communications.java, line 42]

Use the abbreviated assignment operator "+="  (OPT.AAS-3)
    at [Communications.java, line 78]

Use the abbreviated assignment operator "+="  (OPT.AAS-3)
    at [Communications.java, line 204]

Don't explicitly 'import java.lang'  (UC.DIL-3)
    at [Communications.java, line 4]

Use 'System.arraycopy()' instead of a loop to copy arrays.   (OPT.IRB-1)
    at [Communications.java, line 265]


Uncaught Runtime Exceptions: done


listArticles: java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken ()
    at Communications.listArticles () [Communications.java, line 90]
                                                                               
For input:
    Communications THIS = new Communications ();
    THIS.listArticles ();
    Auto-Stub: java.net.URL.<init>: returns void
        at Communications.setConnection ("listArticles") [Communications.java, line 225]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.net.URL.openConnection: returns java.net.URLConnection
        at Communications.setConnection ("listArticles") [Communications.java, line 226]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.net.URLConnection.setDoInput: returns void
        at Communications.setConnection ("listArticles") [Communications.java, line 227]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.net.URLConnection.setDoOutput: returns void
        at Communications.setConnection ("listArticles") [Communications.java, line 228]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.net.URLConnection.setUseCaches: returns void
        at Communications.setConnection ("listArticles") [Communications.java, line 229]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.net.URLConnection.setRequestProperty: returns void
        at Communications.setConnection ("listArticles") [Communications.java, line 230]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.net.URLConnection.getOutputStream: returns java.io.OutputStream
        at Communications.setConnection ("listArticles") [Communications.java, line 231]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.io.DataOutputStream.<init>: returns void
        at Communications.setConnection ("listArticles") [Communications.java, line 231]
        at Communications.listArticles () [Communications.java, line 74]
    Auto-Stub: java.io.DataOutputStream.writeBytes: returns void
        at Communications.writeCon ("") [Communications.java, line 245]
        at Communications.listArticles () [Communications.java, line 75]
    Auto-Stub: java.io.DataOutputStream.flush: returns void
        at Communications.writeCon ("") [Communications.java, line 246]
        at Communications.listArticles () [Communications.java, line 75]
    Auto-Stub: java.io.FilterOutputStream.close: returns void
        at Communications.writeCon ("") [Communications.java, line 247]
        at Communications.listArticles () [Communications.java, line 75]
    Auto-Stub: java.net.URLConnection.getInputStream: returns java.io.InputStream
        at Communications.listArticles () [Communications.java, line 76]
    Auto-Stub: java.io.InputStreamReader.<init>: returns void
        at Communications.listArticles () [Communications.java, line 76]
    Auto-Stub: java.io.BufferedReader.<init>: returns void
        at Communications.listArticles () [Communications.java, line 76]
    Auto-Stub: java.io.BufferedReader.readLine: returns "000"
        at Communications.listArticles () [Communications.java, line 77]
    Auto-Stub: java.io.BufferedReader.readLine: returns null
        at Communications.listArticles () [Communications.java, line 77]

listDTD: java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken ()
    at Communications.listDTD () [Communications.java, line 54]
                                                                               
For input:
    Communications THIS = new Communications ();
    THIS.listDTD ();
    Auto-Stub: java.net.URL.<init>: returns void
        at Communications.setConnection ("listDTD") [Communications.java, line 225]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.net.URL.openConnection: returns java.net.URLConnection
        at Communications.setConnection ("listDTD") [Communications.java, line 226]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.net.URLConnection.setDoInput: returns void
        at Communications.setConnection ("listDTD") [Communications.java, line 227]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.net.URLConnection.setDoOutput: returns void
        at Communications.setConnection ("listDTD") [Communications.java, line 228]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.net.URLConnection.setUseCaches: returns void
        at Communications.setConnection ("listDTD") [Communications.java, line 229]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.net.URLConnection.setRequestProperty: returns void
        at Communications.setConnection ("listDTD") [Communications.java, line 230]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.net.URLConnection.getOutputStream: returns java.io.OutputStream
        at Communications.setConnection ("listDTD") [Communications.java, line 231]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.io.DataOutputStream.<init>: returns void
        at Communications.setConnection ("listDTD") [Communications.java, line 231]
        at Communications.listDTD () [Communications.java, line 38]
    Auto-Stub: java.io.DataOutputStream.writeBytes: returns void
        at Communications.writeCon ("") [Communications.java, line 245]
        at Communications.listDTD () [Communications.java, line 39]
    Auto-Stub: java.io.DataOutputStream.flush: returns void
        at Communications.writeCon ("") [Communications.java, line 246]
        at Communications.listDTD () [Communications.java, line 39]
    Auto-Stub: java.io.FilterOutputStream.close: returns void
        at Communications.writeCon ("") [Communications.java, line 247]
        at Communications.listDTD () [Communications.java, line 39]
    Auto-Stub: java.net.URLConnection.getInputStream: returns java.io.InputStream
        at Communications.listDTD () [Communications.java, line 40]
    Auto-Stub: java.io.InputStreamReader.<init>: returns void
        at Communications.listDTD () [Communications.java, line 40]
    Auto-Stub: java.io.BufferedReader.<init>: returns void
        at Communications.listDTD () [Communications.java, line 40]
    Auto-Stub: java.io.BufferedReader.readLine: returns "000"
        at Communications.listDTD () [Communications.java, line 41]
    Auto-Stub: java.io.BufferedReader.readLine: returns null
        at Communications.listDTD () [Communications.java, line 41]


Specification and Regression Errors: done

No errors found.


Summary:

Found 8 errors.

Class Metrics:

Metrics {
    Number of fields: 5
    Cyclomatic Complexity: [0 to 5], average 2.0
    Number of parameters: [0 to 1], average 0.60
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 49 {
            Automatic: 49
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 71.4% [35/49] {
            Multi-condition branch: 65.0% [26/40]
            Method: 100.0% [9/9]
            Constructor: 100.0% [0/0]
        }
    }
}



       Report for class CommunicationsException    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\CommunicationsException.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Don't explicitly 'import java.lang'  (UC.DIL-3)
    at [CommunicationsException.java, line 1]


Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 1 error.

Class Metrics:

Metrics {
    Number of fields: 0
    Cyclomatic Complexity: [0 to 0], average 0.0
    Number of parameters: [0 to 1], average 0.5
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 3 {
            Automatic: 3
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [1/1] {
            Multi-condition branch: 100.0% [0/0]
            Method: 100.0% [0/0]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class Element    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\Element.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: attributes  (OOP.APPF-3)
    at [Element.java, line 12]

Avoid "public" or package-private instance fields: children  (OOP.APPF-3)
    at [Element.java, line 15]

Avoid "public" or package-private instance fields: parent  (OOP.APPF-3)
    at [Element.java, line 18]

'getChildren()' method should be declared "final".  (OPT.MAF-2)
    at [Element.java, line 32]

'setChildren()' method should be declared "final".  (OPT.MAF-2)
    at [Element.java, line 37]

'getAttributes()' method should be declared "final".  (OPT.MAF-2)
    at [Element.java, line 42]

'setAttributes()' method should be declared "final".  (OPT.MAF-2)
    at [Element.java, line 47]

'getParent()' method should be declared "final".  (OPT.MAF-2)
    at [Element.java, line 52]

'setParent()' method should be declared "final".  (OPT.MAF-2)
    at [Element.java, line 59]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Element.java, line 73]

Third argument of "for" loop is missing  (MISC.PIF-3)
    at [Element.java, line 79]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Element.java, line 82]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Element.java, line 84]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Element.java, line 86]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [Element.java, line 86]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Element.java, line 113]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Element.java, line 145]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [Element.java, line 182]


Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 18 errors.

Class Metrics:

Metrics {
    Number of fields: 3
    Cyclomatic Complexity: [0 to 7], average 1.53
    Number of parameters: [0 to 2], average 0.76
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 29 {
            Automatic: 29
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 45.4% [25/55] {
            Multi-condition branch: 28.5% [12/42]
            Method: 100.0% [12/12]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class InvalidityException    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\InvalidityException.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done

No errors found.

Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 0 errors.

Class Metrics:

Metrics {
    Number of fields: 0
    Cyclomatic Complexity: [0 to 0], average 0.0
    Number of parameters: [0 to 0], average 0.0
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 1 {
            Automatic: 1
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [1/1] {
            Multi-condition branch: 100.0% [0/0]
            Method: 100.0% [0/0]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class IPTC    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\IPTC.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: ownITPC  (OOP.APPF-3)
    at [IPTC.java, line 9]

Avoid "public" or package-private instance fields: parentIPTC  (OOP.APPF-3)
    at [IPTC.java, line 10]

Avoid "public" or package-private instance fields: iptcString  (OOP.APPF-3)
    at [IPTC.java, line 11]


Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 3 errors.

Class Metrics:

Metrics {
    Number of fields: 3
    Cyclomatic Complexity: [0 to 0], average 0.0
    Number of parameters: [0 to 3], average 1.5
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 2 {
            Automatic: 2
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [1/1] {
            Multi-condition branch: 100.0% [0/0]
            Method: 100.0% [0/0]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class Pair    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\Pair.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


'getName()' method should be declared "final".  (OPT.MAF-2)
    at [Pair.java, line 40]

'getImage()' method should be declared "final".  (OPT.MAF-2)
    at [Pair.java, line 43]


Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 2 errors.

Class Metrics:

Metrics {
    Number of fields: 2
    Cyclomatic Complexity: [0 to 0], average 0.0
    Number of parameters: [0 to 2], average 0.85
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 12 {
            Automatic: 12
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [6/6] {
            Multi-condition branch: 100.0% [0/0]
            Method: 100.0% [5/5]
            Constructor: 100.0% [1/1]
        }
    }
}



       Report for class PCData    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\PCData.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Move the members called 'getText()' together  (CODSTA.OGM-3)
    at [PCData.java, line 49]

Move the members called 'setText()' together  (CODSTA.OGM-3)
    at [PCData.java, line 64]

Move the members called 'getText()' together  (CODSTA.OGM-3)
    at [PCData.java, line 82]

Move the members called 'setText()' together  (CODSTA.OGM-3)
    at [PCData.java, line 94]

Avoid "public" or package-private instance fields: text  (OOP.APPF-3)
    at [PCData.java, line 8]

Avoid "public" or package-private instance fields: parent  (OOP.APPF-3)
    at [PCData.java, line 11]

Avoid "public" or package-private instance fields: name  (OOP.APPF-3)
    at [PCData.java, line 17]

'getParent()' method should be declared "final".  (OPT.MAF-2)
    at [PCData.java, line 132]

'setParent()' method should be declared "final".  (OPT.MAF-2)
    at [PCData.java, line 139]


Uncaught Runtime Exceptions: done


append: java.lang.ArrayIndexOutOfBoundsException: srcOffset + length > src.length
    at java.lang.StringBuffer.append ({}, 7, 7)
    at PCData.append ({}, 7, 7) [PCData.java, line 108]
                                                                               
For input:
    Object t0 = new Object ();
    PCData THIS = new PCData ("", t0);
    THIS.append (new char[] {}, 7, 7);

getText: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
    at java.lang.String.substring (1, 1)
    at PCData.getText (1, 1) [PCData.java, line 55]
                                                                               
For input:
    PCData THIS = new PCData ("", null);
    String RETVAL = THIS.getText (1, 1);

insertChar: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.StringBuffer.charAt (0)
    at PCData.insertChar (' ', 1) [PCData.java, line 124]
                                                                               
For input:
    PCData THIS = new PCData ("", null);
    boolean RETVAL = THIS.insertChar (' ', 1);

setText: java.lang.StringIndexOutOfBoundsException: String index out of range: 8
    at java.lang.String.substring (0, 8)
    at PCData.setText ("", 7) [PCData.java, line 101]
                                                                               
For input:
    Object t0 = new Object ();
    PCData THIS = new PCData ("0", t0);
    THIS.setText ("", 7);

setText: java.lang.StringIndexOutOfBoundsException: String index out of range: 2
    at java.lang.String.substring (0, 2)
    at PCData.setText (null, 1, 1) [PCData.java, line 73]
                                                                               
For input:
    PCData THIS = new PCData ("", null);
    THIS.setText (null, 1, 1);


Specification and Regression Errors: done

No errors found.


Summary:

Found 14 errors.

Class Metrics:

Metrics {
    Number of fields: 4
    Cyclomatic Complexity: [0 to 4], average 0.93
    Number of parameters: [0 to 3], average 1.20
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 60 {
            Automatic: 60
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 91.8% [45/49] {
            Multi-condition branch: 88.2% [30/34]
            Method: 100.0% [13/13]
            Constructor: 100.0% [2/2]
        }
    }
}




       Report for class TreeManager    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\TreeManager.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Possible confusion: which "if" does the "else" belong to?  (PB.ADE-2)
    at [TreeManager.java, line 431]

Possible confusion: which "if" does the "else" belong to?  (PB.ADE-2)
    at [TreeManager.java, line 441]

Possible confusion: which "if" does the "else" belong to?  (PB.ADE-2)
    at [TreeManager.java, line 1371]

Move the members called 'add()' together  (CODSTA.OGM-3)
    at [TreeManager.java, line 375]

Move the members called 'add()' together  (CODSTA.OGM-3)
    at [TreeManager.java, line 391]

Move the members called 'createDTD()' together  (CODSTA.OGM-3)
    at [TreeManager.java, line 1396]

Move the members called 'createTree()' together  (CODSTA.OGM-3)
    at [TreeManager.java, line 1401]

'getRoot()' method should be declared "final".  (OPT.MAF-2)
    at [TreeManager.java, line 1164]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [TreeManager.java, line 13]

Avoid using "static" variables of type: 'Dictionary' or 'Collections': blocks  (GC.STV-3)
    at [TreeManager.java, line 41]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 45]

Method contains too many parameters: 6  (METRICS.TNOP-3)
    at [TreeManager.java, line 98]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 103]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 107]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 115]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 123]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 147]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 177]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 185]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 191]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 218]

Method contains too many parameters: 6  (METRICS.TNOP-3)
    at [TreeManager.java, line 235]

Cyclomatic Complexity is too high: 12  (METRICS.TCC-3)
    at [TreeManager.java, line 235]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 247]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 267]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 293]

Method contains too many parameters: 6  (METRICS.TNOP-3)
    at [TreeManager.java, line 422]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 429]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 438]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 450]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 471]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 474]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 476]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 478]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 502]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 506]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 510]

Use 'System.arraycopy()' instead of a loop to copy arrays.   (OPT.IRB-1)
    at [TreeManager.java, line 518]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 520]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 524]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 526]

Use 'System.arraycopy()' instead of a loop to copy arrays.   (OPT.IRB-1)
    at [TreeManager.java, line 531]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 534]

Method contains too many parameters: 6  (METRICS.TNOP-3)
    at [TreeManager.java, line 543]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 548]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 551]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 561]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 563]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 566]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 629]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 630]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 664]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 673]

Cyclomatic Complexity is too high: 15  (METRICS.TCC-3)
    at [TreeManager.java, line 684]

Loop control variable modified in loop body: n  (PB.FLVA-3)
    at [TreeManager.java, line 729]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 802]

Third argument of "for" loop is missing  (MISC.PIF-3)
    at [TreeManager.java, line 813]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 814]

Unused parameter: publicId  (UC.UP-2)
    at [TreeManager.java, line 827]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 856]

Unused parameter: isSpecified  (UC.UP-2)
    at [TreeManager.java, line 876]

Avoid assignment within an "if" condition.  (PB.ASI-2)
    at [TreeManager.java, line 902]

Avoid assignment within an "if" condition.  (PB.ASI-2)
    at [TreeManager.java, line 907]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1003]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1089]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1102]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 1111]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1113]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 1152]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1226]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1242]

Use 'String' if you don't want to modify a 'StringBuffer': text  (OPT.USC-3)
    at [TreeManager.java, line 1270]

Use 'String' if you don't want to modify a 'StringBuffer': text  (OPT.USC-3)
    at [TreeManager.java, line 1276]

Cyclomatic Complexity is too high: 11  (METRICS.TCC-3)
    at [TreeManager.java, line 1263]

Avoid assignment within an "if" condition.  (PB.ASI-2)
    at [TreeManager.java, line 1268]

Avoid assignment within an "if" condition.  (PB.ASI-2)
    at [TreeManager.java, line 1274]

Avoid assignment within an "if" condition.  (PB.ASI-2)
    at [TreeManager.java, line 1281]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1281]

Third argument of "for" loop is missing  (MISC.PIF-3)
    at [TreeManager.java, line 1284]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1285]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1286]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1309]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1341]

Third argument of "for" loop is missing  (MISC.PIF-3)
    at [TreeManager.java, line 1359]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1360]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1362]

Third argument of "for" loop is missing  (MISC.PIF-3)
    at [TreeManager.java, line 1370]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1371]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1372]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1374]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1378]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1379]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1382]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeManager.java, line 1383]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeManager.java, line 1403]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [TreeManager.java, line 1423]


Uncaught Runtime Exceptions: done


acceptChildren: java.lang.NullPointerException
    at TreeManager.acceptChildren (Element) [TreeManager.java, line 1347]
                                                                               
For input:
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.acceptChildren (t0);

add: java.lang.ArrayIndexOutOfBoundsException: 0
    at TreeManager.canReplace (Element, 1, 0, 1, 0, java.util.Vector) [TreeManager.java, line 429]
    at TreeManager.replace (Element, 1, 0, 1, 0, java.util.Vector) [TreeManager.java, line 99]
    at TreeManager.add (Element, 1, 0, null) [TreeManager.java, line 356]
                                                                               
For input:
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.add (t0, 1, 0, null);

add: java.lang.NullPointerException
    at TreeManager.getValidChildren (Element) [TreeManager.java, line 1299]
    at TreeManager.buildValidElement ("arghhhh!!!!!", null) [TreeManager.java, line 412]
    at TreeManager.add (null, 0, 0, "arghhhh!!!!!") [TreeManager.java, line 339]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.add (null, 0, 0, "arghhhh!!!!!");

add: java.lang.NullPointerException
    at TreeManager.add (Element, null) [TreeManager.java, line 395]
                                                                               
For input:
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.add (t0, null);

add: java.lang.NullPointerException
    at TreeManager.add (Element, null) [TreeManager.java, line 379]
                                                                               
For input:
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.add (t0, null);

canAdd: java.lang.NullPointerException
    at TreeManager.canReplace (Element, 0, 0, 0, 0, java.util.Vector) [TreeManager.java, line 457]
    at TreeManager.canAdd (Element, TreeNode) [TreeManager.java, line 616]
                                                                               
For input:
    TreeNode t1 = new {class_extending TreeNode} ();
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.canAdd (t0, t1);

canDecapsulate: java.lang.NullPointerException
    at TreeManager.canDecapsulate (Element, 0) [TreeManager.java, line 467]
                                                                               
For input:
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.canDecapsulate (t0, 0);

canDivide: java.lang.ClassCastException: java.lang.String cannot be cast to Element
    at TreeManager.canDivide (Block, 0, 0) [TreeManager.java, line 625]
                                                                               
For input:
    Block t0 = new Block (null, "");
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.canDivide (t0, 0, 0);

canDivide: java.lang.NullPointerException
    at TreeManager.canDivide (Block, 0, 0) [TreeManager.java, line 626]
                                                                               
For input:
    Block t0 = new Block (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.canDivide (t0, 0, 0);

canDivide: java.lang.NullPointerException
    at TreeManager.canDivide (Block, 0, 0) [TreeManager.java, line 628]
                                                                               
For input:
    Element t2 = new Element (null, null);
    Block t0 = new Block (null, t2);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.canDivide (t0, 0, 0);

canEncapsulate: java.lang.NullPointerException
    at TreeManager.canEncapsulate (Element, 0, 1, 0, 0, null) [TreeManager.java, line 558]
                                                                               
For input:
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.canEncapsulate (t0, 0, 1, 0, 0, null);

canEncapsulate: java.lang.NullPointerException
    at TreeManager.canEncapsulate (Element, -1, 0, 0, 1, null) [TreeManager.java, line 551]
                                                                               
For input:
    Element t0 = new Element (null, null);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.canEncapsulate (t0, -1, 0, 0, 1, null);

charData: java.lang.NullPointerException
    at TreeManager.charData (null, 0, 0) [TreeManager.java, line 930]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.charData (null, 0, 0);

createDTD: java.lang.NullPointerException
    at java.io.File.getParentFile ()
    at com.wutka.dtd.DTDParser. (java.io.File, false) [DTDParser.java, line 55]
    at TreeManager.createDTD (java.io.File) [TreeManager.java, line 1397]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.createDTD (java.io.File);

createDTD: java.lang.NullPointerException
    at java.io.StringReader.read ()
    at com.wutka.dtd.Scanner.readNextChar () [Scanner.java, line 106]
    at com.wutka.dtd.Scanner.peekChar () [Scanner.java, line 130]
    at com.wutka.dtd.Scanner.read () [Scanner.java, line 161]
    at com.wutka.dtd.Scanner.readNextToken () [Scanner.java, line 212]
    at com.wutka.dtd.Scanner.peek () [Scanner.java, line 83]
    at com.wutka.dtd.DTDParser.parse (false) [DTDParser.java, line 108]
    at com.wutka.dtd.DTDParser.parse () [DTDParser.java, line 94]
    at TreeManager.createDTD (null) [TreeManager.java, line 59]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.createDTD (null);
    Auto-Stub: java.io.StringReader.<init>: returns void
        at TreeManager.createDTD (null) [TreeManager.java, line 58]

decapsulate: java.lang.ClassCastException: java.lang.String cannot be cast to Element
    at TreeManager.decapsulate (PCData) [TreeManager.java, line 207]
                                                                               
For input:
    PCData t0 = new PCData ("", "");
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.decapsulate (t0);

decapsulate: java.lang.ClassCastException: java.lang.String cannot be cast to Element
    at TreeManager.decapsulate (Element) [TreeManager.java, line 210]
                                                                               
For input:
    Element t2 = new Element (null, "");
    PCData t0 = new PCData ("", t2);
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.decapsulate (t0);

decapsulate: java.lang.ClassCastException: TreeNode cannot be cast to Element
    at TreeManager.decapsulate (TreeNode) [TreeManager.java, line 213]
                                                                               
For input:
    TreeNode t0 = new {class_extending TreeNode} ();
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.decapsulate (t0);

endElement: java.lang.NullPointerException
    at TreeManager.endElement (null) [TreeManager.java, line 886]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.endElement (null);

getActiveButtons: java.lang.NullPointerException
    at TreeManager.getActiveButtons (AreaSelection) [TreeManager.java, line 503]
                                                                               
For input:
    AreaSelection t0 = new AreaSelection (null, 0, 0, 0, 0);
    TreeManager THIS = new TreeManager ();
    boolean [] RETVAL = THIS.getActiveButtons (t0);

getActiveButtons: java.lang.NullPointerException
    at TreeManager.getActiveButtons (AreaSelection) [TreeManager.java, line 509]
                                                                               
For input:
    Element t1 = new Element (null, null);
    AreaSelection t0 = new AreaSelection (t1, 0, 0, 0, 0);
    TreeManager THIS = new TreeManager ();
    boolean [] RETVAL = THIS.getActiveButtons (t0);

getActiveButtons: java.lang.NullPointerException
    at TreeManager.getActiveButtons (AreaSelection) [TreeManager.java, line 506]
                                                                               
For input:
    Element t1 = new Element (null, null);
    AreaSelection t0 = new AreaSelection (t1, 0, 1, 0, 0);
    TreeManager THIS = new TreeManager ();
    boolean [] RETVAL = THIS.getActiveButtons (t0);

getDocIDStr: java.lang.NullPointerException
    at TreeManager.getDocIDStr () [TreeManager.java, line 1188]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    String RETVAL = THIS.getDocIDStr ();

getFirstPath: java.lang.NullPointerException
    at TreeManager.getFirstPath (null) [TreeManager.java, line 1394]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    String [] RETVAL = THIS.getFirstPath (null);

isFixed: java.lang.NullPointerException
    at TreeManager.isFixed (null, null) [TreeManager.java, line 647]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    boolean RETVAL = THIS.isFixed (null, null);

printAllFirstPaths: java.lang.NullPointerException
    at TreeManager.printAllFirstPaths () [TreeManager.java, line 1416]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.printAllFirstPaths ();
    Auto-Stub: java.io.PrintStream.println: returns void
        at TreeManager.printAllFirstPaths () [TreeManager.java, line 1415]

setDocID: java.lang.NullPointerException
    at TreeManager.setDocID ("") [TreeManager.java, line 1193]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setDocID ("");

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 0
    at TreeManager.setHeaderValues ({}) [TreeManager.java, line 982]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {});

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 1
    at TreeManager.setHeaderValues ({null}) [TreeManager.java, line 985]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null});

setHeaderValues: java.lang.NullPointerException
    at TreeManager.setValue (null, {"head", "title", "#PCDATA"}, 0, "") [TreeManager.java, line 1158]
    at TreeManager.setValue ({"head", "title", "#PCDATA"}, "") [TreeManager.java, line 1143]
    at TreeManager.setHeaderValues ({""}) [TreeManager.java, line 983]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {""});

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 3
    at TreeManager.setHeaderValues ({null, null}) [TreeManager.java, line 988]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null, null});

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 4
    at TreeManager.setHeaderValues ({null, null, null, null}) [TreeManager.java, line 991]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null, null, null, null});

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 5
    at TreeManager.setHeaderValues ({null, null, null, null, null}) [TreeManager.java, line 994]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null, null, null, null, null});

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 6
    at TreeManager.setHeaderValues ({null, null, null, null, null, null}) [TreeManager.java, line 1008]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null, null, null, null, null, null});

setHeaderValues: java.lang.NullPointerException
    at TreeManager.getValidAttributes ("keyword") [TreeManager.java, line 1317]
    at TreeManager.setHeaderValues ({null, null, null, null, null, ""}) [TreeManager.java, line 1000]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null, null, null, null, null, ""});

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 7
    at TreeManager.setHeaderValues ({null, null, null, null, null, null, null}) [TreeManager.java, line 1011]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null, null, null, null, null, null, null});

setHeaderValues: java.lang.ArrayIndexOutOfBoundsException: 8
    at TreeManager.setHeaderValues ({null, null, null, null, null, null, null, null}) [TreeManager.java, line 1014]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.setHeaderValues (new String[] {null, null, null, null, null, null, null, null});

startElement: java.lang.NullPointerException
    at TreeManager.startElement (null) [TreeManager.java, line 840]
                                                                               
For input:
    TreeManager THIS = new TreeManager ();
    THIS.startElement (null);


Specification and Regression Errors: done

No errors found.


Summary:

Found 134 errors.

Class Metrics:

Metrics {
    Number of fields: 10
    Cyclomatic Complexity: [0 to 15], average 2.46
    Number of parameters: [0 to 6], average 1.76
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 142 {
            Automatic: 142
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 30.2% [157/519] {
            Multi-condition branch: 20.7% [92/444]
            Method: 86.6% [65/75]
            Constructor: 100.0% [0/0]
        }
    }
}



       Report for class TreeNode    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\TreeNode.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: name  (OOP.APPF-3)
    at [TreeNode.java, line 8]

'getName()' method should be declared "final".  (OPT.MAF-2)
    at [TreeNode.java, line 13]


Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 2 errors.

Class Metrics:

Metrics {
    Number of fields: 1
    Cyclomatic Complexity: [0 to 0], average 0.0
    Number of parameters: [0 to 0], average 0.0
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 3 {
            Automatic: 3
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 100.0% [3/3] {
            Multi-condition branch: 100.0% [0/0]
            Method: 100.0% [3/3]
            Constructor: 100.0% [0/0]
        }
    }
}



       Report for class TreeSelection    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\TreeSelection.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Avoid "public" or package-private instance fields: contents  (OOP.APPF-3)
    at [TreeSelection.java, line 11]

Initial capacity is not defined.  (OPT.DIC-3)
    at [TreeSelection.java, line 22]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeSelection.java, line 29]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeSelection.java, line 58]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [TreeSelection.java, line 73]


Uncaught Runtime Exceptions: done


<init>: java.lang.NullPointerException
    at TreeSelection. (AreaSelection) [TreeSelection.java, line 18]
                                                                               
For input:
    AreaSelection t0 = new AreaSelection (null, 0, 0, 0, 0);
    THIS = new TreeSelection (t0);


Specification and Regression Errors: done

No errors found.


Summary:

Found 6 errors.

Class Metrics:

Metrics {
    Number of fields: 2
    Cyclomatic Complexity: [0 to 6], average 1.66
    Number of parameters: [0 to 1], average 0.66
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 17 {
            Automatic: 17
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 42.8% [12/28] {
            Multi-condition branch: 27.2% [6/22]
            Method: 100.0% [4/4]
            Constructor: 100.0% [2/2]
        }
    }
}



       Report for class UIManager$ListSelectionHandler    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\UIManager$ListSelectionHandler.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:true,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done

No errors found.

Uncaught Runtime Exceptions: skipped: non-public class

No errors found.

Specification and Regression Errors: skipped: non-public class

No errors found.


Summary:

Found 0 errors.

Class Metrics:

Metrics {
    Number of fields: 0
    Cyclomatic Complexity: [2 to 2], average 2.0
    Number of parameters: [1 to 1], average 1.0
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: skipped: non-public class {
        Number of test cases executed: 0 {
            Automatic: 0
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage:
    }
}



       Report for class UIManager    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\UIManager.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Name of non-"static" method 'Save' does not match user specified regular expression '^[a-z]'  (NAMING.NM-3)
    at [UIManager.java, line 879]

Unused "private" method: 'UIManager()'  (UC.PM-2)
    at [UIManager.java, line 313]

Unused "private" method: 'clearButtonList()'  (UC.PM-2)
    at [UIManager.java, line 2290]

Unused "private" field: br_normal  (UC.PF-2)
    at [UIManager.java, line 269]

Unused "private" field: br_pressed  (UC.PF-2)
    at [UIManager.java, line 270]

Unused "private" field: br_notselectable  (UC.PF-2)
    at [UIManager.java, line 271]

Remove unnecessary comparison with "true".  (OPT.UEQ-3)
    at [UIManager.java, line 884]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [UIManager.java, line 929]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [UIManager.java, line 1985]

Cyclomatic Complexity is too high: 29  (METRICS.TCC-3)
    at [UIManager.java, line 2341]

Use 'System.arraycopy()' instead of a loop to copy arrays.   (OPT.IRB-1)
    at [UIManager.java, line 2365]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [UIManager.java, line 2457]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [UIManager.java, line 2458]

Unused local variable: contentPane  (UC.AUV-2)
    at [UIManager.java, line 2756]

Use 'System.arraycopy()' instead of a loop to copy arrays.   (OPT.IRB-1)
    at [UIManager.java, line 2768]

Non-portable newline character used '\n'  (PORT.LNSP-2)
    at [UIManager.java, line 3260]

Method 'jComboBox3_actionPerformed()' should be declared "private"  (GLOBAL.DPAM-1)
    at [UIManager.java, line 3579]

Class contains too many fields: 200  (METRICS.NOF-3)
    at [UIManager.java, line 44]


Uncaught Runtime Exceptions: incomplete: timeout

No errors found.

Specification and Regression Errors: incomplete: timeout

No errors found.


Summary:

Found 18 errors.

Class Metrics:

Metrics {
    Number of fields: 200
    Cyclomatic Complexity: [0 to 29], average 1.17
    Number of parameters: [0 to 3], average 0.73
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: incomplete: timeout {
        Number of test cases executed: 1 {
            Automatic: 1
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 6.1% [18/293] {
            Multi-condition branch: 3.3% [7/211]
            Method: 12.5% [10/80]
            Constructor: 50.0% [1/2]
        }
    }
}

       Report for class XMLAssistant    top


Parameters used: (Jtest 3.31)
Class Test Parameters: D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\ctp\XMLAssistant.ctp {
    Static Analysis {
        Perform Static Analysis: inherit (true)
        Rules
        Suppressed Messages
    }
    Dynamic Analysis {
        Perform Dynamic Analysis: inherit (true)
        Test Case Generation {
            Automatic {
                Test calling sequences up to length: (1)
                Test Methods {public:true,protected:true,package:false,private:false}
                Restricted Inputs {
                }
            }
            [0] User Defined
            [0] Common
        }
        Test Case Execution {
            Execute Automatic: inherit (true)
            Execute User Defined: inherit (true)
            Stubs {
                Options for Automatic Test Cases {
                    Use Automatic Stubs (white-box stubs): inherit (true)
                    Use User Defined Stubs: inherit (false)
                }
                Options for User Defined Test Cases {
                    Use User Defined Stubs: inherit (true)
                }
                Stubs Class: $DEFAULT
            }
            Pre-filtering Suppression Categories {
                Exceptions In Throws Clause: inherit (suppressed)
                Direct IllegalArgumentExceptions: inherit (suppressed)
                Explicitly Thrown Exceptions: inherit (suppressed)
                Exceptions Caught By Empty Catch: inherit (suppressed)
                Direct NullPointerExceptions: inherit (suppressed)
            }
        }
        Test Case Evaluation {
            Report Uncaught Runtime Exceptions: inherit (true)
            Perform Automatic Regression Testing: inherit (true)
        }
    }
    Common Parameters {
        Directories {
            Working Directory: $PARENT (D:\PROGRA~1\ParaSoft\jtest\bin)
            Results: $PARENT (D:\Documents and Settings\harrit\My Documents\OhTu\koodit\Testaus\jtest\JouTo\r)
        }
        java/javac-like Parameters {
            -classpath: $PARENT ()
            -cp: D:\Java;$PARENT (D:\Java;)
            System Properties: $PARENT ()
        }
        Source Path: $PARENT ()
    }
}


ERRORS FOUND:

Static Analysis: done


Unused "private" method: 'XMLAssistant()'  (UC.PM-2)
    at [XMLAssistant.java, line 8]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 20]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 21]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 22]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 23]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 24]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 25]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 58]

Calling "synchronized" method inside a loop.  (OPT.SYN-3)
    at [XMLAssistant.java, line 78]


Uncaught Runtime Exceptions: done

No errors found.

Specification and Regression Errors: done

No errors found.


Summary:

Found 9 errors.

Class Metrics:

Metrics {
    Number of fields: 0
    Cyclomatic Complexity: [0 to 7], average 4.0
    Number of parameters: [0 to 1], average 0.75
}

Test Progress:

Test Progress {
    Static Analysis: done {
        Number of rules analyzed: 116
    }
    Dynamic Analysis: done {
        Number of test cases executed: 15 {
            Automatic: 15
            User Defined: 0
        }
        Number of outcome comparisons: 0
        Total Coverage: 57.5% [19/33] {
            Multi-condition branch: 53.3% [16/30]
            Method: 100.0% [3/3]
            Constructor: 100.0% [0/0]
        }
    }
}


Report generated on: 11.4.2001 0:31
Jtest version: 3.31, build 29.8.2000 11:45