Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.82 KB

STATUS.md

File metadata and controls

31 lines (25 loc) · 1.82 KB

Introduction

Our artifact is applicable for the Reusable and Available badge. Our artifact is a tool called Automated Categorizer for Infrastructure as Code Defects (ACID), which automatically identifies defect categories from repositories with Puppet scripts.

Our artifact is applicable for the Reusable badge because:

  • ACID is functional
  • Documentation on how to run ACID is available
  • Documentation on ACID's structure is available to facilitate reuse and repurpose

Our artifact is applicable for the Reusable badge because:

Documentation on how to run ACID

  1. Install Docker on your computer
  2. Go to terminal
  3. run the command docker pull akondrahman/acid-puppet
  4. run the command docker run -it --name acid akondrahman/acid-puppet bash
  5. run the command cd /ARTIFACT/IaC_Defect_Categ_Revamp/src_categ_revamp/ACID
  6. To get the results for test repositories it takes 0.8 minutes to complete. run python3 main.py. This command will execute ACID for the test repositories. Upon completion of the analysis Ended at: 2020-0X-XX XX:XX:XX, and Duration: 0.85513 minutes will be displayed, which indicates that ACID's execution is complete.

Documentation on ACID's structure

  1. classifier.py: implementation of the rules that are used by ACID
  2. constants.py: the constants that are used by ACID
  3. diff_parser.py: extract code from commits
  4. excavator.py: uses Mercurial and Git libraries to extract commits and puppet files
  5. main.py: main script to execute the tool