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
Value | |
---|---|
Similarity Threshold | 95% |
Maximum parameter count | 6 |
Minimum Mass (Lines) | 5.0 |
Characters per node | 16 |
Starting height | 2 |
Statistic | Value |
---|---|
File Count | 28 |
Total Source Lines of Code (SLOC) | 9365 |
Estimated SLOC before preprocessing | 9364 |
Expanded SLOC after preprocessing | 9134 |
Total CloneSets | 92 |
Exact-match CloneSets | 42 |
Near-miss CloneSets | 50 |
Number of cloned SLOC | 2410 |
SLOC in clones % | 25.7% |
Estimated removable SLOC | 1153 |
Possible SLOC reduction % | 12.3% |
Possible SLOC reduction in expanded file % | 12.6% |
Clone Size (SLOC) | Number of CloneSets |
---|---|
1 | 4 |
2 | 7 |
3 | 2 |
4 | 7 |
5 | 7 |
6 | 5 |
7 | 12 |
8 | 4 |
9 | 4 |
10 | 4 |
11 | 6 |
12 | 4 |
13 | 2 |
16 | 2 |
17 | 4 |
19 | 2 |
20 | 2 |
21 | 1 |
22 | 1 |
23 | 1 |
24 | 3 |
25 | 1 |
26 | 1 |
28 | 1 |
30 | 1 |
31 | 1 |
35 | 1 |
43 | 1 |
56 | 1 |
Number of Parameters | Number of CloneSets |
---|---|
0 | 42 |
1 | 30 |
2 | 13 |
3 | 5 |
4 | 1 |
5 | 1 |
CloneSet Details | Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CloneSet1 | 56 | 2 | 3 | 0.957 | statement_seq[2] | ||||||
CloneSet2 | 26 | 5 | 1 | 0.952 | selection_statement | ||||||
CloneSet3 | 20 | 3 | 3 | 0.952 | member_specification | ||||||
CloneSet4 | 43 | 2 | 3 | 0.961 | statement_seq[4] | ||||||
CloneSet5 | 30 | 2 | 2 | 0.985 | iteration_statement | ||||||
CloneSet6 | 3 | 5 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet7 | 16 | 5 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet8 | 25 | 2 | 5 | 0.960 | labeled_statement | ||||||
CloneSet9 | 31 | 2 | 2 | 0.980 | iteration_statement | ||||||
CloneSet10 | 8 | 6 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet11 | 28 | 2 | 1 | 0.993 | compound_statement | ||||||
CloneSet12 | 24 | 2 | 4 | 0.955 | labeled_statement | ||||||
CloneSet13 | 24 | 2 | 2 | 0.953 | statement_seq[3] | ||||||
CloneSet14 | 35 | 2 | 2 | 0.969 | statement_seq[5] | ||||||
CloneSet15 | 7 | 3 | 1 | 0.976 | iteration_statement | ||||||
CloneSet16 | 21 | 2 | 3 | 0.959 | statement_seq[2] | ||||||
CloneSet17 | 13 | 3 | 0 | 1.000 | statement_seq[5] | ||||||
CloneSet18 | 11 | 2 | 1 | 0.967 | iteration_statement | ||||||
CloneSet19 | 12 | 3 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet20 | 7 | 4 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet21 | 23 | 2 | 3 | 0.972 | labeled_statement | ||||||
CloneSet22 | 16 | 2 | 1 | 0.991 | statement_seq[2] | ||||||
CloneSet23 | 17 | 2 | 2 | 0.962 | selection_statement | ||||||
CloneSet24 | 17 | 2 | 1 | 0.979 | iteration_statement | ||||||
CloneSet25 | 7 | 4 | 1 | 0.968 | statement_seq[2] | ||||||
CloneSet26 | 8 | 3 | 2 | 0.952 | member_specification | ||||||
CloneSet27 | 24 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet28 | 7 | 4 | 1 | 0.956 | iteration_statement | ||||||
CloneSet29 | 19 | 2 | 1 | 0.956 | member_specification | ||||||
CloneSet30 | 17 | 2 | 2 | 0.966 | iteration_statement | ||||||
CloneSet31 | 22 | 2 | 2 | 0.976 | statement_seq[3] | ||||||
CloneSet32 | 12 | 2 | 1 | 0.951 | pp_statement_seq | ||||||
CloneSet33 | 11 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet34 | 10 | 2 | 0 | 1.000 | iteration_statement | ||||||
CloneSet35 | 10 | 2 | 2 | 0.974 | statement_seq[2] | ||||||
CloneSet36 | 12 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet37 | 9 | 2 | 0 | 1.000 | function_definition | ||||||
CloneSet38 | 7 | 3 | 1 | 0.957 | iteration_statement | ||||||
CloneSet39 | 7 | 3 | 0 | 1.000 | statement_seq[5] | ||||||
CloneSet40 | 19 | 2 | 0 | 1.000 | statement_seq[5] | ||||||
CloneSet41 | 11 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet42 | 13 | 2 | 2 | 0.952 | member_specification | ||||||
CloneSet43 | 4 | 5 | 0 | 1.000 | statement_seq[4] | ||||||
CloneSet44 | 2 | 5 | 0 | 1.000 | compound_statement | ||||||
CloneSet45 | 11 | 2 | 1 | 0.984 | declaration_seq | ||||||
CloneSet46 | 4 | 2 | 1 | 0.984 | statement_seq[2] | ||||||
CloneSet47 | 5 | 3 | 1 | 0.951 | statement | ||||||
CloneSet48 | 12 | 3 | 0 | 1.000 | selection_statement | ||||||
CloneSet49 | 8 | 2 | 1 | 0.967 | iteration_statement | ||||||
CloneSet50 | 10 | 2 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet51 | 11 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet52 | 2 | 3 | 1 | 0.973 | statement_seq[2] | ||||||
CloneSet53 | 6 | 2 | 0 | 1.000 | statement_seq | ||||||
CloneSet54 | 17 | 2 | 1 | 0.980 | statement_seq[2] | ||||||
CloneSet55 | 5 | 3 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet56 | 9 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet57 | 7 | 2 | 1 | 0.956 | iteration_statement | ||||||
CloneSet58 | 4 | 2 | 1 | 0.978 | statement_seq[4] | ||||||
CloneSet59 | 7 | 2 | 1 | 0.953 | compound_statement | ||||||
CloneSet60 | 9 | 2 | 2 | 0.953 | compound_statement | ||||||
CloneSet61 | 1 | 2 | 2 | 0.952 | expression_statement | ||||||
CloneSet62 | 7 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet63 | 5 | 2 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet64 | 6 | 2 | 0 | 1.000 | compound_statement | ||||||
CloneSet65 | 4 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet66 | 20 | 2 | 2 | 0.950 | labeled_statement | ||||||
CloneSet67 | 3 | 2 | 1 | 0.950 | function_definition | ||||||
CloneSet68 | 11 | 2 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet69 | 6 | 3 | 1 | 0.960 | statement_seq[4] | ||||||
CloneSet70 | 2 | 3 | 1 | 0.960 | statement_seq[3] | ||||||
CloneSet71 | 9 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet72 | 4 | 2 | 1 | 0.972 | compound_statement | ||||||
CloneSet73 | 6 | 2 | 0 | 1.000 | compound_statement | ||||||
CloneSet74 | 2 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet75 | 5 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet76 | 10 | 2 | 0 | 1.000 | compound_statement | ||||||
CloneSet77 | 6 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet78 | 8 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet79 | 4 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet80 | 5 | 2 | 1 | 0.968 | statement_seq[5] | ||||||
CloneSet81 | 5 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet82 | 5 | 2 | 0 | 1.000 | selection_statement | ||||||
CloneSet83 | 7 | 2 | 0 | 1.000 | statement_seq[3] | ||||||
CloneSet84 | 7 | 2 | 0 | 1.000 | statement_seq[5] | ||||||
CloneSet85 | 7 | 2 | 0 | 1.000 | statement_seq[5] | ||||||
CloneSet86 | 2 | 2 | 0 | 1.000 | statement_seq[2] | ||||||
CloneSet87 | 1 | 2 | 1 | 0.962 | function_definition | ||||||
CloneSet88 | 1 | 2 | 1 | 0.960 | simple_declaration | ||||||
CloneSet89 | 2 | 2 | 1 | 0.960 | selection_statement | ||||||
CloneSet90 | 4 | 2 | 1 | 0.960 | compound_statement | ||||||
CloneSet91 | 1 | 2 | 1 | 0.960 | direct_declarator | ||||||
CloneSet92 | 2 | 2 | 0 | 1.000 | selection_statement |