Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
27 | 2 | 4 | 0.952 | sentence_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 4331 | CCCC9.COB |
2 | 27 | 4952 | CCCC9.COB |
| ||||
IF ((ELEMENT-ROWS-1-7-OR-9-11 AND ELEMENT-COLUMN-2) OR(ELEMENT-ROWS-13-15 AND ELEMENT-COLUMN-2)) OR ((ELEMENT-ROWS-1-6-OR-8 AND ELEMENT-COLUMN-3) OR(ELEMENT-ROWS-12-15 AND ELEMENT-COLUMN-3)) OR (ELEMENT-ROWS-1-15 AND ELEMENT-COLUMN-4) MOVE NOT-APPLICABLE-LITERAL TO ELEMENT-N-A IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX) ELSE MOVE COLLEGE-ELEMENT-TOTAL IN COLLEGE-ELEMENT-TOTALS-COLUMNS (COLLEGE-ELEMENT-ROW-INDEX COLLEGE-ELEMENT-COLUMN-INDEX) TO ELEMENT-TOTAL IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX). SET ORIGINAL-INDEX-VALUE TO COLLEGE-ELEMENT-COLUMN-INDEX. SEARCH COLLEGE-ELEMENT-TOTALS-COLUMNS AT END MOVE 1 TO PRINT-LINE-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO COLLEGE-ELEMENT-COLUMN-INDEX NEXT SENTENCE. SET ELEMENT-COLUMN-INDEX TO COLLEGE-ELEMENT-COLUMN-INDEX. |
| ||||
IF ((ELEMENT-ROWS-1-7-OR-9-11 AND ELEMENT-COLUMN-2) OR(ELEMENT-ROWS-13-15 AND ELEMENT-COLUMN-2)) OR ((ELEMENT-ROWS-1-6-OR-8 AND ELEMENT-COLUMN-3) OR(ELEMENT-ROWS-12-15 AND ELEMENT-COLUMN-3)) OR (ELEMENT-ROWS-1-15 AND ELEMENT-COLUMN-4) MOVE NOT-APPLICABLE-LITERAL TO ELEMENT-N-A IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX) ELSE MOVE DISTRICT-ELEMENT-TOTAL IN DISTRICT-ELEMNT-TOTALS-COLUMNS (DISTRICT-ELEMENT-ROW-INDEX DISTRICT-ELEMENT-COLUMN-INDEX) TO ELEMENT-TOTAL IN ELEMENT-COLUMNS (ELEMENT-COLUMN-INDEX). SET ORIGINAL-INDEX-VALUE TO DISTRICT-ELEMENT-COLUMN-INDEX. SEARCH DISTRICT-ELEMNT-TOTALS-COLUMNS AT END MOVE 1 TO PRINT-LINE-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO DISTRICT-ELEMENT-COLUMN-INDEX NEXT SENTENCE. SET ELEMENT-COLUMN-INDEX TO DISTRICT-ELEMENT-COLUMN-INDEX. |
| |||
IF ((ELEMENT-ROWS-1-7-OR-9-11 AND ELEMENT-COLUMN-2) OR (ELEMENT-ROWS-13-15 AND ELEMENT-COLUMN-2)) OR ((ELEMENT-ROWS-1-6-OR-8 AND ELEMENT-COLUMN-3) OR (ELEMENT-ROWS-12-15 AND ELEMENT-COLUMN-3)) OR (ELEMENT-ROWS-1-15 AND ELEMENT-COLUMN-4) MOVE NOT-APPLICABLE-LITERAL TO ELEMENT-N-A IN ELEMENT-COLUMNS ( ELEMENT-COLUMN-INDEX ) ELSE MOVE [[#24b7f120]] IN [[#24b5ffe0]]( [[#24b7fee0]] [[#24b7fbe0]]) TO ELEMENT-TOTAL IN ELEMENT-COLUMNS ( ELEMENT-COLUMN-INDEX ). SET ORIGINAL-INDEX-VALUE TO [[#24b7fbe0]]. SEARCH [[#24b5ffe0]] AT END MOVE 1 TO PRINT-LINE-FLAG WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO [[#24b7fbe0]] NEXT SENTENCE. SET ELEMENT-COLUMN-INDEX TO [[#24b7fbe0]]. |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24b7f120]] | DISTRICT-ELEMENT-TOTAL |
1 | 2 | [[#24b7f120]] | COLLEGE-ELEMENT-TOTAL |
2 | 1 | [[#24b5ffe0]] | DISTRICT-ELEMNT-TOTALS-COLUMNS |
2 | 2 | [[#24b5ffe0]] | COLLEGE-ELEMENT-TOTALS-COLUMNS |
3 | 1 | [[#24b7fee0]] | DISTRICT-ELEMENT-ROW-INDEX |
3 | 2 | [[#24b7fee0]] | COLLEGE-ELEMENT-ROW-INDEX |
4 | 1 | [[#24b7fbe0]] | DISTRICT-ELEMENT-COLUMN-INDEX |
4 | 2 | [[#24b7fbe0]] | COLLEGE-ELEMENT-COLUMN-INDEX |