Utils

Files Metric

Written in Kotlin, this project aims at providing a library for computing common metrics of a C file from Java program. The analysis is based on the result provided by the joern tool. To allow a better handling of dependency the tool has been ported organized for maven and only the parts relevant to this project were kept. This version can be found in the joern repository

Computed Metrics

List of Code Metrics:

  • Blank Line
  • LOC
  • preprocessor Lines
  • Lines of comments
  • Comment/LOC ratio
  • Number of Function
  • Number of Variable declaration
  • Cyclomatic Complexity of all Function
  • Essential Complexity of all Function
  • FANIN
  • FANOUT

ToolsUtils

This library gather all utilitary methods that are used by the different modules of the bugs and vulnerabilities project and that could be used in other context.

Content

  • Git utilitary + diff
  • MultiThreading
  • Regexp
  • Serialization

Documentation