if( m_zptr[ i ] == 0 )
{
m_origPtr = i;
break;
}
if(threads[i] == thread)
{
index = i;
break;
}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/installer/CBZip2OutputStream.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/util/WorkThreadPool.java
|
Method name: void doReversibleTransformation()
|
|
Method name: void fireProgressChanged(WorkThread)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | if( m_zptr[ i ] == 0 )↵ | | 1 | if(↵
|
2 | {↵ | | |
|
3 | m_origPtr = i;↵ | | |
|
4 | break;↵ | | |
|
5 | ↵ | | 2 | threads[i] == thread)↵
|
| | | 3 | {↵
|
| | | 4 | index = i;↵
|
| | | 5 | break;↵
|
6 | } | | 6 | }
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.2 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |