Skip to main content

CLIME - Bus Factor Metric

Project description

CLIME Bus Factor

DOI Release Project

A tool to calculate the bus factor metric of a Git repository

Table of Contents

About

The Software Systems Laboratory (SSL) CLIME Bus Factor project is a tool to calculate the bus factor metric of a Git repository. This tool relies on the output of the CLIME Commits tool.

Licensing

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

How To Use

Installation

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

  • pip install --upgrade pip clime-metrics
  • pip install --upgrade pip clime-bus-factor

Command Line Options

clime-git-bus-factor-compute -h

usage: CLIME Bus Factor Calculator [-h] [-i INPUT] [-o OUTPUT] [-v]

A tool to calculate the bus factor of a Git repository

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Commits JSON file. DEFAULT: ./commits_loc.json
  -o OUTPUT, --output OUTPUT
                        Output JSON file. DEFAULT: ./bus_factor.json
  -b BIN, --bin BIN
                        Bin containing the number of days between computed bus
                        factor values. DEFAULT: 1
  -v, --version         Display version of the tool

Author(s): Nicholas M. Synovic, Matthew Hyatt, George K. Thiruvathukal

clime-git-bus-factor-graph -h

usage: CLIME Bus Factor Grapher [-h] [-i INPUT] [-o OUTPUT] [--type TYPE]
                                [--title TITLE] [--x-label X_LABEL]
                                [--y-label Y_LABEL] [--stylesheet STYLESHEET]
                                [-v]

A tool to graph the bus factor of a repository

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        JSON export from clime-git-bus-factor-compute.
                        DEFAULT: ./bus_factor.json
  -o OUTPUT, --output OUTPUT
                        Filename of the graph. DEFAULT: ./bus_factor.pdf
  --type TYPE           Type of figure to plot. DEFAULT: line
  --title TITLE         Title of the figure. DEFAULT: ""
  --x-label X_LABEL     X axis label of the figure. DEFAULT: ""
  --y-label Y_LABEL     Y axis label of the figure. DEFAULT: ""
  --stylesheet STYLESHEET
                        Filepath of matplotlib stylesheet to use. DEFAULT: ""
  -v, --version         Display version of the tool

Author(s): Nicholas M. Synovic, Matthew Hyatt, George K. Thiruvathukal

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

clime-bus-factor-0.4.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

clime_bus_factor-0.4.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file clime-bus-factor-0.4.1.tar.gz.

File metadata

  • Download URL: clime-bus-factor-0.4.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for clime-bus-factor-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c98ee6ad223786b84023faaa00e8fd6b219f59f7e7338891b326ab095563fe8d
MD5 df437f22d0e5fd86bab260b61d9bc7ee
BLAKE2b-256 859a05d5317884f80c2485a7543a075649ce9061820b2517d17a32e79c84b38f

See more details on using hashes here.

File details

Details for the file clime_bus_factor-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for clime_bus_factor-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a4a6f1663272730d5447e89c296f755461bac01c46a91487726995bb539b2a8
MD5 bb862d61cfe6ddd68b57afbf9d8a0a6f
BLAKE2b-256 26769a1d12a3bccb150527231e4c337d1e9a0035482267829087b83ce3c0b978

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