-
Notifications
You must be signed in to change notification settings - Fork 2
NOMERGE: Sample PR for fault localization #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ public class NopolExample { | |
| */ | ||
| public boolean isOddNumber(int a){ | ||
| int tmp = (a-1)%2; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test3` - `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test1` - `nopol_examples.nopol_example_3.NopolExampleTest#test2` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test6` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test3` - `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test1` - `nopol_examples.nopol_example_3.NopolExampleTest#test2` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test6` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (9) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
|
||
| int foo = 0; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test3` - `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test1` - `nopol_examples.nopol_example_3.NopolExampleTest#test2` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test6` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test3` - `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test1` - `nopol_examples.nopol_example_3.NopolExampleTest#test2` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test6` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (10) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
|
||
|
|
||
| if ( tmp != 0 ){ // Fix : tmp == 0 | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test3` - `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test1` - `nopol_examples.nopol_example_3.NopolExampleTest#test2` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test6` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test3` - `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test1` - `nopol_examples.nopol_example_3.NopolExampleTest#test2` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test6` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 53.88%. Failing tests that cover this line
|
||
| return true; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%. Failing tests that cover this line- `nopol_examples.nopol_example_3.NopolExampleTest#test4` - `nopol_examples.nopol_example_3.NopolExampleTest#test7` - `nopol_examples.nopol_example_3.NopolExampleTest#test8` - `nopol_examples.nopol_example_3.NopolExampleTest#test5` - `nopol_examples.nopol_example_3.NopolExampleTest#test9`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (13) has been identified with a suspiciousness value of 40.16%. Failing tests that cover this line
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ public boolean canBeDividedby3(String a) { | |
| int initializedVariableShouldBeCollected = 2; | ||
| int uninitializedVariableShouldNotBeCollected; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (12) has been identified with a suspiciousness value of 17.96%. Failing tests that cover this line
|
||
| int otherInitializedVariableShouldBeCollected; | ||
| int foo = 1; | ||
|
|
||
| if ( a.length() == 0 ){ | ||
| return false; | ||
|
|
@@ -29,4 +30,4 @@ public boolean canBeDividedby3(String a) { | |
| boolean result = (Integer.parseInt(a)%3 == 0); | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%. Failing tests that cover this line- `nopol_examples.nopol_example_4.NopolExampleTest#test10` - `nopol_examples.nopol_example_4.NopolExampleTest#test5`
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%. Failing tests that cover this line
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line (30) has been identified with a suspiciousness value of 12.70%. Failing tests that cover this line
|
||
| return result; | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line (9) has been identified with a suspiciousness value of 53.88%.
Failing tests
`nopol_examples.nopol_example_3.NopolExampleTest#test3`,`nopol_examples.nopol_example_3.NopolExampleTest#test4`,`nopol_examples.nopol_example_3.NopolExampleTest#test1`,`nopol_examples.nopol_example_3.NopolExampleTest#test2`,`nopol_examples.nopol_example_3.NopolExampleTest#test7`,`nopol_examples.nopol_example_3.NopolExampleTest#test8`,`nopol_examples.nopol_example_3.NopolExampleTest#test5`,`nopol_examples.nopol_example_3.NopolExampleTest#test6`,`nopol_examples.nopol_example_3.NopolExampleTest#test9`