CloneSet171


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.988paragraph
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1193258
CCCC12.COB
2193832
CCCC14.COB
Clone Instance
1
Line Count
19
Source Line
3258
Source File
CCCC12.COB

      *
      *
       2211-ADD-ELMNT-DISTRICT-TOTALS.
           ADD COLLEGE-ELEMENT-TOTAL
                   IN COLLEGE-ELEMENT-TOTALS-COLUMNS
                   (COLLEGE-ELEMENT-ROW-INDEX
                    COLLEGE-ELEMENT-COLUMN-INDEX)
             TO       DISTRICT-ELEMENT-TOTAL
                   IN DISTRICT-ELEMNT-TOTALS-COLUMNS
                   (DISTRICT-ELEMENT-ROW-INDEX
                    DISTRICT-ELEMENT-COLUMN-INDEX).
           SET ORIGINAL-INDEX-VALUE
             TO       COLLEGE-ELEMENT-COLUMN-INDEX.
           SEARCH COLLEGE-ELEMENT-TOTALS-COLUMNS
           AT END
               MOVE 1 TO ADD-ELEMENT-COLUMNS-FLAG
           WHEN ORIGINAL-INDEX-VALUE
                   IS NOT EQUAL TO COLLEGE-ELEMENT-COLUMN-INDEX
               NEXT SENTENCE.
           SET DISTRICT-ELEMENT-COLUMN-INDEX
             TO       COLLEGE-ELEMENT-COLUMN-INDEX.


Clone Instance
2
Line Count
19
Source Line
3832
Source File
CCCC14.COB

      *
      *
       2211-ADD-TO-DISTRICT-MATRIX.
           ADD COLLEGE-ELEMENT-TOTAL
                   IN COLLEGE-ELEMENT-TOTALS-COLUMNS
                   (COLLEGE-ELEMENT-ROW-INDEX
                    COLLEGE-ELEMENT-COLUMN-INDEX)
             TO       DISTRICT-ELEMENT-TOTAL
                   IN DISTRICT-ELEMNT-TOTALS-COLUMNS
                   (DISTRICT-ELEMENT-ROW-INDEX
                    DISTRICT-ELEMENT-COLUMN-INDEX).
           SET ORIGINAL-INDEX-VALUE
             TO       COLLEGE-ELEMENT-COLUMN-INDEX.
           SEARCH COLLEGE-ELEMENT-TOTALS-COLUMNS
           AT END
               MOVE 1 TO ADD-ELEMENT-COLUMNS-FLAG
           WHEN ORIGINAL-INDEX-VALUE
                   IS NOT EQUAL TO COLLEGE-ELEMENT-COLUMN-INDEX
               NEXT SENTENCE.
           SET DISTRICT-ELEMENT-COLUMN-INDEX
             TO       COLLEGE-ELEMENT-COLUMN-INDEX.


Clone AbstractionParameter Count: 1Parameter Bindings

        [[#24bd3e40]].
           ADD COLLEGE-ELEMENT-TOTAL
                 IN COLLEGE-ELEMENT-TOTALS-COLUMNS (
                                               COLLEGE-ELEMENT-ROW-INDEX
                                            COLLEGE-ELEMENT-COLUMN-INDEX
                                                   )
             TO DISTRICT-ELEMENT-TOTAL
                  IN DISTRICT-ELEMNT-TOTALS-COLUMNS (
                                              DISTRICT-ELEMENT-ROW-INDEX
                                           DISTRICT-ELEMENT-COLUMN-INDEX
                                                    ).
           SET ORIGINAL-INDEX-VALUE
             TO COLLEGE-ELEMENT-COLUMN-INDEX.
           SEARCH COLLEGE-ELEMENT-TOTALS-COLUMNS
             AT END
               MOVE 1 TO ADD-ELEMENT-COLUMNS-FLAG
             WHEN ORIGINAL-INDEX-VALUE IS NOT EQUAL TO
                  COLLEGE-ELEMENT-COLUMN-INDEX
               NEXT SENTENCE.
           SET DISTRICT-ELEMENT-COLUMN-INDEX
             TO COLLEGE-ELEMENT-COLUMN-INDEX.
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#24bd3e40]]
      *
      *
       2211-ADD-TO-DISTRICT-MATRIX 
12[[#24bd3e40]]
      *
      *
       2211-ADD-ELMNT-DISTRICT-TOTALS