Skip to content

Final year project. Web application that generates visualisations of code metrics over time for any given repository.

Notifications You must be signed in to change notification settings

skrroll/mapping-your-codebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapping Your Codebase - Metrico

This repository contains a visualisation tool called Metrico. Metrico can generate visualisations of code metrics to investigate their relationship with risk management.

Prerequisites

To use Metrcio, you have to have installed:

  • Python (recommended version 3.6+)
  • Node (with npm)

Running Metrico for the first time

Both the backend and frontend of our app are in this repository. To start using Metrico, we recommend starting the backend first and then the frontend. The following guide works for Linux and wsl (Windows subsystem for Linux).

To run the backend, a user has to:

  • go into the backend directory

pip install -r requirements.txt
uvicorn main:app

Note: You can also run a uvicorn server with --reload flag so that it updates automatically when you change the code.

To run frontend, a user has to:

  • go into the frontend directory

npm install
npm start

Now to access metrico, go to localhost.

Demo

You can also try a demo of Metrico under this url.

Report

The report is available under the report directory.

About

Final year project. Web application that generates visualisations of code metrics over time for any given repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published