Skip to main content

SSL Metrics - Bus Factor Metric

Project description

Software Systems Laboratory Metrics Git Bus Factor

A python tool to calculate the bus factor of a git repository

https://img.shields.io/badge/python-3.9.6%20%7C%203.10-blue DOI Release Project LICENSE

Table of Contents

About

The Software Systems Laboratory (SSL) Git Bus Factor Project is a python tool that lets users calculate and graph the bus facto of a git repository. This tool relies on the output of the Git Commits LOC project.

This project is licensed under the BSD-3-Clause. See the LICENSE for more information.

Developer Tooling

To maximize the utility of this project and the greater SSL Metrics project, the following software packages are required:

Operating System

All tools developed for the greater SSL Metrics project must target Mac OS and Linux. SSL Metrics software is not supported or recommended to run on Windows but can be modified to do so at your own risk.

It is recomendded to develop on Mac OS or Linux. However, if you are on a Windows machine, you can use WSL to develop as well.

How To Use

Installation

You can install the tool via pip with either of the two following one-liners:

  • pip install --upgrade pip ssl-metrics-meta
  • pip install --upgrade pip ssl-metrics-git-bus-factor

Command Line Arguments

ssl-metrics-git-bus-factor-compute -h

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        JSON file outputted from ssl-metrics-git-commits-loc-extract to be used to calculate bus factor
  -o OUTPUT, --output OUTPUT
                        JSON file that will contain the bus factor metric information

ssl-metrics-git-bus-factor-graph -h

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        The input data file that will be read to create the graphs
  -o OUTPUT, --output OUTPUT
                        The filename to output the bus factor graph to
  -m MAXIMUM_DEGREE_POLYNOMIAL, --maximum-degree-polynomial MAXIMUM_DEGREE_POLYNOMIAL
                        Estimated maximum degree of polynomial
  -r REPOSITORY_NAME, --repository-name REPOSITORY_NAME
                        Name of the repository that is being analyzed
  --x-window-min X_WINDOW_MIN
                        The smallest x value that will be plotted
  --x-window-max X_WINDOW_MAX
                        The largest x value that will be plotted

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssl-metrics-git-bus-factor-0.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

ssl_metrics_git_bus_factor-0.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file ssl-metrics-git-bus-factor-0.2.tar.gz.

File metadata

File hashes

Hashes for ssl-metrics-git-bus-factor-0.2.tar.gz
Algorithm Hash digest
SHA256 184ec366beb0060d0ea2d09759c44d4965199bb0e5da367131b91d405ba54c12
MD5 3d54b4a8bd3dd41f4779ffb540b5e18d
BLAKE2b-256 f71d03165c2bd2aee0468728e4bd1d87df111adbc9bd847835f03724091712c8

See more details on using hashes here.

File details

Details for the file ssl_metrics_git_bus_factor-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ssl_metrics_git_bus_factor-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 12dcb747e085ddff92d2184f16bd3eb9233f1e3aa902080ea1229da987efed3e
MD5 c7e1184e99e2f50ddd2021944bceb664
BLAKE2b-256 3b92c2ad734e5834335b7c3b868192493cf9abe64fa5bb875471de411be22ea6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page