Giter Site home page Giter Site logo

reana's Introduction

ReAna

Reliability Analysis of Software Product Lines

ReAna is a tool that takes variability-aware UML behavioral models annotated with components' reliabilities as input and outputs a family-wide reliability. In order to accomplish this, it uses a feature-family-based approach to model-checking of SPLs.

Building

All required dependencies are in the libs folder:

  • jcudd.jar: a Java binding to CUDD 2.5.1. The jar was created with JNAerator, and the CUDD shared library is bundled inside the jar.
  • jep-2.23-custom.jar: a customized version of JEP 2.23 which allows overriding standard arithmetic operators (e.g., +, -). The modified source code is available at https://github.com/thiagomael/jep.
  • jopt-simple-4.9.jar: JOpt Simple, a library for command-line argument parsing.

Running

The tool accepts a number of command-line arguments which provide for some degree of configuration:

  • --feature-model (defaults to fm.txt): a text file with the feature model for the SPL to be analyzed represented in Conjunctive Normal Form (CNF) using Java logical operators. This representation can be obtained from a feature diagram using FeatureIDE's Export to CNF functionality.
  • --uml-models (defaults to modeling.xml): an XML file containing the UML behavioral models (Activity and Sequence Diagrams) to be analyzed. Currently the only accepted format is the one used by the MagicDraw tool.
  • --param-path (defaults to /opt/param-2-3-64): the directory of the PARAM installation.
  • --configurations-file (defaults to configurations.txt): path to a file with a comma-separated list of features per line, each corresponding to a configuration for which the reliability is wanted.
  • --configuration: alternatively, it is possible to specify a single configuration inline. Overrides --configurations-file.
  • --all-configurations: causes the tool to dump all possible configurations and corresponding reliabilities. Overrides --configuration and --configurations-file.
  • --pruning-strategy (defaults to FM): The strategy that should be used for pruning invalid configurations during partial evaluations. Can be one of: FM (whole feature model); NONE (no pruning).
  • --stats: Prints profiling statistics such as wall-clock time and used memory.

After the run, an Algebraic Decision Diagram (ADD) representing the possible reliabilities for the SPL is dumped to a DOT file named family-reliability.dot.

reana's People

Contributors

thiagomael avatar andrelanna avatar eabili0 avatar pvgueiros avatar

Watchers

Daniel Moura 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.