GithubHelp home page GithubHelp logo

smat's Introduction

SMAT: Identifying Semantic Merge Conflicts Via Automated Behavior Change Detection

This project aims to detect semantic conflicts by generating and running test suites on merge scenarios.

Getting Started

  • Clone the project locally using the command on your prompt: git clone https://github.com/leusonmario/SMAT
  • After cloning, you must rename the configuration file env-config.template.json for env-config.json, and set up the required information for java_home. You must inform the location that Java was installed on your project. In case this environment variable is already configured, you don't need to inform this information again.
  • Next, you must inform the path of the file with the list of merge scenarios to be analyzed for the field path_hash_csv. Bellow, we provide further information to use the dataset we used to perform our study.
  • Our scripts require Python 3.6.x. In case you are running the scripts on a Linux terminal, you can just call the semantic_study.py file (python3 semantic_study.py). As a result, the file semantic_conflict_results.csv and the folder output-test-dest grouping the generated test suites will be created.

Getting Dataset

  • Clone the project MergeDataSet locally.
  • Next, perform a checkout for the commit c8b965f.
  • Finally, run the script get_sample.py.
  • As a result, the file results_semantic_study.csv will be created. If you want to analyze other merge scenarios, you must provide a file the same information provided in our dataset.

smat's People

Contributors

jprmoisakis avatar leofernandesmo avatar leusonmario avatar marcioaug avatar merge-conflict-factors avatar semantic-conflicts avatar

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.