Match Group 0 of size 1+1 ---- Ranked Result: ---- Match Group 1 of size 1+1070 ---- Ranked Result: 1. (size 3) Sleep a bit. 2. (size 3) sleep for 10s 3. (size 4) Sleep and try again ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/test/test.java: 1293-1295 Length: 3 just to give the disk system enough time to write the file. * try { * Thread.sleep(2000); * } catch (InterruptedException e1) { ---- /home/edmund/database-mana/databaseGitHub/jstorm/jstorm-server/src/main/java/com/alibaba/jstorm/task/TaskShutdownDameon.java: 65-67 Length: 3 local sim: [[thread]] global sim: [[]] waiting 100ms for executor thread shutting it's own < try { < Thread.sleep(100); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengl/FullScreenWindowedTest.java: 119-121 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengl/pbuffers/PbufferTest.java: 179-181 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/umongo/src/com/edgytech/umongo/ServerPanel.java: 149-152 Length: 3 local sim: [[sleep]] global sim: [[]] sleep a bit since it takes time for driver to see change < try { < // sleep a bit since it takes time for driver to see change < Thread.sleep(6000); < } catch (InterruptedException ex) { ---- /home/edmund/database-mana/databaseGitHub/crash/shell/src/main/java/org/crsh/text/renderers/ThreadRenderer.java: 77-81 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep 100ms < try { < // Sleep 100ms < Thread.sleep(100); < } < catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/input/HWCursorTest.java: 240-242 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/ps3mediaserver/src/main/java/net/pms/io/PipeIPCProcess.java: 167-169 Length: 3 local sim: [[thread]] global sim: [[]] Allow the threads some time to do their work before running the main thread < try { < Thread.sleep(150); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/hindex/src/examples/thrift/DemoClient.java: 254-256 Length: 3 local sim: [[sleep]] global sim: [[]] sleep to force later timestamp < try { < Thread.sleep(50); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/umongo/src/com/edgytech/umongo/ReplSetPanel.java: 159-162 Length: 3 local sim: [[sleep]] global sim: [[]] sleep a bit since it takes time for driver to see change < try { < // sleep a bit since it takes time for driver to see change < Thread.sleep(6000); < } catch (InterruptedException ex) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengles/FullScreenWindowedTest.java: 133-135 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengl/PbufferTest.java: 142-144 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/spring-hadoop/spring-hadoop-core/src/main/java/org/springframework/data/hadoop/fs/FsShell.java: 868-871 Length: 3 local sim: [[sleep]] global sim: [[]] sleep for 10s < try { < // sleep for 10s < Thread.sleep(10000); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/gocd/util/test/com/thoughtworks/go/util/command/StreamPumperTest.java: 113-115 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep a bit. < try { < Thread.sleep(10); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/calabash-android/ruby-gem/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/PressKey.java: 44-46 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep and try again < try { < Thread.sleep(200); < } catch (InterruptedException interruptedException) { ---- /home/edmund/database-mana/databaseGitHub/voldemort/test/unit/voldemort/store/stats/ClientSocketStatsTest.java: 335-337 Length: 3 local sim: [[sleep]] global sim: [[]] Make it sleep for a second < try { < Thread.sleep(1000); < } catch(InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/hindex/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java: 225-227 Length: 3 local sim: [[sleep]] global sim: [[]] sleep to let the log roller run (if it needs to) < try { < Thread.sleep(2000); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/ps3mediaserver/src/main/java/net/pms/io/PipeIPCProcess.java: 150-152 Length: 3 local sim: [[thread]] global sim: [[]] Allow the threads some time to do their work before starting the main thread < try { < Thread.sleep(150); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/gocd/agent-launcher/src/com/thoughtworks/cruise/agent/launcher/AgentLauncherImpl.java: 89-92 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep a bit so that if there are problems we don't spin < try { < // Sleep a bit so that if there are problems we don't spin < Thread.sleep(1000); < } catch (InterruptedException e) { ---- Comments (size 13): 1. Sleep and try again 2. Sleep a bit. 3. sleep for 10s 4. waiting 100ms for executor thread shutting it's own 5. Make it sleep for a second 6. don't waste cpu time, sleep more 7. Sleep a bit so that if there are problems we don't spin 8. sleep to let the log roller run (if it needs to) 9. Sleep 100ms 10. Allow the threads some time to do their work before running the main thread 11. sleep to force later timestamp 12. sleep a bit since it takes time for driver to see change 13. Allow the threads some time to do their work before starting the main thread ---- Match Group 2 of size 1+69 ---- Ranked Result: ---- Match Group 3 of size 1+175 ---- Ranked Result: ---- Match Group 4 of size 1+7 ---- Ranked Result: ---- Match Group 5 of size 1+22 ---- Ranked Result: ---- Match Group 6 of size 1+7 ---- Ranked Result: ---- Match Group 7 of size 1+1 ---- Ranked Result: ---- Match Group 8 of size 5+23 ---- Ranked Result: ---- Match Group 9 of size 1+2 ---- Ranked Result: ---- Match Group 10 of size 1+11 ---- Ranked Result: ---- Match Group 11 of size 1+9 ---- Ranked Result: ---- Match Group 12 of size 1+1 ---- Ranked Result: ---- Match Group 13 of size 1+2 ---- Ranked Result: ---- Match Group 14 of size 1+1 ---- Ranked Result: ---- Match Group 15 of size 3+7 ---- Ranked Result: ---- Match Group 16 of size 3+7 ---- Ranked Result: ---- Match Group 17 of size 1+21 ---- Ranked Result: ---- Match Group 18 of size 1+1 ---- Ranked Result: ---- Match Group 19 of size 1+2 ---- Ranked Result: ---- Match Group 20 of size 1+1 ---- Ranked Result: ---- Match Group 21 of size 3+3 ---- Ranked Result: ---- Match Group 22 of size 1+1 ---- Ranked Result: ---- Match Group 23 of size 1+3 ---- Ranked Result: ---- Match Group 24 of size 1+1 ---- Ranked Result: ---- Match Group 25 of size 1+1 ---- Ranked Result: ---- Match Group 26 of size 1+5 ---- Ranked Result: ---- Match Group 27 of size 2+20 ---- Ranked Result: ---- Match Group 28 of size 3+2 ---- Ranked Result: ---- Match Group 29 of size 1+1 ---- Ranked Result: ---- Match Group 30 of size 2+1 ---- Ranked Result: ---- Match Group 31 of size 1+1 ---- Ranked Result: ---- Match Group 32 of size 6+1 ---- Ranked Result: 1. (size 3) draw the image ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/email/EmailItem.java: 141-143 Length: 3 * } else { * int backgroundImageWidth = backGroundImage.getWidth(null); * int backgroundImageHeight = backGroundImage.getHeight(null); ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/rss/RssItem.java: 147-149 Length: 3 * } else { * int backgroundImageWidth = backGroundImage.getWidth(null); * int backgroundImageHeight = backGroundImage.getHeight(null); ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/weather/WeatherItem.java: 147-149 Length: 3 * } else { * int backgroundImageWidth = backGroundImage.getWidth(null); * int backgroundImageHeight = backGroundImage.getHeight(null); ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/movies/MovieItem.java: 235-237 Length: 3 * { * int backgroundImageWidth = backGroundImage.getWidth(null); * int backgroundImageHeight = backGroundImage.getHeight(null); ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/weather/WeatherItem.java: 310-312 Length: 3 * } else { * int backgroundImageWidth = backGroundImage.getWidth(null); * int backgroundImageHeight = backGroundImage.getHeight(null); ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/stocks/StocksItem.java: 148-150 Length: 3 * } else { * int backgroundImageWidth = backGroundImage.getWidth(null); * int backgroundImageHeight = backGroundImage.getHeight(null); ---- /home/edmund/database-mana/databaseGitHub/flyingsaucer/flying-saucer-examples/nomaven/misc/src/main/java/Review.java: 277-280 Length: 3 local sim: [[image]] global sim: [[draw]] draw the image < } else { < // draw the image < int imw = currentImage.getWidth(null); < int imh = currentImage.getHeight(null); ---- Comments (size 1): 1. draw the image ---- Match Group 33 of size 1+1 ---- Ranked Result: ---- Match Group 34 of size 2+1 ---- Ranked Result: ---- Match Group 35 of size 2+1 ---- Ranked Result: ---- Match Group 36 of size 5+1 ---- Ranked Result: ---- Match Group 37 of size 1+1 ---- Ranked Result: ---- Match Group 38 of size 2+10 ---- Ranked Result: 1. (size 5) try parsing as a number ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/imageOrganizer/OrganizerContainer.java: 519-522 Length: 3 * try { * int month = Integer.parseInt(number); * return getMonthText(month); * } catch (NumberFormatException e) { ---- /home/edmund/evaluate_projects/javaHMO2.4.src/src/org/lnicholls/javahmo/plugins/imageOrganizer/OrganizerContainer.java: 539-542 Length: 3 * try { * int day = Integer.parseInt(number); * return getDayText(day); * } catch (NumberFormatException e) { ---- /home/edmund/database-mana/databaseGitHub/mdrill/trunk/adhoc-internal/src/main/java/weka/classifiers/timeseries/core/CustomPeriodicTest.java: 869-872 Length: 3 local sim: [[number]] global sim: [[]] try parsing as a number < try { < int result = Integer.parseInt(day); < return result; < } catch (NumberFormatException e) {} ---- /home/edmund/database-mana/databaseGitHub/mdrill/trunk/adhoc-internal/src/main/java/weka/classifiers/timeseries/core/CustomPeriodicTest.java: 913-916 Length: 3 local sim: [[number]] global sim: [[]] try parsing as a number < try { < int result = Integer.parseInt(month); < return result; < } catch (NumberFormatException e) {} ---- Comments (size 1): 1. try parsing as a number ---- Match Group 39 of size 1+16 ---- Ranked Result: ---- Match Group 40 of size 3+5 ---- Ranked Result: ---- Match Group 41 of size 1+1 ---- Ranked Result: ---- Match Group 42 of size 1+1 ---- Ranked Result: ---- Match Group 43 of size 3+1 ---- Ranked Result: ---- Match Group 44 of size 1+1 ---- Ranked Result: ---- Match Group 45 of size 2+2 ---- Ranked Result: ---- Match Group 46 of size 1+2 ---- Ranked Result: ---- Match Group 47 of size 1+1 ---- Ranked Result: ---- Match Group 48 of size 8+1 ---- Ranked Result: ---- Number of internal clones: 2.0 median, 3.0 average, 9 total. Number of external clones: 10.0 median, 360.3333333333333 average, 1081 total. InternalMap: {1=1, 2=1, 6=1} ExternalMap: {1=1, 10=1, 1070=1} 3 comment groups has a comment Elapsed for 6 minutes Finish @ 07:27:16 AM graceful exit...