Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.963 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 71 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/util/ReadWriteLock.java |
2 | 13 | 120 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/util/ReadWriteLock.java |
| |||||
while ( !allowRead()) { try { wait(); } catch (InterruptedException e) { --waitingReaders; // Roll back state. Log.log(Log.ERROR, this, e); return; } } |
| |||||
while ( !allowWrite()) { try { wait(); } catch (InterruptedException e) { --waitingWriters; Log.log(Log.ERROR, this, e); return; } } |
| |||
while ( ! [[#variablee21e7a0]]()) { try { wait(); } catch (InterruptedException e) { -- [[#variablee21eda0]]; // Roll back state. Log.log(Log.ERROR, this, e); return; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#e21e7a0]] | allowRead |
1 | 2 | [[#e21e7a0]] | allowWrite |
2 | 1 | [[#e21eda0]] | waitingReaders |
2 | 2 | [[#e21eda0]] | waitingWriters |