Cpp~VisualStudio2005 CloneDR™ Clone Detector and Reporter, Version 2.2.18

Semantic Designs, Inc.
13171 Pond Springs Road
Austin, TX 78729–7102
+1 512–250–1018
www.semanticdesigns.com

Clone Detection Report for Project File:
C:/DMS/Analyzers/GlobalPointerAnalysis/CloneDR.prj


Table of Contents

  1. Detection Parameters
  2. Files Analyzed
  3. Clone Detection Statistics
  4. CloneSets by Size
  5. CloneSets by Parameters
  6. Detected CloneSets
  7. Clone Cross Reference


Detection Parameters
Value
Similarity Threshold95%
Maximum parameter count6
Minimum Mass (Lines)5.0
Characters per node16
Starting height2


Clone Detection Statistics
StatisticValue
File Count28
Total Source Lines of Code (SLOC)9365
Estimated SLOC before preprocessing9364
Expanded SLOC after preprocessing9134
Total CloneSets92
Exact-match CloneSets42
Near-miss CloneSets50
Number of cloned SLOC2410
SLOC in clones %25.7%
Estimated removable SLOC1153
Possible SLOC reduction %12.3%
Possible SLOC reduction in expanded file %12.6%


CloneSets by Clone Size
Clone Size (SLOC)Number of CloneSets
14
27
32
47
57
65
712
84
94
104
116
124
132
162
174
192
202
211
221
231
243
251
261
281
301
311
351
431
561


CloneSets by Parameter Count
Number of ParametersNumber of CloneSets
042
130
213
35
41
51


Detected CloneSets (Sorted by Total Mass of CloneSet)
CloneSet
Details
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
CloneSet156230.957statement_seq[2]
CloneSet226510.952selection_statement
CloneSet320330.952member_specification
CloneSet443230.961statement_seq[4]
CloneSet530220.985iteration_statement
CloneSet63501.000statement_seq[3]
CloneSet716501.000statement_seq[3]
CloneSet825250.960labeled_statement
CloneSet931220.980iteration_statement
CloneSet108601.000statement_seq[3]
CloneSet1128210.993compound_statement
CloneSet1224240.955labeled_statement
CloneSet1324220.953statement_seq[3]
CloneSet1435220.969statement_seq[5]
CloneSet157310.976iteration_statement
CloneSet1621230.959statement_seq[2]
CloneSet1713301.000statement_seq[5]
CloneSet1811210.967iteration_statement
CloneSet1912301.000statement_seq[2]
CloneSet207401.000statement_seq[3]
CloneSet2123230.972labeled_statement
CloneSet2216210.991statement_seq[2]
CloneSet2317220.962selection_statement
CloneSet2417210.979iteration_statement
CloneSet257410.968statement_seq[2]
CloneSet268320.952member_specification
CloneSet2724201.000selection_statement
CloneSet287410.956iteration_statement
CloneSet2919210.956member_specification
CloneSet3017220.966iteration_statement
CloneSet3122220.976statement_seq[3]
CloneSet3212210.951pp_statement_seq
CloneSet3311201.000statement_seq[2]
CloneSet3410201.000iteration_statement
CloneSet3510220.974statement_seq[2]
CloneSet3612201.000selection_statement
CloneSet379201.000function_definition
CloneSet387310.957iteration_statement
CloneSet397301.000statement_seq[5]
CloneSet4019201.000statement_seq[5]
CloneSet4111201.000selection_statement
CloneSet4213220.952member_specification
CloneSet434501.000statement_seq[4]
CloneSet442501.000compound_statement
CloneSet4511210.984declaration_seq
CloneSet464210.984statement_seq[2]
CloneSet475310.951statement
CloneSet4812301.000selection_statement
CloneSet498210.967iteration_statement
CloneSet5010201.000statement_seq[3]
CloneSet5111201.000selection_statement
CloneSet522310.973statement_seq[2]
CloneSet536201.000statement_seq
CloneSet5417210.980statement_seq[2]
CloneSet555301.000statement_seq[3]
CloneSet569201.000selection_statement
CloneSet577210.956iteration_statement
CloneSet584210.978statement_seq[4]
CloneSet597210.953compound_statement
CloneSet609220.953compound_statement
CloneSet611220.952expression_statement
CloneSet627201.000statement_seq[2]
CloneSet635201.000statement_seq[3]
CloneSet646201.000compound_statement
CloneSet654201.000selection_statement
CloneSet6620220.950labeled_statement
CloneSet673210.950function_definition
CloneSet6811201.000statement_seq[3]
CloneSet696310.960statement_seq[4]
CloneSet702310.960statement_seq[3]
CloneSet719201.000selection_statement
CloneSet724210.972compound_statement
CloneSet736201.000compound_statement
CloneSet742201.000selection_statement
CloneSet755201.000statement_seq[2]
CloneSet7610201.000compound_statement
CloneSet776201.000statement_seq[2]
CloneSet788201.000statement_seq[2]
CloneSet794201.000statement_seq[2]
CloneSet805210.968statement_seq[5]
CloneSet815201.000statement_seq[2]
CloneSet825201.000selection_statement
CloneSet837201.000statement_seq[3]
CloneSet847201.000statement_seq[5]
CloneSet857201.000statement_seq[5]
CloneSet862201.000statement_seq[2]
CloneSet871210.962function_definition
CloneSet881210.960simple_declaration
CloneSet892210.960selection_statement
CloneSet904210.960compound_statement
CloneSet911210.960direct_declarator
CloneSet922201.000selection_statement