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.950 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 65 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/imagemap/OverLIBToolTipTagFragmentGenerator.java |
2 | 3 | 64 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/imagemap/StandardToolTipTagFragmentGenerator.java |
| |||||
/** * Generates a tooltip string to go in an HTML image map. * * @param toolTipText the tooltip text. * * @return The formatted HTML area tag attribute(s). */ public String generateToolTipFragment(String toolTipText) { return " onMouseOver=\"return overlib(\'" + ImageMapUtilities.htmlEscape(toolTipText) + "\');\" onMouseOut=\"return nd();\""; } |
| |||||
/** * Generates a tooltip string to go in an HTML image map. * * @param toolTipText the tooltip. * * @return The formatted HTML area tag attribute(s). */ public String generateToolTipFragment(String toolTipText) { return " title=\"" + ImageMapUtilities.htmlEscape(toolTipText) + "\" alt=\"\""; } |
| |||
/** * Generates a tooltip string to go in an HTML image map. * * @param toolTipText the tooltip text. * * @return The formatted HTML area tag attribute(s). */ /** * Generates a tooltip string to go in an HTML image map. * * @param toolTipText the tooltip. * * @return The formatted HTML area tag attribute(s). */ public String generateToolTipFragment(String toolTipText) { return [[#variable1a103820]] + ImageMapUtilities.htmlEscape(toolTipText) + [[#variable1a1037a0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a103820]] | " onMouseOver=\"return overlib(\'" |
1 | 2 | [[#1a103820]] | " title=\"" |
2 | 1 | [[#1a1037a0]] | "\');\" onMouseOut=\"return nd();\"" |
2 | 2 | [[#1a1037a0]] | "\" alt=\"\"" |