Comments (1)
Ah, interesting. I support making this change, as it more accurately reflects the actual bug (and its fix).
I wonder whether introducing a custom refactoring of import statements would somehow incentive others to perform other kind of refactors in the bug-introducing patches provided by Defects4j. Please, let me know what you think about it.
Patch minimization requires some degree of interpretation. I am certain we have made other similar "refactorings" when performing minimization. I am not bothered by a limited amount of refactoring to isolate the bug. I think the key is to emphasize that such refactoring:
- Should only be in service of isolating and minimizing the bug.
- Should be limited to smallest amount of change required to separate the bug from unrelated code changes.
from defects4j.
Related Issues (20)
- How to get the buggy methods and BugLines? HOT 1
- FL:Gzoltar - Error: Could not find or load main class HOT 1
- How to execute subset of developer-written test methods? HOT 1
- Expired Certificate HOT 1
- Mutation-testing.org's certificate expired HOT 3
- `defects4j compile` does not compile tests for some Mockito bugs HOT 1
- import statements in bug-introducing patches HOT 3
- Mutation analysis fails on 92 bugs HOT 2
- Not being able to compile projects HOT 3
- Incorrect classpath dependencies for Mockito HOT 8
- How to execute parameterized test?
- There was some trouble setting up the defects4J HOT 2
- Modified class does not exists HOT 2
- Inconsistent handling of bugs with no test patches HOT 4
- Patches cannot be decoded using utf-8 HOT 2
- Can I use IntelliJ debugger to run a debug buggy version? HOT 1
- Potential incorrect source patch for Math 28 HOT 2
- Question about the test suite for each version HOT 1
- A question about provided API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from defects4j.