hmc-alpaqa / metrinome

Create CFGs and compute complexity metrics for Python, C++, and Java code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lint and Test codecov License: GPL v3 Python 3.9

Overview

Metrinome is an all-purpose tool for working with code complexity metrics. It can be used as both a REPL and API, and includes:

  • Converters to turn C++, Java, and Python code to Control Flow Graphs
  • Metric calculators for NPath, Cyclomatic, and Path Complexity
  • KLEE utilities to automatically analyze C++ code

To get started, follow the guide in the wiki to pull the docker image and jump directly into the REPL.

Links

About

Create CFGs and compute complexity metrics for Python, C++, and Java code.

License:GNU General Public License v3.0


Languages

Language:Python 96.7%Language:Java 2.7%Language:Makefile 0.3%Language:Dockerfile 0.3%