Skip to content

Analysis of Formal Specifications SAT, SMT, Alloy, NuSMV.

Notifications You must be signed in to change notification settings

salarkalan/Specs-Analysis

Repository files navigation

Formal Specifications Analysis

This project analyze specifications written in various formal languages such as SAT, SMT, Alloy, and NuSMV. It includes features to run the specifications, capture results or error messages, count comments, calculate lines of code (LOC), compute Halstead complexity metrics, operators, and operands.

Prerequisites

To use this project, you need to have the following installed on your system:

Download and add the following files in the /lib folder in the project

Usage

These are steps to Run the program On Windows. First, clone the repository to your local machine:

git clone https://github.com/salarkalan/Specs-Analysis.git

Navigate to the project directory and build the project using the Gradle wrapper:

cd path/to/your/project/root
./gradlew.bat build

Compile the Java Files.

javac -d out -sourcepath src src/main/java/com/salarkalantari/specsanalysis/*.java

Run the Compiled Class with the appropriate arguments.

java -cp out com.salarkalantari.specsanalysis.App <spec-type> <file-path>

Replace 'spec-type' with the type of specification (sat, smt, alloy, nusmv) and 'file-path' with the path to your specification file.

Third-Party Licenses

Releases

No releases published

Packages

No packages published

Languages