drtools-metric visualization

How can I view the data generated by drtools-metric?

Description

The drtools-metric generates data in open standards (CSV and JSON).

This gives the developer great freedom to use and integrate with other tools of interest, from spreadsheets to machine learning tools.

Even so, we developed a tool that lets you read the data generated directly from the source code. Thus, developers view the data generated by drtools-metric simply and objectively.

An online demo is available here.

drtools-metric visualization in action

Requirements and Install Instruction

  • Have a simple local webserver (apache, xampp, ngix, among others) installed
  • Download the tool version and unzip it to a directory, inside the webserver (example: htdocs)
  • Create a folder of your project within the 'datasets' folder
  • Copy the files generated by drtools-metric to the created folder
  • Edit drtools-properties.js file, copy template structure to reference your project and files
  • Change references to your project files

Main Features

  • Simple visualization of combined metrics
  • Contextualized views with filters
  • Various chart types (bubble charts, thermometer charts, chord diagram, bar charts, sankey charts, and others)
  • Using Google Chart and D3.js

Video Demonstration

Generated files by context (Suggestion)

The developer can generate the data using the -mv option and --save output format.

Also, the developer can generate files with the -top option if they need to view the most problematic elements.

  • Summary (-s option): CSV format; name suggested - drtools-metric-summary.csv
  • Namespaces (-n option): CSV format; name suggested - drtools-metric-namespaces.csv
  • Types (-t option): CSV format; name suggested - drtools-metric-types.csv
  • Methods (-m option): CSV format; name suggested - drtools-metric-methods.csv
  • Namespace Coupling (-nc option): CSV format; name suggested - drtools-metric-namespace-coupling.csv
  • Type Coupling (-tc option): CSV format; name suggested - drtools-metric-type-coupling.csv
  • Internal Dependencies (-id option): JSON format; name suggested - drtools-metric-internal-dependencies.json
  • Cyclic Dependencies (-cd option): CSV format; name suggested - drtools-metric-cyclic-dependencies.json