rolodex-rsm-c-htm

Report Banner - Edit rsm.cfg File

             Resource Standard Metrics™ for C, C++, C# and Java
                   Version 7.71 - mSquaredTechnologies.com

  License Type: Company Site License
  Licensed To : M Squared Technologies LLC
  License No. : ST1000                          License Date: Mar 06, 2013
  Build Date  : Mar  7 2013                         Run Date: Mar 07, 2013 
  ©2013 M Squared Technologies LLC™  
________________________________________________________________________ License File: C:\Program Files\MSquared\M2 RSM\rsm.lic Config. File: C:\Program Files\MSquared\M2 RSM\rsm.cfg Command Line: -H -SComplexity Analysis Report -c Contact.java Rolodex.ja va Complexity Analysis Report ~~ Function Metrics ~~ ~~ Complexity Analysis ~~ File: Contact.java ________________________________________________________________________ Function: rolodex.Contact.Contact Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.Contact Parameters: (String s) Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.setName Parameters: () Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 LOC 26 eLOC 14 lLOC 9 Comment 0 Lines 26 Function: rolodex.Contact.getName Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.show Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.toString Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.main Parameters: (String args[]) Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 74 eLOC 42 lLOC 26 Comment 0 Lines 84 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count....: 7 Total Function LOC.....: 45 Total Function Pts LOC : 1.4 Total Function eLOC....: 21 Total Function Pts eLOC: 0.8 Total Function lLOC....: 16 Total Function Pts lLOC: 0.5 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 ________________________________________________________________________ End of File: Contact.java File: Rolodex.java ________________________________________________________________________ Function: rolodex.Rolodex.Rolodex Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Rolodex.open Parameters: (String datafilename) Complexity Param 1 Return 5 Cyclo Vg 4 Total 10 LOC 51 eLOC 29 lLOC 19 Comment 2 Lines 58 Function: rolodex.Rolodex.close Parameters: (String datafilename) Complexity Param 1 Return 4 Cyclo Vg 1 Total 6 LOC 35 eLOC 21 lLOC 15 Comment 1 Lines 40 Function: rolodex.Rolodex.add Parameters: (Contact c) Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Rolodex.addContacts Parameters: () Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 LOC 17 eLOC 9 lLOC 6 Comment 0 Lines 17 Function: rolodex.Rolodex.show Parameters: () Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 LOC 6 eLOC 2 lLOC 2 Comment 0 Lines 6 Function: rolodex.Rolodex.main Parameters: (String args[]) Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 LOC 20 eLOC 12 lLOC 9 Comment 0 Lines 23 ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 154 eLOC 92 lLOC 62 Comment 3 Lines 181 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count....: 7 Total Function LOC.....: 135 Total Function Pts LOC : 2.9 Total Function eLOC....: 75 Total Function Pts eLOC: 1.7 Total Function lLOC....: 53 Total Function Pts lLOC: 1.2 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 ________________________________________________________________________ End of File: Rolodex.java ------------------------------------------------------------------------ ~~ Total Metrics For 2 Files ~~ ------------------------------------------------------------------------ ~~ Total Project Summary ~~ LOC 228 eLOC 134 lLOC 88 Comment 3 Lines 265 Average per File, metric/2 files LOC 114 eLOC 67 lLOC 44 Comment 1 Lines 132 ------------------------------------------------------------------------ ~~ Project Functional Metrics ~~ Function: rolodex.Contact.Contact Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.Contact Parameters: (String s) Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.setName Parameters: () Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 LOC 26 eLOC 14 lLOC 9 Comment 0 Lines 26 Function: rolodex.Contact.getName Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.show Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.toString Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Contact.main Parameters: (String args[]) Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function: rolodex.Rolodex.Rolodex Parameters: () Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Rolodex.open Parameters: (String datafilename) Complexity Param 1 Return 5 Cyclo Vg 4 Total 10 LOC 51 eLOC 29 lLOC 19 Comment 2 Lines 58 Function: rolodex.Rolodex.close Parameters: (String datafilename) Complexity Param 1 Return 4 Cyclo Vg 1 Total 6 LOC 35 eLOC 21 lLOC 15 Comment 1 Lines 40 Function: rolodex.Rolodex.add Parameters: (Contact c) Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: rolodex.Rolodex.addContacts Parameters: () Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 LOC 17 eLOC 9 lLOC 6 Comment 0 Lines 17 Function: rolodex.Rolodex.show Parameters: () Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 LOC 6 eLOC 2 lLOC 2 Comment 0 Lines 6 Function: rolodex.Rolodex.main Parameters: (String args[]) Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 LOC 20 eLOC 12 lLOC 9 Comment 0 Lines 23 Total: Functions LOC 180 eLOC 96 lLOC 69 InCmp 27 CycloCmp 25 Function Points FP(LOC) 3.4 FP(eLOC) 1.8 FP(lLOC) 1.3 ------------------------------------------------------------------------ ~~ Project Functional Analysis ~~ Total Functions .......: 14 Total Physical Lines ..: 195 Total LOC .............: 180 Total Function Pts LOC : 3.4 Total eLOC ............: 96 Total Function Pts eLOC: 1.8 Total lLOC.............: 69 Total Function Pts lLOC: 1.3 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 ------------------------------------------------------------------------ ~~ File Summary ~~ C Source Files *.c ....: 0 C/C++ Include Files *.h: 0 C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0 C# Source Files *.cs ..: 0 Java Source File *.jav*: 2 Other Source Files ....: 0 Total File Count ......: 2 ________________________________________________________________________           Report Banner - Edit rsm.cfg File