Natural CloneDR™ Clone Detector and Reporter, Version 2.2.17

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

Evaluation Clone Detection Report for Project File:
C:/TEMP/Sources/Example.cdr


Table of Contents

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


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


Clone Detection Statistics
StatisticValue
File Count3997
Total Source Lines of Code (SLOC)635525
Estimated SLOC before preprocessing635548
Expanded SLOC after preprocessing600465
Total CloneSets1749
Exact-match CloneSets515
Near-miss CloneSets1234
Number of cloned SLOC287573
SLOC in clones %45.2%
Estimated removable SLOC187720
Possible SLOC reduction %29.5%
Possible SLOC reduction in expanded file %31.3%


CloneSets by Clone Size
Clone Size (SLOC)Number of CloneSets
43
57
621
79
823
921
1028
1129
1238
1346
1448
1558
1654
1746
1856
1934
2033
2130
2242
2334
2435
2536
2632
2729
2829
2921
3029
3124
3235
3320
3428
3521
3614
3715
3818
3919
4015
4115
4221
4314
4416
4515
4613
4711
4816
4914
5014
517
5211
538
5413
5515
5623
579
588
5911
604
619
624
637
6412
654
669
6712
688
695
705
714
729
739
747
755
765
778
789
791
805
814
828
833
846
857
864
871
885
891
903
913
925
934
944
955
965
974
994
1002
1012
1025
1036
1041
1054
1064
1071
1082
1101
1112
1132
1141
1151
1161
1182
1192
1202
1212
1223
1233
1242
1262
1272
1283
1292
1303
1311
1321
1334
1343
1351
1361
1394
1412
1422
1433
1441
1452
1483
1501
1511
1521
1532
1541
1551
1561
1572
1582
1591
1616
1632
1643
1651
1661
1681
1711
1751
1761
1791
1811
1821
1851
1881
1901
1911
1921
1951
1961
1971
1981
2001
2012
2061
2081
2121
2132
2161
2171
2222
2241
2251
2262
2281
2291
2301
2363
2371
2382
2391
2401
2421
2501
2531
2602
2661
2711
2743
2791
2811
2821
2851
3161
3291
3312
3381
3411
3441
3501
3631
3921
3941
4431
4561
4572
4741
5721
7151
7501
7551
7901
9721
10601
14261


CloneSets by Parameter Count
Number of ParametersNumber of CloneSets
0515
1286
2217
3191
4154
5148
6238


Detected CloneSets (Sorted by Total Mass of CloneSet)
CloneSet
Details
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
CloneSet1421001.000statement
CloneSet236720.961redefine_operands[21]
CloneSet3481060.962statement
CloneSet442960.993statements[3]
CloneSet546610.999statements[2]
CloneSet628810.994redefine_operands[19]
CloneSet739801.000statement
CloneSet826930.989statements[6]
CloneSet911920.969statements[15]
CloneSet1044450.990statement

Evaluation Version: Only 10 samples of medium size of the 1749 detected clones are reported here.