From d1c1a43e3dba1c158dd2c7f22954457cf25d80b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Lars=C3=A9n?= Date: Mon, 22 Mar 2021 15:11:26 +0100 Subject: [PATCH 1/4] Add initial record --- experimentation/prs.json | 64 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/experimentation/prs.json b/experimentation/prs.json index 942c3122d..5734a6fe7 100644 --- a/experimentation/prs.json +++ b/experimentation/prs.json @@ -1115,5 +1115,69 @@ "lastModified": "2021-02-22 14:17:58.101722", "isLegacyRecord": false } + }, + "inria/spoon#3852": { + "repoSlug": "inria/spoon", + "prMetadata": { + "url": "https://github.com/INRIA/spoon/pull/3852", + "createdAt": "2021-03-22 14:06:34", + "closedAt": null, + "mergedAt": null, + "state": "open", + "isMerged": false, + "number": 3852 + }, + "soraldStatistics": { + "repairs": [ + { + "nbPerformedRepairs": 1, + "ruleName": "InterruptedException", + "crashedRepairsLocations": [], + "nbCrashedRepairs": 0, + "ruleKey": "2142", + "nbViolationsBefore": 1, + "performedRepairsLocations": [ + { + "endLine": 548, + "endColumn": 33, + "startColumn": 11, + "startLine": 548, + "filePath": "spoon/support/compiler/SpoonPom.java", + "violationSpecifier": "2142:spoon/support/compiler/SpoonPom.java:548:11:548:33" + } + ], + "nbViolationsAfter": 0 + } + ], + "executionInfo": { + "soraldVersion": "commit: 7852ccae", + "javaVersion": "11.0.10", + "originalArgs": [ + "repair", + "--rule-key", + "2142", + "--original-files-path", + "src/main/java", + "--stats-output-file", + "2142.json" + ] + }, + "totalTimeMs": 8768, + "repairTimeMs": 290, + "startTimeMs": 1616421710980, + "crashes": [], + "endTimeMs": 1616421719748, + "parseTimeMs": 4099 + }, + "diffs": { + "initial": "diff --git a/src/main/java/spoon/support/compiler/SpoonPom.java b/src/main/java/spoon/support/compiler/SpoonPom.java\nindex bd3510acb2..87b77f866b 100644\n--- a/src/main/java/spoon/support/compiler/SpoonPom.java\n+++ b/src/main/java/spoon/support/compiler/SpoonPom.java\n@@ -546,6 +546,7 @@ public static String guessMavenHome() {\n \t\t} catch (IOException e) {\n \t\t\tthrow new SpoonException(\"Maven home detection has failed.\");\n \t\t} catch (InterruptedException e) {\n+\t\t\tThread.currentThread().interrupt();\n \t\t\tthrow new SpoonException(\"Maven home detection was interrupted.\");\n \t\t}\n \t\treturn mvnHome;\n", + "final": null + }, + "manualEdits": [], + "recordMetadata": { + "createdAt": "2021-03-22 15:10:09.677391", + "lastModified": "2021-03-22 15:10:09.677391", + "isLegacyRecord": false + } } } \ No newline at end of file From d5110fc6de862c61cdf1500b830d2e3e272e0611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Lars=C3=A9n?= Date: Mon, 22 Mar 2021 17:14:39 +0100 Subject: [PATCH 2/4] Add initial record for PR 3853 --- experimentation/prs.json | 64 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/experimentation/prs.json b/experimentation/prs.json index 5734a6fe7..5270d0774 100644 --- a/experimentation/prs.json +++ b/experimentation/prs.json @@ -1179,5 +1179,69 @@ "lastModified": "2021-03-22 15:10:09.677391", "isLegacyRecord": false } + }, + "inria/spoon#3853": { + "repoSlug": "inria/spoon", + "prMetadata": { + "url": "https://github.com/INRIA/spoon/pull/3853", + "createdAt": "2021-03-22 15:58:57", + "closedAt": null, + "mergedAt": null, + "state": "open", + "isMerged": false, + "number": 3853 + }, + "soraldStatistics": { + "repairs": [ + { + "nbPerformedRepairs": 1, + "ruleName": "PublicStaticFieldShouldBeFinal", + "crashedRepairsLocations": [], + "nbCrashedRepairs": 0, + "ruleKey": "1444", + "performedRepairsLocations": [ + { + "endLine": 20, + "endColumn": 31, + "startColumn": 22, + "startLine": 20, + "filePath": "spoon/LovecraftException.java", + "violationSpecifier": "1444:spoon/LovecraftException.java:20:22:20:31" + } + ], + "nbViolationsBefore": 1, + "nbViolationsAfter": 0 + } + ], + "executionInfo": { + "soraldVersion": "commit: 7852ccae", + "javaVersion": "11.0.10", + "originalArgs": [ + "repair", + "--original-files-path", + "src/main/java", + "--rule-key", + "1444", + "--stats-output-file", + "1444.json" + ] + }, + "totalTimeMs": 8698, + "repairTimeMs": 245, + "startTimeMs": 1616427639337, + "crashes": [], + "endTimeMs": 1616427648035, + "parseTimeMs": 4115 + }, + "diffs": { + "initial": "diff --git a/src/main/java/spoon/LovecraftException.java b/src/main/java/spoon/LovecraftException.java\nindex c6e461d7f3..e0e4f6f82e 100644\n--- a/src/main/java/spoon/LovecraftException.java\n+++ b/src/main/java/spoon/LovecraftException.java\n@@ -17,7 +17,7 @@\n public class LovecraftException extends SpoonException {\n \tprivate static final long serialVersionUID = 1L;\n \n-\tpublic static String lovecraft =\n+\tpublic static final String lovecraft =\n \t\t\"It was from the artists and poets that the pertinent answers came, and I\\n\"\n \t\t+ \"know that panic would have broken loose had they been able to compare notes.\\n\"\n \t\t+ \"As it was, lacking their original letters, I half suspected the compiler of\\n\"\n", + "final": null + }, + "manualEdits": [], + "recordMetadata": { + "createdAt": "2021-03-22 17:13:54.483247", + "lastModified": "2021-03-22 17:13:54.483247", + "isLegacyRecord": false + } } } \ No newline at end of file From 32a403b54a790b938da79e59fdf5df0668c7e6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Lars=C3=A9n?= Date: Wed, 24 Mar 2021 10:38:34 +0100 Subject: [PATCH 3/4] Add final record for inria/spoon PR 3852 --- experimentation/prs.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/experimentation/prs.json b/experimentation/prs.json index 5270d0774..8fb2ea337 100644 --- a/experimentation/prs.json +++ b/experimentation/prs.json @@ -1121,10 +1121,10 @@ "prMetadata": { "url": "https://github.com/INRIA/spoon/pull/3852", "createdAt": "2021-03-22 14:06:34", - "closedAt": null, - "mergedAt": null, - "state": "open", - "isMerged": false, + "closedAt": "2021-03-24 07:45:10", + "mergedAt": "2021-03-24 07:45:10", + "state": "closed", + "isMerged": true, "number": 3852 }, "soraldStatistics": { @@ -1171,12 +1171,12 @@ }, "diffs": { "initial": "diff --git a/src/main/java/spoon/support/compiler/SpoonPom.java b/src/main/java/spoon/support/compiler/SpoonPom.java\nindex bd3510acb2..87b77f866b 100644\n--- a/src/main/java/spoon/support/compiler/SpoonPom.java\n+++ b/src/main/java/spoon/support/compiler/SpoonPom.java\n@@ -546,6 +546,7 @@ public static String guessMavenHome() {\n \t\t} catch (IOException e) {\n \t\t\tthrow new SpoonException(\"Maven home detection has failed.\");\n \t\t} catch (InterruptedException e) {\n+\t\t\tThread.currentThread().interrupt();\n \t\t\tthrow new SpoonException(\"Maven home detection was interrupted.\");\n \t\t}\n \t\treturn mvnHome;\n", - "final": null + "final": "diff --git a/src/main/java/spoon/support/compiler/SpoonPom.java b/src/main/java/spoon/support/compiler/SpoonPom.java\nindex bd3510acb2..87b77f866b 100644\n--- a/src/main/java/spoon/support/compiler/SpoonPom.java\n+++ b/src/main/java/spoon/support/compiler/SpoonPom.java\n@@ -546,6 +546,7 @@ public static String guessMavenHome() {\n \t\t} catch (IOException e) {\n \t\t\tthrow new SpoonException(\"Maven home detection has failed.\");\n \t\t} catch (InterruptedException e) {\n+\t\t\tThread.currentThread().interrupt();\n \t\t\tthrow new SpoonException(\"Maven home detection was interrupted.\");\n \t\t}\n \t\treturn mvnHome;\n" }, "manualEdits": [], "recordMetadata": { "createdAt": "2021-03-22 15:10:09.677391", - "lastModified": "2021-03-22 15:10:09.677391", + "lastModified": "2021-03-24 10:38:14.344503", "isLegacyRecord": false } }, From 6d158e999b8170b234c652ee1510030065bb9ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Lars=C3=A9n?= Date: Wed, 24 Mar 2021 10:41:54 +0100 Subject: [PATCH 4/4] Add final record for inria/spoon PR 3853 --- experimentation/prs.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/experimentation/prs.json b/experimentation/prs.json index 8fb2ea337..0ecc55ce2 100644 --- a/experimentation/prs.json +++ b/experimentation/prs.json @@ -1185,10 +1185,10 @@ "prMetadata": { "url": "https://github.com/INRIA/spoon/pull/3853", "createdAt": "2021-03-22 15:58:57", - "closedAt": null, - "mergedAt": null, - "state": "open", - "isMerged": false, + "closedAt": "2021-03-24 07:44:07", + "mergedAt": "2021-03-24 07:44:07", + "state": "closed", + "isMerged": true, "number": 3853 }, "soraldStatistics": { @@ -1235,12 +1235,12 @@ }, "diffs": { "initial": "diff --git a/src/main/java/spoon/LovecraftException.java b/src/main/java/spoon/LovecraftException.java\nindex c6e461d7f3..e0e4f6f82e 100644\n--- a/src/main/java/spoon/LovecraftException.java\n+++ b/src/main/java/spoon/LovecraftException.java\n@@ -17,7 +17,7 @@\n public class LovecraftException extends SpoonException {\n \tprivate static final long serialVersionUID = 1L;\n \n-\tpublic static String lovecraft =\n+\tpublic static final String lovecraft =\n \t\t\"It was from the artists and poets that the pertinent answers came, and I\\n\"\n \t\t+ \"know that panic would have broken loose had they been able to compare notes.\\n\"\n \t\t+ \"As it was, lacking their original letters, I half suspected the compiler of\\n\"\n", - "final": null + "final": "diff --git a/src/main/java/spoon/LovecraftException.java b/src/main/java/spoon/LovecraftException.java\nindex c6e461d7f3..e0e4f6f82e 100644\n--- a/src/main/java/spoon/LovecraftException.java\n+++ b/src/main/java/spoon/LovecraftException.java\n@@ -17,7 +17,7 @@\n public class LovecraftException extends SpoonException {\n \tprivate static final long serialVersionUID = 1L;\n \n-\tpublic static String lovecraft =\n+\tpublic static final String lovecraft =\n \t\t\"It was from the artists and poets that the pertinent answers came, and I\\n\"\n \t\t+ \"know that panic would have broken loose had they been able to compare notes.\\n\"\n \t\t+ \"As it was, lacking their original letters, I half suspected the compiler of\\n\"\n" }, "manualEdits": [], "recordMetadata": { "createdAt": "2021-03-22 17:13:54.483247", - "lastModified": "2021-03-22 17:13:54.483247", + "lastModified": "2021-03-24 10:41:41.507284", "isLegacyRecord": false } }