CloneSet640


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.974nested_class_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115146
E:/TSE/Projects-CloneDR/sql12/test/adhoc/test/DBMetaDataConcurrencyTester.java
215164
E:/TSE/Projects-CloneDR/sql12/test/adhoc/test/DBMetaDataConcurrencyTester.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
146
Source File
E:/TSE/Projects-CloneDR/sql12/test/adhoc/test/DBMetaDataConcurrencyTester.java

private static class GetProductNameRunnable implements Runnable {
  public void run() {
    int count = 0;
    while (getProductName && count++ < iterations) {
      try {
        System.out.println("Thread " + Thread.currentThread().getName());
        md.getDatabaseProductName();
        if (sleepTime > 0) {
          Thread.sleep(sleepTime);
        }
      }
      catch (Exception
             e) {
        handleException(e);
      }
    }
  }
}


First
Previous
Clone Instance
2
Line Count
15
Source Line
164
Source File
E:/TSE/Projects-CloneDR/sql12/test/adhoc/test/DBMetaDataConcurrencyTester.java

private static class GetProductVersionRunnable implements Runnable {
  public void run() {
    int count = 0;
    while (getProductVersion && count++ < iterations) {
      try {
        System.out.println("Thread " + Thread.currentThread().getName());
        md.getDatabaseProductVersion();
        if (sleepTime > 0) {
          Thread.sleep(sleepTime);
        }
      }
      catch (Exception
             e) {
        handleException(e);
      }
    }
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

private static class [[#variable1cc0f120]]implements Runnable {
  public void run() {
    int count = 0;
    while ( [[#variable1cc0f080]]&& count++ < iterations) {
      try {
        System.out.println("Thread " + Thread.currentThread().getName());
        md. [[#variable1cc0f000]]();
        if (sleepTime > 0) {
          Thread.sleep(sleepTime);
        }
      }
      catch (Exception
             e) {
        handleException(e);
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cc0f120]]
GetProductNameRunnable 
12[[#1cc0f120]]
GetProductVersionRunnable 
21[[#1cc0f080]]
getProductName 
22[[#1cc0f080]]
getProductVersion 
31[[#1cc0f000]]
getDatabaseProductName 
32[[#1cc0f000]]
getDatabaseProductVersion