Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.984 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 500 | E:/TSE/Projects-CloneDR/columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/AShapeCreator.java |
2 | 12 | 563 | E:/TSE/Projects-CloneDR/columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/AShapeCreator.java |
| |||||
// AbsRect textRect = new AbsRect(new AtStart(4), AtStart.START0, new // AtEnd(-4), AtEnd.END0); // AShape textShape = new TextAShape("text", "$" + GridRow.NAME + "$", // textRect, TextAShape.TYPE_SINGE_LINE, font, fgColor, // AtFraction.CENTER, AtStart.START0, Boolean.FALSE); bgShape.setAttribute(AShape.A_REPORT_HIT_AREA, Boolean.TRUE); bgShape.setAttribute(AShape.A_MOUSE_CURSOR, Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); // root.addSubShape(shadow); root.addSubShape(bgShape); // root.addSubShape(textShape); root.addSubShape(startShape); |
| |||||
bgShape.setAttribute(AShape.A_REPORT_HIT_AREA, Boolean.TRUE); bgShape.setAttribute(AShape.A_MOUSE_CURSOR, Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); // root.addSubShape(shadow); root.addSubShape(bgShape); // root.addSubShape(outlineShape); root.addSubShape(textShape); |
| |||
// AbsRect textRect = new AbsRect(new AtStart(4), AtStart.START0, new // AtEnd(-4), AtEnd.END0); // AShape textShape = new TextAShape("text", "$" + GridRow.NAME + "$", // textRect, TextAShape.TYPE_SINGE_LINE, font, fgColor, // AtFraction.CENTER, AtStart.START0, Boolean.FALSE); bgShape.setAttribute(AShape.A_REPORT_HIT_AREA, Boolean.TRUE); bgShape.setAttribute(AShape.A_MOUSE_CURSOR, Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); // root.addSubShape(shadow); root.addSubShape(bgShape); // root.addSubShape(outlineShape); // root.addSubShape(textShape); root.addSubShape( [[#variable130f9260]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130f9260]] | startShape |
1 | 2 | [[#130f9260]] | textShape |