Python~v2_6 CloneDR™ Clone Detector and Reporter, Version 2.1.1

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/Domains/Python/v2_6/Tools/CloneDR/Tests/Biopython_notests.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
  7. Clone Cross Reference


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


Clone Detection Statistics
StatisticValue
File Count346
Total Source Lines of Code (SLOC)102622
Estimated SLOC before preprocessing102296
Expanded SLOC after preprocessing100631
Total CloneSets439
Exact-match CloneSets79
Near-miss CloneSets360
Number of cloned SLOC19076
SLOC in clones %18.6%
Estimated removable SLOC11756
Possible SLOC reduction %11.5%
Possible SLOC reduction in expanded file %11.7%


CloneSets by Clone Size
Clone Size (SLOC)Number of CloneSets
16
221
332
439
555
649
725
832
921
1013
119
1212
139
1420
154
169
1714
182
195
207
214
221
233
245
252
261
272
282
294
302
311
321
331
341
363
381
392
411
421
441
451
521
541
561
621
671
703
721
741
841
891
1141
1801
2301


CloneSets by Parameter Count
Number of ParametersNumber of CloneSets
079
167
270
361
454
540
668


Detected CloneSets (Sorted by Total Mass of CloneSet)
CloneSet
Details
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
CloneSet1965060.958test_pair_plus
CloneSet270260.997tests
CloneSet370210.999simple_stmt
CloneSet454260.968tests
CloneSet539260.997test_pair_plus
CloneSet6230260.985compound_stmt
CloneSet726260.997test_pair_plus
CloneSet825260.988test_pair_plus
CloneSet914650.993argument
CloneSet10180220.999file_input_element_list[4]
CloneSet1153640.962or_test
CloneSet12114210.999file_input_element_list[3]
CloneSet1318360.975simple_stmt
CloneSet1421360.969test_pair_plus
CloneSet1571560.969or_test
CloneSet1616660.979test_pair_plus
CloneSet1745340.966compound_stmt
CloneSet1856210.999compound_stmt
CloneSet1924230.997compound_stmt
CloneSet2032201.000stmt_list[2]
CloneSet2113660.956stmt_list[4]
CloneSet229260.994test_pair_plus
CloneSet2362220.996file_input_element_list[2]
CloneSet2451650.958arguments
CloneSet25171010.995test_plus
CloneSet2628310.998compound_stmt
CloneSet279260.993test_pair_plus
CloneSet2814560.972test_pair_plus
CloneSet2927260.990stmt_list[5]
CloneSet3020350.976stmt_list[3]
CloneSet3131220.966block
CloneSet32141160.961test_plus
CloneSet3331450.957or_test
CloneSet3436340.983compound_stmt
CloneSet3574201.000file_input_element_list[2]
CloneSet3641230.956block
CloneSet3751250.952block
CloneSet3816230.989compound_stmt
CloneSet3972230.996stmt_list[8]
CloneSet4039201.000compound_stmt
CloneSet4114460.972test_pair_plus
CloneSet4242201.000stmt_list[7]
CloneSet4389201.000compound_stmt
CloneSet444760.969test_plus
CloneSet4520360.982tests
CloneSet4636230.973file_input_element_list[2]
CloneSet4729320.995stmt_list[5]
CloneSet4815460.965block
CloneSet492560.972test_pair_plus
CloneSet5041140.966or_test
CloneSet5130230.967stmt_list[5]
CloneSet5229340.991stmt_list[3]
CloneSet537450.971compound_stmt
CloneSet5467250.992stmt_list[13]
CloneSet5514410.997stmt_list[7]
CloneSet5633220.990stmt_list[5]
CloneSet574660.969test_plus
CloneSet5884220.985file_input_element_list[2]
CloneSet5924201.000stmt_list[2]
CloneSet6014201.000stmt_list[6]
CloneSet6116260.959stmt_list[14]
CloneSet626760.962or_test
CloneSet6320320.995file_input_element_list[2]
CloneSet6418220.961block
CloneSet6510360.983elif_clause
CloneSet666340.987stmt_list[3]
CloneSet6719210.985stmt_list[5]
CloneSet6816240.973stmt_list[7]
CloneSet6919220.988compound_stmt
CloneSet7020310.997file_input_element_list[2]
CloneSet7114250.964stmt_list[4]
CloneSet727510.980stmt_list[2]
CloneSet732860.951arith_expr
CloneSet7414201.000stmt_list[5]
CloneSet756760.957or_test
CloneSet7617220.992compound_stmt
CloneSet778440.970stmt_list[8]
CloneSet7823250.985compound_stmt
CloneSet7916201.000stmt_list[6]
CloneSet806201.000stmt_list[6]
CloneSet8130210.998stmt_list[10]
CloneSet828330.990compound_stmt
CloneSet836301.000stmt_list[5]
CloneSet844740.968or_test
CloneSet858220.951stmt_list[4]
CloneSet8617260.979test_pair
CloneSet879301.000stmt_list[4]
CloneSet888750.952block
CloneSet8914220.986stmt_list[2]
CloneSet9012220.986stmt_list[11]
CloneSet917530.954compound_stmt
CloneSet9217201.000stmt_list[4]
CloneSet9315550.970test_plus
CloneSet945560.952block
CloneSet9514240.958compound_stmt
CloneSet9621230.986stmt_list[4]
CloneSet9716340.978compound_stmt
CloneSet9824330.950stmt_list
CloneSet9920210.998stmt_list[6]
CloneSet10010320.992stmt_list[6]
CloneSet10112420.990stmt_list[4]
CloneSet10212250.953stmt_list[5]
CloneSet10370260.951block
CloneSet10414560.961test_plus
CloneSet10511510.993compound_stmt
CloneSet10614240.952compound_stmt
CloneSet1075420.973compound_stmt
CloneSet10819220.951stmt_list[4]
CloneSet10919220.980stmt_list[7]
CloneSet11017220.992simple_stmt
CloneSet1115250.981elif_clause
CloneSet11217350.971file_input_element_list[10]
CloneSet11314440.978compound_stmt
CloneSet11419210.997file_input_element_list[2]
CloneSet1156530.951compound_stmt
CloneSet1167340.983compound_stmt
CloneSet11736250.960compound_stmt
CloneSet11810360.974stmt_list[3]
CloneSet1195430.977stmt_list[5]
CloneSet12010230.964block
CloneSet12110240.970block
CloneSet1227501.000file_input_element_list[2]
CloneSet12317201.000stmt_list[2]
CloneSet12411201.000elif_clause
CloneSet12515210.997stmt_list[2]
CloneSet12613210.997stmt_list[7]
CloneSet12712330.982compound_stmt
CloneSet12817450.969compound_stmt
CloneSet1297201.000file_input_element_list[3]
CloneSet1304360.972test_plus
CloneSet13121201.000file_input_element_list[4]
CloneSet1326330.972stmt_list[3]
CloneSet13312201.000stmt_list[2]
CloneSet13410240.959compound_stmt
CloneSet1354520.959stmt_list[4]
CloneSet1366420.987file_input_element_list[5]
CloneSet1375540.967compound_stmt
CloneSet1382560.951arith_expr
CloneSet1394360.971test_plus
CloneSet14012201.000elif_clause
CloneSet1415530.967compound_stmt
CloneSet14212240.952block
CloneSet14316201.000stmt_list[2]
CloneSet1443530.975compound_stmt
CloneSet1452260.962test_pair_plus
CloneSet1468440.960compound_stmt
CloneSet1479220.986arguments
CloneSet14823530.975compound_stmt
CloneSet1494330.979stmt_list[3]
CloneSet15023201.000stmt_list[7]
CloneSet15113201.000stmt_list[2]
CloneSet15213260.976test_pair_plus
CloneSet15313460.958test_plus
CloneSet15421210.996stmt_list[8]
CloneSet15544220.993stmt_list[9]
CloneSet15624220.957stmt_list[4]
CloneSet1577220.975stmt_list[2]
CloneSet15814240.950stmt_list[5]
CloneSet1593430.979stmt_list[3]
CloneSet1606460.957stmt_list[2]
CloneSet1618250.982stmt_list[5]
CloneSet16211220.989stmt_list[2]
CloneSet16313260.967file_input_element_list[3]
CloneSet1643420.985compound_stmt
CloneSet1656210.993stmt_list[2]
CloneSet1665230.985stmt_list[3]
CloneSet1678230.989compound_stmt
CloneSet1685350.956compound_stmt
CloneSet1695320.989compound_stmt
CloneSet1708210.989compound_stmt
CloneSet17113201.000stmt_list[5]
CloneSet17214260.969stmt_list[14]
CloneSet1732260.954test_pair_plus
CloneSet1746401.000compound_stmt
CloneSet1758240.984or_test
CloneSet1769310.994compound_stmt
CloneSet1773220.969simple_stmt
CloneSet17810260.960file_input_element_list[5]
CloneSet1796260.976compound_stmt
CloneSet1803401.000fpdef_test_list_prefix[10]
CloneSet18111210.996stmt_list[4]
CloneSet1825360.963or_test
CloneSet1833320.988simple_stmt
CloneSet1849210.996stmt_list[4]
CloneSet18520210.996compound_stmt
CloneSet1865201.000stmt_list[5]
CloneSet18715201.000compound_stmt
CloneSet18814201.000stmt_list[6]
CloneSet1897201.000compound_stmt
CloneSet1909201.000stmt_list[7]
CloneSet1912310.994stmt_list[2]
CloneSet1927240.966stmt_list[2]
CloneSet1939220.985stmt_list[7]
CloneSet1949220.987compound_stmt
CloneSet1956250.976stmt_list[6]
CloneSet1967240.983compound_stmt
CloneSet1976360.961stmt_list[2]
CloneSet19814210.991stmt_list[4]
CloneSet1995340.954compound_stmt
CloneSet20052230.982stmt_list[2]
CloneSet20120201.000compound_stmt
CloneSet20217201.000file_input_element_list[2]
CloneSet2034230.958stmt_list[2]
CloneSet2048301.000file_input_element_list[2]
CloneSet2059201.000block
CloneSet2066301.000stmt_list[2]
CloneSet2078201.000stmt_list[4]
CloneSet2085220.969compound_stmt
CloneSet2096350.966or_test
CloneSet2107230.982compound_stmt
CloneSet2118220.991compound_stmt
CloneSet21221210.995compound_stmt
CloneSet21314230.982compound_stmt
CloneSet21411210.982block
CloneSet2153301.000stmt_list[3]
CloneSet21611260.973elif_list[2]
CloneSet2177230.972stmt_list[5]
CloneSet2186201.000stmt_list[6]
CloneSet21925320.979compound_stmt
CloneSet2205201.000stmt_list[5]
CloneSet2218201.000stmt_list[4]
CloneSet2224260.972test_plus
CloneSet2239230.953block
CloneSet22428230.986file_input_element_list[2]
CloneSet2252250.972stmt_list[2]
CloneSet2267240.981or_test
CloneSet2275210.988compound_stmt
CloneSet2281360.957test_pair
CloneSet2296201.000stmt_list[3]
CloneSet23010250.957stmt_list[2]
CloneSet2319220.976compound_stmt
CloneSet2327210.990stmt_list[6]
CloneSet23312210.995compound_stmt
CloneSet2349350.964test_pair
CloneSet2352250.971stmt_list[2]
CloneSet23613260.951compound_stmt
CloneSet2374260.971test_plus
CloneSet23827260.971file_input_element_list[2]
CloneSet2395201.000stmt_list[3]
CloneSet2405210.995stmt_list[5]
CloneSet24112210.975stmt_list[3]
CloneSet2425210.993stmt_list[3]
CloneSet2436310.993stmt_list[4]
CloneSet2447210.975compound_stmt
CloneSet2454350.963stmt_list[2]
CloneSet2468220.950compound_stmt
CloneSet24724320.977compound_stmt
CloneSet2485310.992stmt_list[2]
CloneSet2498201.000stmt_list[6]
CloneSet2507240.964compound_stmt
CloneSet2518201.000block
CloneSet2526220.982stmt_list[4]
CloneSet2539210.995stmt_list[2]
CloneSet25410210.979compound_stmt
CloneSet2554240.968stmt_list[2]
CloneSet2564220.984stmt_list[4]
CloneSet25710210.995stmt_list[10]
CloneSet2585240.968stmt_list[4]
CloneSet2596240.979compound_stmt
CloneSet2604201.000stmt_list[3]
CloneSet2612310.968compound_stmt
CloneSet2623210.989compound_stmt
CloneSet2635201.000compound_stmt
CloneSet26429201.000file_input_element_list[2]
CloneSet2655320.984simple_stmt
CloneSet26638210.995compound_stmt
CloneSet26722220.984compound_stmt
CloneSet2686250.973or_test
CloneSet2696340.959compound_stmt
CloneSet27016260.956compound_stmt
CloneSet27129220.989stmt_list[5]
CloneSet2724250.973stmt_list[4]
CloneSet27317240.967compound_stmt
CloneSet27417240.967compound_stmt
CloneSet2759240.967block
CloneSet2763330.975simple_stmt
CloneSet2775240.972simple_stmt
CloneSet2786240.956stmt_list[4]
CloneSet2798240.978compound_stmt
CloneSet2804240.978stmt_list[4]
CloneSet2818220.989stmt_list[2]
CloneSet2828240.972compound_stmt
CloneSet2832320.983stmt_list[2]
CloneSet2844240.977elif_list[2]
CloneSet2855260.957block
CloneSet2864230.971compound_stmt
CloneSet2876210.977compound_stmt
CloneSet2886230.977compound_stmt
CloneSet2899210.994stmt_list[2]
CloneSet2905250.954stmt_list[2]
CloneSet2918230.983compound_stmt
CloneSet2928230.977compound_stmt
CloneSet2936220.970block
CloneSet2948240.967stmt_list[7]
CloneSet2957201.000stmt_list[3]
CloneSet2964210.994stmt_list[3]
CloneSet2973250.955tests
CloneSet2985210.988stmt_list[4]
CloneSet2996210.988stmt_list[2]
CloneSet3002240.958elif_clause
CloneSet3015201.000stmt_list[5]
CloneSet3023201.000stmt_list[3]
CloneSet3035250.951compound_stmt
CloneSet3046201.000stmt_list[2]
CloneSet30513230.982test_pair
CloneSet3065230.981stmt_list[3]
CloneSet3076201.000compound_stmt
CloneSet3088230.969block
CloneSet3095230.981or_test
CloneSet3109260.963test_pair
CloneSet3114201.000stmt_list[2]
CloneSet3123210.994compound_stmt
CloneSet3135260.956test_pair_plus
CloneSet3148220.981stmt_list[4]
CloneSet3157210.994compound_stmt
CloneSet3165201.000stmt_list[2]
CloneSet31717230.981compound_stmt
CloneSet3188260.958compound_stmt
CloneSet3197220.987block
CloneSet32010240.968compound_stmt
CloneSet3216240.974stmt_list[2]
CloneSet3226201.000stmt_list[6]
CloneSet3233220.987compound_stmt
CloneSet32414260.961test_plus
CloneSet3255210.987compound_stmt
CloneSet3268230.974compound_stmt
CloneSet3274220.967compound_stmt
CloneSet32814240.951compound_stmt
CloneSet3296201.000stmt_list[3]
CloneSet33012240.974test_pair
CloneSet3313201.000stmt_list[3]
CloneSet3322260.961stmt_list[2]
CloneSet3334250.954block
CloneSet3344201.000compound_stmt
CloneSet3353201.000stmt_list[3]
CloneSet3366220.953compound_stmt
CloneSet3378230.980compound_stmt
CloneSet3389250.953compound_stmt
CloneSet3396210.987block
CloneSet3408230.980file_input_element_list[3]
CloneSet3415201.000stmt_list[3]
CloneSet3427230.980stmt_list[5]
CloneSet34316210.993stmt_list[6]
CloneSet3446201.000stmt_list[6]
CloneSet3453201.000stmt_list[3]
CloneSet3465230.973compound_stmt
CloneSet3478220.976stmt_list[5]
CloneSet3485210.993compound_stmt
CloneSet3497230.972compound_stmt
CloneSet3505210.972stmt_list[2]
CloneSet3519230.972stmt_list[4]
CloneSet3524240.958block
CloneSet35310230.958block
CloneSet3545201.000stmt_list[3]
CloneSet3553240.958stmt_list[2]
CloneSet3566220.979stmt_list[3]
CloneSet3575240.972compound_stmt
CloneSet3585220.979compound_stmt
CloneSet3591230.979test_pair
CloneSet3605230.957stmt_list[4]
CloneSet3616210.979stmt_list[3]
CloneSet3625220.978stmt_list[5]
CloneSet3639230.978test_pair
CloneSet3647210.993stmt_list[2]
CloneSet3653230.964stmt_list[3]
CloneSet3666201.000block
CloneSet3675201.000compound_stmt
CloneSet3683220.964compound_stmt
CloneSet3697201.000block
CloneSet3703220.974compound_stmt
CloneSet3716210.982stmt_list[2]
CloneSet37234250.963Python
CloneSet37310220.978compound_stmt
CloneSet3744201.000stmt_list[2]
CloneSet3754201.000compound_stmt
CloneSet3764210.962stmt_list[4]
CloneSet3778230.977compound_stmt
CloneSet37811220.970stmt_list[3]
CloneSet3793230.970compound_stmt
CloneSet38012250.962test_plus
CloneSet3812260.955test_pair_plus
CloneSet38212260.955test_plus
CloneSet3836260.955test_pair_plus
CloneSet3844220.985stmt_list[4]
CloneSet3856260.955test_pair_plus
CloneSet3864210.962compound_stmt
CloneSet3876220.954block
CloneSet3884240.969compound_stmt
CloneSet3891250.962test_pair
CloneSet3906220.984compound_stmt
CloneSet3912260.953test_pair_plus
CloneSet3925230.961stmt_list[3]
CloneSet3932201.000stmt_list[2]
CloneSet3943260.953or_test
CloneSet3955250.961or_test
CloneSet3965240.969stmt_list[4]
CloneSet3973240.969stmt_list[3]
CloneSet3984220.953compound_stmt
CloneSet3993210.965stmt_list[3]
CloneSet40017220.976compound_stmt
CloneSet4015230.953stmt_list[2]
CloneSet4025201.000stmt_list[4]
CloneSet4033220.961stmt_list[2]
CloneSet4045210.992compound_stmt
CloneSet4053220.976stmt_list[3]
CloneSet4063230.976simple_stmt
CloneSet4076201.000stmt_list[2]
CloneSet4083240.968simple_stmt
CloneSet4093210.992stmt_list[2]
CloneSet4104220.984compound_stmt
CloneSet4112201.000compound_stmt
CloneSet4124240.968and_test
CloneSet4134201.000stmt_list[2]
CloneSet4148220.959stmt_list[4]
CloneSet4157210.992stmt_list[4]
CloneSet4164230.975compound_stmt
CloneSet4176210.984compound_stmt
CloneSet4185230.967stmt_list[2]
CloneSet4191201.000test_plus
CloneSet4206230.959stmt_list[2]
CloneSet4215201.000stmt_list[5]
CloneSet4224240.951stmt_list[2]
CloneSet4233201.000compound_stmt
CloneSet4246201.000compound_stmt
CloneSet4256201.000compound_stmt
CloneSet42611260.950test_plus
CloneSet42711260.950test_plus
CloneSet4282210.954tests
CloneSet4292210.992compound_stmt
CloneSet4305230.975stmt_list[5]
CloneSet4311250.958simple_stmt
CloneSet4324210.979stmt_list[2]
CloneSet4333250.958block
CloneSet4342250.958tests
CloneSet4351250.958test_pair
CloneSet4364230.975stmt_list[4]
CloneSet43717220.983compound_stmt
CloneSet4388220.983stmt_list[2]
CloneSet4392210.983or_test