Coder Social home page Coder Social logo

program-repair / defects4j-dissection Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 20.0 3.29 MB

Defects4J Dissection presents data to help researchers and practitioners to better understand the Defects4J bug dataset

Home Page: http://program-repair.org/defects4j-dissection/

License: MIT License

Python 58.43% JavaScript 41.57%
defects4j open-science

defects4j-dissection's People

Contributors

fermadeiral avatar heidensi avatar monperrus avatar svenpopping avatar tdurieux avatar victor-sobreira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

defects4j-dissection's Issues

add metadata information and UI switch to study test errors vs test failures

In Junit:

  • A test failure is a test that does not pass due to an exception that extends AssertionError (or maybe Error, to be verified)
  • A test error is a test that does not pass due to an unexpected exception that does not Extend AssertionError.

In order to be easier for people to select the ones containing failures and/or errors, what about adding a filter on the test problem (error vs failure)?

(My assumption is that it's a different task, probably easier, to not throw an exception than to satisfy a set of assertions)

Include alternative views of the patch

Remember to include an option to select alternatives views of the patch. Beyond the merged view (current implementation), it is interesting to include a view where the buggy and fixed source code are in parallel columns.

How can I regenerate `defects4j-bugs.json`?

Hi,

Any chance you could share the script / program you used to extract the repair actions in a D4J patch? I.e., the script you used to generate the defects4j-bugs.json file.

Thanks in advance.

some patterns seem to overlap with other patterns.

For example, given the diff result of two java file /b_OrganizeImportsOperation.java and f_OrganizeImportsOperation.java.

32d31
< import org.eclipse.core.resources.ResourcesPlugin;
557c556
< 		return ResourcesPlugin.getWorkspace().getRoot();
---
> 		return fCompilationUnit.getResource();

What the pattern of this bug? That is, mcRepl(Method call replacement) and retExpChange (Return expression modification) , which one is better?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.