Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
“This method contains a self assignment of a field; e.g.” – 2013-11-18
This bug is already detected by Eclipse so we didn't implement it (just assigned Red Minus Sign in front of it in the “Bug Descriptions” page).
<code Java> package javaSample.bugCor113; Removed - The bug is already detected by Eclipse
public class SelfAssignmentOfField {
public static void main (String[] args){
int x; x = x; // Removed - The bug is already detected by Eclipse// }
} </Code>
The Bugs is already detected in Eclipse. No need to fix it.
Benchmark project | Precision | Recall | ||||
---|---|---|---|---|---|---|
FB | JT | Delta | FB | JT | Delta | |
Project … | …% | …% | …% | …% | …% | …% |
Project … | …% | …% | …% | …% | …% | …% |
FB = FindBugs, JT = JTransformer, Delta = JTransformer - FindBugs