CloneSet1053


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.974method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11069
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/TileHorizontalAction.java
21070
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/TileVerticalAction.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
69
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/TileHorizontalAction.java

/**
 * Retrieve the number of rows and columns that the internal frames
 * should be rearranged into.
 *
 * @param       internalFrameCount      Number of internal frames to be rearranged.
 */
protected RowColumnCount getRowColumnCount(int internalFrameCount) {
  int rows = 0;
  int cols = 0;
  if (internalFrameCount > 0) {
    cols = 1;
    rows = internalFrameCount;
  }
  return new RowColumnCount(rows, cols);
}


First
Previous
Clone Instance
2
Line Count
10
Source Line
70
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/TileVerticalAction.java

/**
 * Retrieve the number of rows and columns that the internal frames
 * should be rearranged into.
 *
 * @param       internalFrameCount      Number of internal frames to be rearranged.
 */
protected RowColumnCount getRowColumnCount(int internalFrameCount) {
  int rows = 0;
  int cols = 0;
  if (internalFrameCount > 0) {
    rows = 1;
    cols = internalFrameCount;
  }
  return new RowColumnCount(rows, cols);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Retrieve the number of rows and columns that the internal frames
         * should be rearranged into.
         *
         * @param       internalFrameCount      Number of internal frames to be rearranged.
         */
protected RowColumnCount getRowColumnCount(int internalFrameCount) {
  int rows = 0;
  int cols = 0;
  if (internalFrameCount > 0) {
     [[#variable1cd874a0]]= 1;
     [[#variable1cd87440]]= internalFrameCount;
  }
  return new RowColumnCount(rows, cols);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cd874a0]]
cols 
12[[#1cd874a0]]
rows 
21[[#1cd87440]]
rows 
22[[#1cd87440]]
cols