Giter Site home page Giter Site logo

log2cov_replication_package's Introduction

Make sure you have docker (https://docs.docker.com/engine/install/) and docker-compose (https://docs.docker.com/compose/install/linux/) installed.

Enviorment setup

On the root directory of the replication package, Follow the steps below and execute the commands:

  1. Set up containers docker-compose up -d

  2. Go into the shell of log2cov container docker exec -it log2cov /bin/bash

Get data reported in the paper

  1. In log2cov's shell, do cd / mongorestore --uri "mongodb://mongo:27017/" ./db_backup

mongorestore --uri "mongodb://mongo:27017/" --db salt_unit_initial ./db_backup/salt_unit_initial mongorestore --uri "mongodb://mongo:27017/" --db salt_unit_after ./db_backup/salt_unit_after mongorestore --uri "mongodb://mongo:27017/" --db salt_integration ./db_backup/salt_integration mongorestore --uri "mongodb://mongo:27017/" --db nova_unit_initial ./db_backup/nova_unit_initial mongorestore --uri "mongodb://mongo:27017/" --db nova_unit_after ./db_backup/nova_unit_after mongorestore --uri "mongodb://mongo:27017/" --db nova_functional ./db_backup/nova_functional mongorestore --uri "mongodb://mongo:27017/" --db homeassistant_unit_initial ./db_backup/homeassistant_unit_initial mongorestore --uri "mongodb://mongo:27017/" --db homeassistant_unit_after ./db_backup/homeassistant_unit_after mongorestore --uri "mongodb://mongo:27017/" --db ground_truth ./db_backup/ground_truth

  1. To get exploratory evaluation result. In log2cov's shell, do cd /log2cov python3 exploratory_evaluation_result.py

  2. To get RQ1 result. In log2cov's shell, do cd /log2cov python3 rq1_result.py

  3. To get RQ2 result. In log2cov's shell, do cd /log2cov python3 rq2_result.py

Reprodoce the data of exploratory evaluation

  1. cd /log2cov
  1. python3 main.py

mongodump --uri "mongodb://mongo:27017/" --db salt --out ./ mongorestore --uri "mongodb://mongo:27017/" --db salt_docker ./salt

Reproduce RQ1 data

  1. cd /log2cov
  1. python3 slice.py

Reproduce RQ2 data

  1. python3 main.py

log2cov_replication_package's People

Contributors

seanxiaoyan avatar

Watchers

 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.