Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.969 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 40 | E:/TSE/Projects-CloneDR/sql12/plugins/graph/src/net/sourceforge/squirrel_sql/plugins/graph/PixelCalculater.java |
2 | 4 | 46 | E:/TSE/Projects-CloneDR/sql12/plugins/graph/src/net/sourceforge/squirrel_sql/plugins/graph/PixelCalculater.java |
| |||||
// public int getPixelWidth() // { // int pixelByCm = (int) (Toolkit.getDefaultToolkit().getScreenResolution() * CM_BY_INCH + 0.5); // return (int)(_format.getWidth() * pixelByCm + 0.5); // } // // public int getPixelHeight() // { // int pixelByCm = (int) (Toolkit.getDefaultToolkit().getScreenResolution() * CM_BY_INCH + 0.5); // return (int)(_format.getHeight() * pixelByCm + 0.5); // } public int getPixelWidth() { int pixelByCm = (int) (Toolkit.getDefaultToolkit().getScreenResolution() * CM_BY_INCH + 0.5); return (int) (_format.getWidth() * pixelByCm * _sldValue + 0.5); } |
| |||||
public int getPixelHeight() { int pixelByCm = (int) (Toolkit.getDefaultToolkit().getScreenResolution() * CM_BY_INCH + 0.5); return (int) (_format.getHeight() * pixelByCm * _sldValue + 0.5); } |
| |||
// public int getPixelWidth() // { // int pixelByCm = (int) (Toolkit.getDefaultToolkit().getScreenResolution() * CM_BY_INCH + 0.5); // return (int)(_format.getWidth() * pixelByCm + 0.5); // } // // public int getPixelHeight() // { // int pixelByCm = (int) (Toolkit.getDefaultToolkit().getScreenResolution() * CM_BY_INCH + 0.5); // return (int)(_format.getHeight() * pixelByCm + 0.5); // } public int [[#variable1c842380]]() { int pixelByCm = (int) (Toolkit.getDefaultToolkit().getScreenResolution() * CM_BY_INCH + 0.5); return (int) (_format. [[#variable1c8422e0]]() * pixelByCm * _sldValue + 0.5); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c842380]] | getPixelWidth |
1 | 2 | [[#1c842380]] | getPixelHeight |
2 | 1 | [[#1c8422e0]] | getWidth |
2 | 2 | [[#1c8422e0]] | getHeight |