Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 2 | 0.973 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 164 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java |
2 | 15 | 182 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java |
| ||||
if (bpSourceName != null) { List sourceNames; try { sourceNames = type.sourceNames(stratum); } catch (AbsentInformationException e1) { return false; } catch (VMDisconnectedException e) { if ( !target.isAvailable()) { return false; } throw e; } if ( !containsMatch(sourceNames, bpSourceName)) { return false; } } |
| ||||
if (bpSourcePath != null) { // check that source paths match List sourcePaths; try { sourcePaths = type.sourcePaths(stratum); } catch (AbsentInformationException e1) { return false; } catch (VMDisconnectedException e) { if ( !target.isAvailable()) { return false; } throw e; } if ( !containsMatch(sourcePaths, bpSourcePath)) { return false; } } |
| |||
if ( [[#variable9d43e560]]!= null) { // check that source paths match List [[#variableb67127c0]]; try { [[#variableb67127c0]]= type. [[#variableb67127c0]](stratum); } catch (AbsentInformationException e1) { return false; } catch (VMDisconnectedException e) { if ( !target.isAvailable()) { return false; } throw e; } if ( !containsMatch( [[#variableb67127c0]], [[#variable9d43e560]])) { return false; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d43e560]] | bpSourceName |
1 | 2 | [[#9d43e560]] | bpSourcePath |
2 | 1 | [[#b67127c0]] | sourceNames |
2 | 2 | [[#b67127c0]] | sourcePaths |