-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed false positives of NPEfix on repogit4test data
- Loading branch information
1 parent
db52712
commit 471d01d
Showing
15 changed files
with
80 additions
and
178 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<pattern name="replacement"> | ||
<entity id="1" type="*" /> | ||
<pattern name="replacement1"> | ||
<entity id="1" type="Assignment" /> | ||
<action entityId="1" type="INS"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<pattern name="replacement11"> | ||
<entity id="1" type="Literal"/> | ||
<action entityId="1" type="UPD"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<pattern name="replacement"> | ||
<entity id="1" type="*"/> | ||
<pattern name="replacement2"> | ||
<entity id="1" type="Assignment"/> | ||
<action entityId="1" type="UPD"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<pattern name="replacement4"> | ||
<entity id="1" type="Assignment" /> | ||
<action entityId="1" type="MOV"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<pattern name="replacement5"> | ||
<entity id="1" type="VariableRead" /> | ||
<action entityId="1" type="UPD"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<pattern name="replacement6"> | ||
<entity id="1" type="FieldRead"/> | ||
<action entityId="1" type="INS"/> | ||
|
||
<entity id="2" type="*"/> | ||
<action entityId="2" type="DEL"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<pattern name="replacement7"> | ||
<entity id="1" type="FieldRead"/> | ||
<action entityId="1" type="MOV"/> | ||
|
||
<entity id="2" type="*"/> | ||
<action entityId="2" type="DEL"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<pattern name="replacement8"> | ||
<entity id="1" type="Invocation"/> | ||
<action entityId="1" type="INS"/> | ||
|
||
<entity id="2" type="*"/> | ||
<action entityId="2" type="DEL"/> | ||
|
||
</pattern> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<pattern name="replacement9"> | ||
<entity id="1" type="VariableRead"/> | ||
<action entityId="1" type="INS"/> | ||
|
||
<entity id="2" type="*"/> | ||
<action entityId="2" type="DEL"/> | ||
|
||
</pattern> | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
src/main/resources/repairability_test_files/NPEfix/NPEfix12/twelve/NPEfix12_twelve_t.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters