Confidential - Acme Engineering Resource Standard Metrics™ for C, C++, C# and Java Version 7.75 - mSquaredTechnologies.com License Type: Shareware Evaluation License Licensed To : Shareware End User - Distribute Freely License No. : SW1380 License Date: Dec 05, 1998 Build Date : Aug 16 2009 Run Date: Aug 16, 2009 ©1996-2009 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 -Odetailed_differentials.htm -ws -wg -wd -wx baseline_1 .dat, baseline_2.dat Diff Config.: C:\Program Files\MSquared\M2 RSM\rsm_workdiff.cfg ~~ Metrics Differential ~~ Based On Code Difference Older Work File: baseline_1.dat Creation Date : Sun Aug 16 20:22:10 2009 Newer Work File: baseline_2.dat Creation Date : Sun Aug 16 20:22:10 2009 Work Time Differential Between Files: Time Delta: 0 Seconds 0:00:00:00 Days:Hrs:Min:Sec File: ball.cpp Older Newer ------------------------------------ Line Number Diff Type Line Number 1 = C 1 2 = L 2 3 = L 3 4 = N 4 5 = C 5 6 = G 6 7 = N 7 9 = C 9 + L 10 10 - L 11 - L + L 11 12 = N 12 + C 13 13 - C 14 - G + G 14 15 = N 15 17 = C 17 18 = L 18 + L 19 19 - L 20 = N 20 + L 22 21 = C 23 22 = G 24 23 = N 25 25 = C 27 26 = L 28 27 = L 29 28 = N 30 29 = C 31 30 = C 32 31 = C 33 + G 34 32 - G 34 = L 36 35 = N 37 36 = G 38 37 = G 39 38 = N 40 40 = G 42 41 = N 43 ------------------------------------ File: ball.h Older Newer ------------------------------------ Line Number Diff Type Line Number 1 = C 1 2 = C 2 3 = C 3 4 = C 4 5 = C 5 6 = C 6 7 = C 7 8 = C 8 9 = C 9 10 = C 10 12 = L 12 13 = L 13 15 = L 15 17 = L 17 18 = N 18 20 = L 20 21 = N 21 22 = L 22 24 = C 24 25 = C 25 26 = G 26 28 = C 28 29 = C 29 30 = G 30 32 = C 32 33 = G 33 35 = C 35 36 = G 36 38 = C 38 39 = G 39 41 = C 41 42 = C 42 43 = G 43 45 = C 45 46 = G 46 48 = L 48 49 = G 49 50 = G 50 51 = G 51 52 = N 52 54 = N 54 56 = L 56 58 = C 58 ------------------------------------ File Metrics Differentials Based on Code Line Differences State LOC eLOC lLOC Comment Lines eLOC% File ------------------------------------------------------------------------ Equ 21 11 5 9 30 0.00 ball.cpp Dif 6 6 2 1 7 37.50 ball.cpp Equ 22 18 10 21 43 0.00 ball.h Rem -115 -77 -40 -45 -195 -100.00 lotto.cpp New 29 25 12 21 67 100.00 lotto.h ------------------------------------------------------------------------ Source Metrics Differential Profile Based on Code Line Differences State LOC eLOC lLOC Comment Lines Av.eLOC% Files ------------------------------------------------------------------------ New 29 25 12 21 67 100.00 1 Rem -115 -77 -40 -45 -195 -100.00 1 Equ 43 29 15 30 73 0.00 2 Dif 6 6 2 1 7 37.50 1 Total Metrics Newer Source Files ------------------------------------ Files 3 LOC 78 eLOC 60 lLOC 30 Comments 52 Lines 170 Total Metrics Older Source Files ------------------------------------ Files 3 LOC 163 eLOC 111 lLOC 58 Comments 76 Lines 296 Total Metrics Size Differential (new-old) ------------------------------------ Files 3 LOC -85 eLOC -51 lLOC -28 Comments -24 Lines -126 Total Metrics Size Differential Percent = [(new-old)/old * 100] ------------------------------------ Files 0.00 % LOC -52.15 % eLOC -45.95 % lLOC -48.28 % Comments -31.58 % Lines -42.57 % Code Differential Details Glossary ------------------------------------ = Older file line is equal to the newer file line - Line removed from the newer file + Line added to the newer file L Line of Code l Line of Code and Line of Comment N Non-Effective Line of Code n Non-Effective Line of Code and Line of Comment G Logical Line of Code g Logical Line of Code and Line of Comment C Comment Line B Blank Line (if blanks are processed) Metrics Differential Glossary ------------------------------------ Note: Lines in the older baseline which are not present in the current baseline are considered removed lines. The RSM configuration file is set to not include these lines in the Dif metrics shown on this report. New - Indicates that a file exists in the current work file and not in the old work file. These are new files in the baseline. Rem - Indicates that a file exists in the old work file and not in the current work file. These are files that have been removed from the baseline. Equ - Indicates that the compared files are the same size and each line is exactly the same. Dif - Indicates that the compared files differ by a code differential algorithm. Reference the RSM - Code Differential White Paper in the product documentation for further reference. LCS - The algorithm for code differentials is based on the Longest Common Sequence algorthim. LCS is the basis for GNU Diff type programs like WinMerge and diff. RSM enhances this diff algorithm by comparing the content and type of each line. LOC - Line of Source Code eLOC - Effective Lines of Source Code (LOC - NonEffective LOC) lLOC - Logical Lines of Source Code (Lines ending in ;) Comments - Lines that have comments Lines - Total Physical Lines ________________________________________________________________________