Resource Standard Metrics for C, C++ and Java Visual Metrics Version 6.01 License Type: Shareware Evaluation License Licensed To : Shareware End User - Distribute Freely License No. : SW1380 License Date: Sat Dec 05 12:31:28 1998 (C) 2001 M Squared Technologies Run Date: Fri Jun 22 19:32:18 2001 ________________________________________________________________________ ~~ Function Metrics ~~ ~~ Class/Struct Metrics ~~ ~~ Complexity Analysis ~~ ~~ Quality Analysis ~~ ~~ Memory Allocation/De-allocation Metrics ~~ File: Contact.java Date: Fri Jun 22 19:32:18 2001 File Size: 1566 Bytes ________________________________________________________________________ Package Begin: rolodex -------------------------- Class Begin Line: 9 ------------------------- Class: rolodex.Contact ------------------------ Function Begin Line: 27 ----------------------- Function: rolodex.Contact.Contact NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Contact.Contact Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 29 ------------------------ ------------------------ Function Begin Line: 32 ----------------------- Function: rolodex.Contact.Contact NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Contact.Contact Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 34 ------------------------ ------------------------ Function Begin Line: 37 ----------------------- Function: rolodex.Contact.setName NOTICE #38: Line 40, Exception handling 'try' - 'catch' has been identified. Exception handling can be a form indirect logic control similar to a goto. The use of exception handling should be driven by the design and not casually imposed upon the code. NOTICE #44: Line 50, The keyword 'break' has been identified outside a 'switch' logic control structure. The use of 'break' interrupts the linear logic flow and can create source code which is difficult to maintain. NOTICE #44: Line 58, The keyword 'break' has been identified outside a 'switch' logic control structure. The use of 'break' interrupts the linear logic flow and can create source code which is difficult to maintain. NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Contact.setName Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 LOC 26 eLOC 14 lLOC 9 Comment 0 Lines 26 ------------------------- Function End Line: 62 ------------------------ ------------------------ Function Begin Line: 65 ----------------------- Function: rolodex.Contact.getName NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Contact.getName Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 67 ------------------------ ------------------------ Function Begin Line: 70 ----------------------- Function: rolodex.Contact.show NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Contact.show Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 72 ------------------------ ------------------------ Function Begin Line: 75 ----------------------- Function: rolodex.Contact.toString NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Contact.toString Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 77 ------------------------ ------------------------ Function Begin Line: 80 ----------------------- Function: rolodex.Contact.main NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Contact.main Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 ------------------------- Function End Line: 83 ------------------------ NOTICE #31: Class comments, 0.0% are less than 1%. Class: rolodex.Contact Attributes Publ 0 Prot 0 Private 2 Total 2 Methods Publ 7 Prot 0 Private 0 Total 7 LOC 68 eLOC 36 lLOC 21 Comment 0 Lines 75 -------------------------- Class End Line: 84 -------------------------- Package End: rolodex NOTICE #20: File comment line percentage, 0.0% is less than 1.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 74 eLOC 42 lLOC 26 Comment 0 Lines 84 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count ...: 7 Total LOC Lines LOC ...: 45 Total eLOC Lines ......: 21 Total lLOC Lines ......: 16 Total Function Params .: 2 Total Function Return .: 7 Total Cyclo Complexity : 10 Total Function Complex.: 19 ------ ----- ----- ------ ------ ----- Max Function LOC ......: 26 Average Function LOC ..: 6.43 Max Function eLOC .....: 14 Average Function eLOC .: 3.00 Max Function lLOC .....: 9 Average Function lLOC .: 2.29 ------ ----- ----- ------ ------ ----- Max Function Parameters: 1 Avg Function Parameters: 0.29 Max Function Returns ..: 1 Avg Function Returns ..: 1.00 Max Interface Complex. : 2 Avg Interface Complex. : 1.29 Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 1.43 Max Total Complexity ..: 5 Avg Total Complexity ..: 2.71 ------------------------------------------------------------------------ ~~ Memory Allocation/De-allocation Summary ~~ Memory alloc count ....: 0 Memory free count .....: 0 Memory new count ......: 4 Memory delete count ...: 0 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 2 Lines of Code (LOC) .: 74 if, else ............: 3, 1 Lines of just { or } : 32 goto, return ........: 0, 2 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 42 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 26 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 10 namespace, package ..: 0, 1 Comment Lines .......: 0 func, virtual, inline: 7, 0, 0 Total Logical Lines .: 84 Memory alloc, free ..: 0, 0 Total Physical Lines : 84 Memory new, delete ..: 4, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 5 Paren Count (,) .....: 29, 29 #include, import ....: 0, 4 Brace Count {,} .....: 16, 16 #define, typedef ....: 0, 0 Bracket Count [,] ...: 1, 1 const, enum .........: 0, 0 Chars/NBLine, Notices: 13, 12 do, while ...........: 0, 1 Code, eCode Lines ...: 88.1%, 50.0% switch, default .....: 0, 0 Comment, Blank Lines : 0.0%, 11.9% for .................: 0 Characters, Spaces ..: 69.4%, 30.6% ________________________________________________________________________ End of File: Contact.java File: Rolodex.java Date: Fri Jun 22 19:32:18 2001 File Size: 3809 Bytes ________________________________________________________________________ Package Begin: rolodex ------------------------- Class Begin Line: 12 ------------------------- Class: rolodex.Rolodex ------------------------ Function Begin Line: 17 ----------------------- Function: rolodex.Rolodex.Rolodex NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Rolodex.Rolodex Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 19 ------------------------ ------------------------ Function Begin Line: 22 ----------------------- Function: rolodex.Rolodex.open NOTICE #38: Line 34, Exception handling 'try' - 'catch' has been identified. Exception handling can be a form indirect logic control similar to a goto. The use of exception handling should be driven by the design and not casually imposed upon the code. NOTICE #38: Line 51, Exception handling 'try' - 'catch' has been identified. Exception handling can be a form indirect logic control similar to a goto. The use of exception handling should be driven by the design and not casually imposed upon the code. NOTICE #38: Line 62, Exception handling 'try' - 'catch' has been identified. Exception handling can be a form indirect logic control similar to a goto. The use of exception handling should be driven by the design and not casually imposed upon the code. Function: rolodex.Rolodex.open Complexity Param 1 Return 5 Cyclo Vg 4 Total 10 LOC 51 eLOC 29 lLOC 19 Comment 2 Lines 58 ------------------------- Function End Line: 79 ------------------------ ------------------------ Function Begin Line: 82 ----------------------- Function: rolodex.Rolodex.close NOTICE #38: Line 89, Exception handling 'try' - 'catch' has been identified. Exception handling can be a form indirect logic control similar to a goto. The use of exception handling should be driven by the design and not casually imposed upon the code. NOTICE #38: Line 100, Exception handling 'try' - 'catch' has been identified. Exception handling can be a form indirect logic control similar to a goto. The use of exception handling should be driven by the design and not casually imposed upon the code. NOTICE #38: Line 110, Exception handling 'try' - 'catch' has been identified. Exception handling can be a form indirect logic control similar to a goto. The use of exception handling should be driven by the design and not casually imposed upon the code. Function: rolodex.Rolodex.close Complexity Param 1 Return 4 Cyclo Vg 1 Total 6 LOC 35 eLOC 21 lLOC 15 Comment 1 Lines 40 ------------------------ Function End Line: 121 ------------------------ ----------------------- Function Begin Line: 124 ----------------------- Function: rolodex.Rolodex.add NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Rolodex.add Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------ Function End Line: 126 ------------------------ ----------------------- Function Begin Line: 129 ----------------------- Function: rolodex.Rolodex.addContacts NOTICE #44: Line 136, The keyword 'break' has been identified outside a 'switch' logic control structure. The use of 'break' interrupts the linear logic flow and can create source code which is difficult to maintain. NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Rolodex.addContacts Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 LOC 17 eLOC 9 lLOC 6 Comment 0 Lines 17 ------------------------ Function End Line: 145 ------------------------ ----------------------- Function Begin Line: 148 ----------------------- Function: rolodex.Rolodex.show NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Rolodex.show Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 LOC 6 eLOC 2 lLOC 2 Comment 0 Lines 6 ------------------------ Function End Line: 153 ------------------------ ----------------------- Function Begin Line: 156 ----------------------- Function: rolodex.Rolodex.main NOTICE #17: Function comments, 0.0% are less than 1%. Function: rolodex.Rolodex.main Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 LOC 20 eLOC 12 lLOC 9 Comment 0 Lines 23 ------------------------ Function End Line: 178 ------------------------ Class: rolodex.Rolodex Attributes Publ 0 Prot 0 Private 1 Total 1 Methods Publ 7 Prot 0 Private 0 Total 7 LOC 145 eLOC 83 lLOC 54 Comment 3 Lines 167 -------------------------- Class End Line: 179 ------------------------- Package End: rolodex ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 154 eLOC 92 lLOC 62 Comment 3 Lines 181 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count ...: 7 Total LOC Lines LOC ...: 135 Total eLOC Lines ......: 75 Total lLOC Lines ......: 53 Total Function Params .: 4 Total Function Return .: 14 Total Cyclo Complexity : 15 Total Function Complex.: 33 ------ ----- ----- ------ ------ ----- Max Function LOC ......: 51 Average Function LOC ..: 19.29 Max Function eLOC .....: 29 Average Function eLOC .: 10.71 Max Function lLOC .....: 19 Average Function lLOC .: 7.57 ------ ----- ----- ------ ------ ----- Max Function Parameters: 1 Avg Function Parameters: 0.57 Max Function Returns ..: 5 Avg Function Returns ..: 2.00 Max Interface Complex. : 6 Avg Interface Complex. : 2.57 Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.14 Max Total Complexity ..: 10 Avg Total Complexity ..: 4.71 ------------------------------------------------------------------------ ~~ Memory Allocation/De-allocation Summary ~~ Memory alloc count ....: 0 Memory free count .....: 0 Memory new count ......: 9 Memory delete count ...: 0 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 1 Lines of Code (LOC) .: 154 if, else ............: 6, 3 Lines of just { or } : 62 goto, return ........: 0, 10 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 92 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 62 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 24 namespace, package ..: 0, 0 Comment Lines .......: 3 func, virtual, inline: 7, 0, 0 Total Logical Lines .: 181 Memory alloc, free ..: 0, 0 Total Physical Lines : 181 Memory new, delete ..: 9, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 16 Paren Count (,) .....: 76, 76 #include, import ....: 0, 7 Brace Count {,} .....: 31, 31 #define, typedef ....: 0, 0 Bracket Count [,] ...: 3, 3 const, enum .........: 0, 0 Chars/NBLine, Notices: 15, 12 do, while ...........: 0, 1 Code, eCode Lines ...: 85.1%, 50.8% switch, default .....: 0, 0 Comment, Blank Lines : 1.7%, 13.3% for .................: 1 Characters, Spaces ..: 68.7%, 31.3% ________________________________________________________________________ End of File: Rolodex.java ~~ Total Metrics For 2 Files ~~ ------------------------------------------------------------------------ ~~ Total Project Summary ~~ LOC 228 eLOC 134 lLOC 88 Comment 3 Lines 265 ------------------------------------------------------------------------ ~~ Project Functional Metrics ~~ Sorted By Cyclomatic Complexity Function: rolodex.Contact.setName Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 LOC 26 eLOC 14 lLOC 9 Comment 0 Lines 26 Function: rolodex.Rolodex.open Complexity Param 1 Return 5 Cyclo Vg 4 Total 10 LOC 51 eLOC 29 lLOC 19 Comment 2 Lines 58 Function: rolodex.Rolodex.addContacts Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 LOC 17 eLOC 9 lLOC 6 Comment 0 Lines 17 Function: rolodex.Rolodex.main Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 LOC 20 eLOC 12 lLOC 9 Comment 0 Lines 23 Function: rolodex.Rolodex.show Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 LOC 6 eLOC 2 lLOC 2 Comment 0 Lines 6 Function: rolodex.Contact.Contact Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.Contact Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.getName Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.show Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.toString Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.main Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function: rolodex.Rolodex.Rolodex Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Rolodex.close Complexity Param 1 Return 4 Cyclo Vg 1 Total 6 LOC 35 eLOC 21 lLOC 15 Comment 1 Lines 40 Function: rolodex.Rolodex.add Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Total: Functions LOC 180 eLOC 96 lLOC 69 InCmp 27 CycloCmp 25 ------------------------------------------------------------------------ ~~ Project Functional Analysis ~~ Total Functions .......: 14 Total Physical Lines ..: 195 Total LOC .............: 180 Total eLOC ............: 96 Total lLOC ............: 69 Total Cyclomatic Comp. : 25 Total Interface Comp. .: 27 Total Parameters ......: 6 Total Return Points ...: 21 Total Comment Lines ...: 3 Total Blank Lines .....: 12 ------ ----- ----- ------ ------ ----- Avg Physical Lines ....: 13.93 Avg LOC ...............: 12.86 Avg eLOC ..............: 6.86 Avg lLOC ..............: 4.93 Avg Cyclomatic Comp. ..: 1.79 Avg Interface Comp. ...: 1.93 Avg Parameters ........: 0.43 Avg Return Points .....: 1.50 Avg Comment Lines .....: 0.21 ------ ----- ----- ------ ------ ----- Max LOC ...............: 51 Max eLOC ..............: 29 Max lLOC ..............: 19 Max Cyclomatic Comp. ..: 4 Max Interface Comp. ...: 6 Max Parameters ........: 1 Max Return Points .....: 5 Max Comment Lines .....: 2 Max Total Lines .......: 58 ------ ----- ----- ------ ------ ----- Min LOC ...............: 3 Min eLOC ..............: 1 Min lLOC ..............: 1 Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1 Min Parameters ........: 0 Min Return Points .....: 1 Min Comment Lines .....: 0 Min Total Lines .......: 3 ------------------------------------------------------------------------ ~~ Project Class/Struct Metrics ~~ Sorted By Cyclomatic Complexity Class: rolodex.Rolodex Attributes Publ 0 Prot 0 Private 1 Total 1 Methods Publ 7 Prot 0 Private 0 Total 7 Complexity Param 4 Return 14 Cyclo Vg 15 Total 33 LOC 145 eLOC 83 lLOC 54 Comment 3 Lines 167 Class: rolodex.Contact Attributes Publ 0 Prot 0 Private 2 Total 2 Methods Publ 7 Prot 0 Private 0 Total 7 Complexity Param 2 Return 7 Cyclo Vg 10 Total 19 LOC 68 eLOC 36 lLOC 21 Comment 0 Lines 75 Total: All Classes/Structs Attributes Publ 0 Prot 0 Private 3 Total 3 Methods Publ 14 Prot 0 Private 0 Total 14 Complexity Param 6 Return 21 Cyclo Vg 25 Total 52 LOC 213 eLOC 119 lLOC 75 Comment 3 Lines 242 ------------------------------------------------------------------------ ~~ Project Class/Struct Analysis ~~ Total Classes/Structs .: 2 Total Methods .........: 14 Total Public Methods ..: 14 Total Public Attributes: 0 Total Protected Methods: 0 Total Protected Attrib.: 0 Total Private Methods .: 0 Total Private Attrib. .: 3 Total Physical Lines ..: 242 Total LOC .............: 213 Total eLOC ............: 119 Total lLOC ............: 75 Total Cyclomatic Comp. : 25 Total Interface Comp. .: 27 Total Parameters ......: 6 Total Return Points ...: 21 Total Comment Lines ...: 3 Total Blank Lines .....: 28 ------ ----- ----- ------ ------ ----- Avg Physical Lines ....: 121.00 Avg Methods ...........: 7.00 Avg Public Methods ....: 7.00 Avg Public Attributes .: 0.00 Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 0.00 Avg Private Methods ...: 0.00 Avg Private Attributes : 1.50 Avg LOC ...............: 106.50 Avg eLOC ..............: 59.50 Avg lLOC ..............: 37.50 Avg Cyclomatic Comp. ..: 12.50 Avg Interface Comp. ...: 13.50 Avg Parameters ........: 3.00 Avg Return Points .....: 10.50 Avg Comment Lines .....: 1.50 ------ ----- ----- ------ ------ ----- Max Physical Lines ....: 167 Max Methods ...........: 7 Max Public Methods ....: 7 Max Public Attributes .: 0 Max Protected Methods .: 0 Max Protected Attrib. .: 0 Max Private Methods ...: 0 Max Private Attributes : 2 Max LOC ...............: 145 Max eLOC ..............: 83 Max lLOC ..............: 54 Max Cyclomatic Comp. ..: 15 Max Interface Comp. ...: 18 Max Parameters ........: 4 Max Return Points .....: 14 Max Comment Lines .....: 3 ------ ----- ----- ------ ------ ----- Min Physical Lines ....: 75 Min Methods ...........: 7 Min Public Methods ....: 7 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Attrib. .: 0 Min Private Methods ...: 0 Min Private Attributes : 1 Min LOC ...............: 68 Min eLOC ..............: 36 Min lLOC ..............: 21 Min Cyclomatic Comp. ..: 10 Min Interface Comp. ...: 9 Min Parameters ........: 2 Min Return Points .....: 7 Min Comment Lines .....: 0 ------------------------------------------------------------------------ ~~ Project Namespace/Package Metrics ~~ Sorted By Cyclomatic Complexity Namespace/Package: rolodex Total Classses 2 Total Functions 14 Avg Func/Class 7.00 Attributes Publ 0 Prot 0 Private 3 Total 3 Methods Publ 14 Prot 0 Private 0 Total 14 Complexity Param 6 Return 21 Cyclo Vg 25 Total 52 LOC 213 eLOC 119 lLOC 75 Comment 3 Lines 242 Total: All Namespaces/Packages Total Classses 2 Total Functions 14 Avg Func/Class 7.00 Attributes Publ 0 Prot 0 Private 3 Total 3 Methods Publ 14 Prot 0 Private 0 Total 14 Complexity Param 6 Return 21 Cyclo Vg 25 Total 52 LOC 213 eLOC 119 lLOC 75 Comment 3 Lines 242 ------------------------------------------------------------------------ ~~ Project Namespace/Package Analysis ~~ Total Namespace/Package: 1 Total Classes/Structs .: 2 Total Methods .........: 14 Total Public Methods ..: 14 Total Public Attributes: 0 Total Protected Methods: 0 Total Protected Attrib.: 0 Total Private Methods .: 0 Total Private Attrib. .: 3 Total Physical Lines ..: 242 Total LOC .............: 213 Total eLOC ............: 119 Total lLOC ............: 75 Total Cyclomatic Comp. : 25 Total Interface Comp. .: 27 Total Parameters ......: 6 Total Return Points ...: 21 Total Comment Lines ...: 3 Total Blank Lines .....: 28 ------ ----- ----- ------ ------ ----- Avg Classes/Structs ...: 2.00 Avg Methods ...........: 14.00 Avg Public Methods ....: 14.00 Avg Public Attributes .: 0.00 Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 0.00 Avg Private Methods ...: 0.00 Avg Private Attributes : 3.00 Avg LOC ...............: 213.00 Avg eLOC ..............: 119.00 Avg lLOC ..............: 75.00 Avg Cyclomatic Comp. ..: 25.00 Avg Interface Comp. ...: 27.00 Avg Parameters ........: 6.00 Avg Return Points .....: 21.00 Avg Comment Lines .....: 3.00 ------ ----- ----- ------ ------ ----- Max Classes/Struct ....: 2 Max Methods ...........: 14 Max Public Methods ....: 14 Max Public Attributes .: 0 Max Protected Methods .: 0 Max Protected Attrib. .: 0 Max Private Methods ...: 0 Max Private Attributes : 3 Max LOC ...............: 213 Max eLOC ..............: 119 Max lLOC ..............: 75 Max Cyclomatic Comp. ..: 25 Max Interface Comp. ...: 27 Max Parameters ........: 6 Max Return Points .....: 21 Max Comment Lines .....: 3 ------ ----- ----- ------ ------ ----- Min Classes/Structs ...: 2 Min Methods ...........: 14 Min Public Methods ....: 14 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Attrib. .: 0 Min Private Methods ...: 0 Min Private Attributes : 3 Min LOC ...............: 213 Min eLOC ..............: 119 Min lLOC ..............: 75 Min Cyclomatic Comp. ..: 25 Min Interface Comp. ...: 27 Min Parameters ........: 6 Min Return Points .....: 21 Min Comment Lines .....: 3 ------------------------------------------------------------------------ ~~ Project Quality Profile ~~ Type Count Percent Quality Notice ________________________________________________________________________ 17 12 50.00 Function comment content less than 1.0% 20 1 4.17 File comment content less 1.0% 31 1 4.17 Class/Struct comments are less than 1.0% 38 7 29.17 Exception Handling 'try'- 'catch' has been identified 44 3 12.50 Keyword 'break' identified outside a 'switch' structure ________________________________________________________________________ 24 100.00 Total Quality Notices ~~ Quality Notice Density ~~ Basis: 1000 (K) Quality Notices/K LOC = 105.3 ( 10.53%) Quality Notices/K eLOC = 179.1 ( 17.91%) Quality Notices/K lLOC = 272.7 ( 27.27%) ------------------------------------------------------------------------ ~~ Project Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 3 Lines of Code (LOC) .: 228 if, else ............: 9, 4 Lines of just { or } : 94 goto, return ........: 0, 12 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 134 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 88 class, interface ....: 2, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 34 namespace, package ..: 0, 1 Comment Lines .......: 3 func, virtual, inline: 14, 0, 0 Total Logical Lines .: 265 Memory alloc, free ..: 0, 0 Total Physical Lines : 265 Memory new, delete ..: 13, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 21 Paren Count (,) .....: 105, 105 #include, import ....: 0, 11 Brace Count {,} .....: 47, 47 #define, typedef ....: 0, 0 Bracket Count [,] ...: 4, 4 const, enum .........: 0, 0 Chars/NBLine, Notices: 14, 24 do, while ...........: 0, 2 Code, eCode Lines ...: 86.0%, 50.6% switch, default .....: 0, 0 Comment, Blank Lines : 1.1%, 12.8% for .................: 1 Characters, Spaces ..: 68.9%, 31.1% ------------------------------------------------------------------------ ~~ Memory Allocation/De-allocation Summary ~~ Memory alloc count ....: 0 Memory free count .....: 0 Memory new count ......: 13 Memory delete count ...: 0 ------------------------------------------------------------------------ ~~ Estimation Analysis ~~ Functional Basis Total Function Count ..: 14 Total Function LOC ....: 180 Total Function eLOC ...: 96 Total Function lLOC ...: 69 Total Function Comments: 3 Total Func. Parameters : 6 Total Function Returns : 21 Total Cylco. Complexity: 25 Total Function Complex.: 52 LOC Estimation Factors Lines of Code, LOC, per Function ...........................: 12.86 Lines of Code, LOC, per Function Input Parameter ...........: 30.00 Lines of Code, LOC, per Function Return State ..............: 8.57 LOC per Function Interface Complexity (Parameters + Return) : 6.67 LOC per Function Cyclomatic Complexity .....................: 7.20 LOC per Function Complexity (Cyclomatic+Interface Complex.) : 3.46 eLOC Estimation Factors Effective Lines of Code, eLOC, per Function ................: 6.86 Effective Lines of Code, eLOC, per Function Input Parameter : 16.00 Effective Lines of Code, eLOC, per Function Return State ...: 4.57 eLOC per Function Interface Complexity (Parameters + Return): 3.56 eLOC per Function Cyclomatic Complexity ....................: 3.84 eLOC per Function Complexity (Cyclomatic+Interface Complex.): 1.85 lLOC Estimation Factors Logical Lines of Code, lLOC, per Function ..................: 4.93 Logical Lines of Code, lLOC, per Function Input Parameter ..: 11.50 Logical Lines of Code, lLOC, per Function Return State .....: 3.29 llOC per Function Interface Complexity (Parameters + Return): 2.56 lLOC per Function Cyclomatic Complexity ....................: 2.76 lLOC per Function Complexity (Cyclomatic+Interface Complex.): 1.33 ------------------------------------------------------------------------ ~~ File Summary ~~ C Source Files *.c ....: 0 C/C++ Include Files *.h: 0 C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0 Other Source Files ....: 0 Java Source File *.jav*: 2 Total File Count ......: 2 Shareware evaluation licenses process only 10 files. Paid licenses enable wild cards and file/project totals. ________________________________________________________________________ ~~ Performance Benchmark ~~ A process benchmark has been determined for this metrics analysis. The elapsed time for processing is effected by the I/O response of standard out or the redirection device. The fastest RSM benchmarks result from redirecting the output to a file on a local file system. The benchmark is intended for comparative purposes and is not designed to yield a definitive result. Process Timer ------------------------------- Elapsed Time : 0.010 s Performance Benchmark: 26500 Physical Lines Processed/s : 484500 Characters Parsed/s ________________________________________________________________________