Giter VIP home page Giter VIP logo

git-stats-analyzer's Introduction

Visulog

Tool for analysis and visualization of git logs

Presentation

Visulog a tool for analyzing contributions from the members of a team working a a same given project hosted on a git repository. Its goal is to assist teachers for individual grading of students working as a team.

This tool can:

  • compute a couple of relevant indicators such as:
    • number of lines or characters added/deleted/changed
    • number of commits
    • number of merge commits
  • analyze the variations of these indicators in time: for instance sum then in a week, compute a daily average or an average in a sliding window, ...
  • visualize the indicators as charts (histograms, pie charts, etc.) embedded in a generated web page.

Already existing similar tools

Technical means

  • The charts are generated by a third party library (maybe a Java library generating pictures, or a javascript library which dynamically interprets the data).
  • The data to analyze can be obtained using calls to the git CLI. For instance "git log", "git diff --numstat", and so on.

Architecture

Visulog contains the following modules:

  • data types for storing raw data directly extracted from git history, with relevant parsers
  • a generator of numerical series (for the indicators mentioned above)
  • a generator of web pages
  • a command line program that calls the other modules using the provided command line parameters
  • a shared module for configuration object definitions

Usage

Building the project

  1. clone the repository
    git clone [email protected]:adegorre/visulog.git
    
    or
    git clone https://gaufre.informatique.univ-paris-diderot.fr/adegorre/visulog.git
    
  2. Enter the project folder
    cd visulog
    
  3. Only if you are on a SCRIPT computer (in one of the TP rooms):
    source SCRIPT/envsetup
    
    This will setup the GRADLE_OPTS environment variable so that gradle uses the SCRIPT proxy for downloading its dependencies. It will also use a custom trust store (the one installed in the system is apparently broken... ).
  4. run gradle wrapper (it will download all dependencies, including gradle itself)
    ./gradlew build
    

Running the software

Currently, it can be run through gradle too. In order to pass program arguments, you need to pass them behind --args:

./gradlew run --args='here are my args'

For instance

./gradlew run --args='. --addPlugin=countCommits'

Will count the commits of each author in the current branch of the git repository present in the current folder (".").

Voici le lien vers la vidéo de notre projet : https://drive.google.com/file/d/1B9MQBbqh4XYD5vqdK0ji5PB7Nwwo6buv/view?usp=sharing

git-stats-analyzer's People

Contributors

livaiela avatar parismollo avatar leopoldabgn avatar jadecrtl avatar neufdegres avatar fibiig avatar xldenis avatar alicecadet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.