Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.972 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1693 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/SegmentedTimeline.java |
2 | 9 | 1709 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/SegmentedTimeline.java |
| |||||
/** * Returns true if all Segments of this SegmentRenge are an included * segment and are not an exception. * * @return <code>true</code> or </code>false</code>. */ public boolean inIncludeSegments() { for (Segment segment = getSegment(this.segmentStart); segment.getSegmentStart() < this.segmentEnd; segment.inc()) { if ( !segment.inIncludeSegments()) { return (false); } } return true; } |
| |||||
/** * Returns true if we are an excluded segment. * * @return <code>true</code> or </code>false</code>. */ public boolean inExcludeSegments() { for (Segment segment = getSegment(this.segmentStart); segment.getSegmentStart() < this.segmentEnd; segment.inc()) { if ( !segment.inExceptionSegments()) { return (false); } } return true; } |
| |||
/** * Returns true if we are an excluded segment. * * @return <code>true</code> or </code>false</code>. */ /** * Returns true if all Segments of this SegmentRenge are an included * segment and are not an exception. * * @return <code>true</code> or </code>false</code>. */ public boolean [[#variable18eb8980]]() { for (Segment segment = getSegment(this.segmentStart); segment.getSegmentStart() < this.segmentEnd; segment.inc()) { if ( !segment. [[#variable18eb89a0]]()) { return (false); } } return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18eb8980]] | inIncludeSegments |
1 | 2 | [[#18eb8980]] | inExcludeSegments |
2 | 1 | [[#18eb89a0]] | inIncludeSegments |
2 | 2 | [[#18eb89a0]] | inExceptionSegments |