Published January 27, 2023 | Version 1.0
Software Open

Artifact - ViolationTracker: Building Precise Histories for Static Analysis Violations

  • 1. Fudan University, China

Description

This is the artifact supporting the ICSE 2023 paper entitled ViolationTracker: Building Precise Histories for Static Analysis Violations.

ViolationTracker is a tool that automatically matches static analysis violations detected in adjacent revisions in Git repositories and builds precise full histories for all detected violations. The core algorithms of violation matching and tracking are implemented in the tool. The tool also contains a module to parse SonarQube scan results. But it essentially does not contain the static analysis functionality which is provided by SonarQube.

For the sake of ease of use, the ViolationTracker artifact integrates, besides the core modules for violation matching and tracking, all supporting environments such as SonarQube Community Version and other supporting environment such as required databases. The artifact only supports analyzing Java projects for the time being.

Therefore, this artifact provides with an end-to-end demonstration for building precise histories of static analysis violations. The input is Java projects in the format of Git repositories; the output is the violations detected by SonarQube with full histories. There are also querying functionalities available in the form of RESTful APIs or SQL queries.

Hardware requirement: 16GB RAM is suggested for running the artifact. However, ViolationTracker also passed the tests with only 4GB RAM when running with the accompanied example project. Typically, larger RAM supports larger software projects and longer evolution histories to be analyzed.

Servers or workstations with mainstream CPUs should suffice.

Please prepare minimal 14GB free disk space (8GB for Docker and 6GB for the artifact working directory).

Software requirement: The artifact requires Linux-based OS with Docker support. We have tested the artifact under CentOS 7, Ubuntu Server 18.04.2, and Ubuntu Server 22.04.1. CentOS 7+ or Ubuntu Server 18+ should suffice.

Windows OS is *not* tested and may cause error due to different path separators used.

To makethe artifact work, Docker Engine and related components should be properlyinstalled. Make sure you have successfully installed Docker for CentOS or Ubuntu.

 

Files

INSTALL.md

Files (1.5 GB)

Name Size Download all
md5:3a667af7784fae647822c18996206da2
1.5 GB Download
md5:7b8206b93e6cb17f29f2ad2d5b6a1e1c
19.8 kB Preview Download
md5:d3a39b48feaa584ade3dcf37ae7f5063
6.8 kB Download
md5:c60cfd4729250abc84eeb9d30a40cd0c
5.2 kB Preview Download
md5:638aaf160d31abc09141fc2eba7fbe01
3.1 kB Preview Download
md5:bd2d1c1f1dae54d3460336b98d199d8e
1.3 kB Preview Download