Skip to content

Visual Abstract Representation and analysis for RL programs

Notifications You must be signed in to change notification settings

FLAGlab/VoronoiDiagrams

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VAR Check

VAR Check offers software quality analysis for Reinforcement Learning (RL) programs. VAR Check provides an abstraction of RL programs and a first-hand view of code smells. Our visualization is based on Voronoi diagrams structured basd on the results of the software quality metrics. Currently VAR Check includes four metrics, but others can be added modularly

  • Large Class (LC)
  • Long Method (LM)
  • Multiply Nested Components (MNC)
  • Long Parameter List (LPL)

Usage

1. Metrics Extraction

Metrics are extracted using a Python script (PyAnalyzer.py) that analyzes the source code for each of the required metrics

python PyAnalyzer.py /path/to/programs Metric1 Metric2

2. Diagram Generation

The Voronoi diagrams are generated from the extracted metrics, based on the Voronoi Tree Maps tool. To generate the diagrams run the PyAnalyzer.java class part of the java project in the repository.

About

Visual Abstract Representation and analysis for RL programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.4%
  • Python 2.6%