clime-bus-factor-0.4.1
توضیحات
CLIME - Bus Factor Metric
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | clime-bus-factor-0.4.1 |
| نام | clime-bus-factor |
| نسخه کتابخانه | 0.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Software and Systems Laboratory - Loyola University Chicago |
| ایمیل نویسنده | ssl-metrics@ssl.luc.edu |
| آدرس صفحه اصلی | https://ssl.cs.luc.edu/projects/metricsDashboard |
| آدرس اینترنتی | https://pypi.org/project/clime-bus-factor/ |
| مجوز | BSD |
# CLIME Bus Factor
[](https://zenodo.org/badge/latestdoi/407346377)
[](https://github.com/SoftwareSystemsLaboratory/clime-bus-factor/actions/workflows/release.yml)
> A tool to calculate the bus factor metric of a Git repository
## Table of Contents
- [CLIME Bus Factor](#clime-bus-factor)
- [Table of Contents](#table-of-contents)
- [About](#about)
- [Licensing](#licensing)
- [How To Use](#how-to-use)
- [Installation](#installation)
- [Command Line Options](#command-line-options)
## 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](https://github.com/SoftwareSystemsLaboratory/clime-commits).
### Licensing
This project is licensed under the BSD-3-Clause. See the [LICENSE](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`
``` shell
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`
``` shell
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
```
نیازمندی
| مقدار | نام |
|---|---|
| - | matplotlib |
| - | numpy |
| - | pandas |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl clime-bus-factor-0.4.1:
pip install clime-bus-factor-0.4.1.whl
نصب پکیج tar.gz clime-bus-factor-0.4.1:
pip install clime-bus-factor-0.4.1.tar.gz