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 -SFunction Analysis and Points Report -fa -fp Contact.j ava Rolodex.java Function Analysis and Points Report ~~ Function Metrics ~~ File: Contact.java ________________________________________________________________________ Function: rolodex.Contact.Contact Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.Contact Parameters: (String s) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.setName Parameters: () LOC 26 eLOC 14 lLOC 9 Comment 0 Lines 26 Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2 Function: rolodex.Contact.getName Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.show Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.toString Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.main Parameters: (String args[]) LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 74 eLOC 42 lLOC 26 Comment 0 Lines 84 Function Points FP(LOC) 1.4 FP(eLOC) 0.8 FP(lLOC) 0.5 ------------------------------------------------------------------------ ~~ 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 ________________________________________________________________________ End of File: Contact.java File: Rolodex.java ________________________________________________________________________ Function: rolodex.Rolodex.Rolodex Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Rolodex.open Parameters: (String datafilename) LOC 51 eLOC 29 lLOC 19 Comment 2 Lines 58 Function Points FP(LOC) 1.0 FP(eLOC) 0.5 FP(lLOC) 0.4 Function: rolodex.Rolodex.close Parameters: (String datafilename) LOC 35 eLOC 21 lLOC 15 Comment 1 Lines 40 Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3 Function: rolodex.Rolodex.add Parameters: (Contact c) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Rolodex.addContacts Parameters: () LOC 17 eLOC 9 lLOC 6 Comment 0 Lines 17 Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1 Function: rolodex.Rolodex.show Parameters: () LOC 6 eLOC 2 lLOC 2 Comment 0 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Rolodex.main Parameters: (String args[]) LOC 20 eLOC 12 lLOC 9 Comment 0 Lines 23 Function Points FP(LOC) 0.4 FP(eLOC) 0.2 FP(lLOC) 0.2 ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 154 eLOC 92 lLOC 62 Comment 3 Lines 181 Function Points FP(LOC) 2.9 FP(eLOC) 1.7 FP(lLOC) 1.2 ------------------------------------------------------------------------ ~~ 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 ________________________________________________________________________ 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 Function Points FP(LOC) 4.3 FP(eLOC) 2.5 FP(lLOC) 1.7 ------------------------------------------------------------------------ ~~ Project Functional Metrics ~~ Function: rolodex.Contact.Contact Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.Contact Parameters: (String s) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.setName Parameters: () LOC 26 eLOC 14 lLOC 9 Comment 0 Lines 26 Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2 Function: rolodex.Contact.getName Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.show Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.toString Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Contact.main Parameters: (String args[]) LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Rolodex.Rolodex Parameters: () LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Rolodex.open Parameters: (String datafilename) LOC 51 eLOC 29 lLOC 19 Comment 2 Lines 58 Function Points FP(LOC) 1.0 FP(eLOC) 0.5 FP(lLOC) 0.4 Function: rolodex.Rolodex.close Parameters: (String datafilename) LOC 35 eLOC 21 lLOC 15 Comment 1 Lines 40 Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3 Function: rolodex.Rolodex.add Parameters: (Contact c) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Rolodex.addContacts Parameters: () LOC 17 eLOC 9 lLOC 6 Comment 0 Lines 17 Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1 Function: rolodex.Rolodex.show Parameters: () LOC 6 eLOC 2 lLOC 2 Comment 0 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: rolodex.Rolodex.main Parameters: (String args[]) LOC 20 eLOC 12 lLOC 9 Comment 0 Lines 23 Function Points FP(LOC) 0.4 FP(eLOC) 0.2 FP(lLOC) 0.2 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