{"id":18458569,"url":"https://github.com/softwaresystemslaboratory/prime-bus-factor","last_synced_at":"2025-04-08T05:34:23.470Z","repository":{"id":39743969,"uuid":"407346377","full_name":"SoftwareSystemsLaboratory/prime-bus-factor","owner":"SoftwareSystemsLaboratory","description":"A tool to calculate the bus factor metric of a Git repository","archived":false,"fork":false,"pushed_at":"2022-09-02T16:54:07.000Z","size":82,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-19T00:38:43.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoftwareSystemsLaboratory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null}},"created_at":"2021-09-16T23:49:38.000Z","updated_at":"2024-03-12T13:58:43.000Z","dependencies_parsed_at":"2022-08-27T09:21:37.319Z","dependency_job_id":null,"html_url":"https://github.com/SoftwareSystemsLaboratory/prime-bus-factor","commit_stats":null,"previous_names":["softwaresystemslaboratory/ssl-metrics-bus-factor","softwaresystemslaboratory/clime-bus-factor"],"tags_count":11,"template":false,"template_full_name":"SoftwareSystemsLaboratory/clime-template-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareSystemsLaboratory%2Fprime-bus-factor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareSystemsLaboratory%2Fprime-bus-factor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareSystemsLaboratory%2Fprime-bus-factor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareSystemsLaboratory%2Fprime-bus-factor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftwareSystemsLaboratory","download_url":"https://codeload.github.com/SoftwareSystemsLaboratory/prime-bus-factor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785919,"owners_count":20995641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T08:19:08.214Z","updated_at":"2025-04-08T05:34:18.450Z","avatar_url":"https://github.com/SoftwareSystemsLaboratory.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLIME Bus Factor\n\n[![DOI](https://zenodo.org/badge/407346377.svg)](https://zenodo.org/badge/latestdoi/407346377)\n[![Release Project](https://github.com/SoftwareSystemsLaboratory/clime-bus-factor/actions/workflows/release.yml/badge.svg)](https://github.com/SoftwareSystemsLaboratory/clime-bus-factor/actions/workflows/release.yml)\n\n\u003e A tool to calculate the bus factor metric of a Git repository\n\n## Table of Contents\n\n- [CLIME Bus Factor](#clime-bus-factor)\n  - [Table of Contents](#table-of-contents)\n  - [About](#about)\n    - [Licensing](#licensing)\n  - [How To Use](#how-to-use)\n    - [Installation](#installation)\n    - [Command Line Options](#command-line-options)\n\n## About\n\nThe 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).\n\n### Licensing\n\nThis project is licensed under the BSD-3-Clause. See the [LICENSE](LICENSE) for more information.\n\n## How To Use\n\n### Installation\n\nYou can install the tool via `pip` with either of the two following one-liners:\n\n- `pip install --upgrade pip clime-metrics`\n- `pip install --upgrade pip clime-bus-factor`\n\n### Command Line Options\n\n`clime-git-bus-factor-compute -h`\n\n``` shell\nusage: CLIME Bus Factor Calculator [-h] [-i INPUT] [-o OUTPUT] [-v]\n\nA tool to calculate the bus factor of a Git repository\n\noptions:\n  -h, --help            show this help message and exit\n  -i INPUT, --input INPUT\n                        Commits JSON file. DEFAULT: ./commits_loc.json\n  -o OUTPUT, --output OUTPUT\n                        Output JSON file. DEFAULT: ./bus_factor.json\n  -b BIN, --bin BIN\n                        Bin containing the number of days between computed bus\n                        factor values. DEFAULT: 1\n  -v, --version         Display version of the tool\n\nAuthor(s): Nicholas M. Synovic, Matthew Hyatt, George K. Thiruvathukal\n```\n\n`clime-git-bus-factor-graph -h`\n\n``` shell\nusage: CLIME Bus Factor Grapher [-h] [-i INPUT] [-o OUTPUT] [--type TYPE]\n                                [--title TITLE] [--x-label X_LABEL]\n                                [--y-label Y_LABEL] [--stylesheet STYLESHEET]\n                                [-v]\n\nA tool to graph the bus factor of a repository\n\noptions:\n  -h, --help            show this help message and exit\n  -i INPUT, --input INPUT\n                        JSON export from clime-git-bus-factor-compute.\n                        DEFAULT: ./bus_factor.json\n  -o OUTPUT, --output OUTPUT\n                        Filename of the graph. DEFAULT: ./bus_factor.pdf\n  --type TYPE           Type of figure to plot. DEFAULT: line\n  --title TITLE         Title of the figure. DEFAULT: \"\"\n  --x-label X_LABEL     X axis label of the figure. DEFAULT: \"\"\n  --y-label Y_LABEL     Y axis label of the figure. DEFAULT: \"\"\n  --stylesheet STYLESHEET\n                        Filepath of matplotlib stylesheet to use. DEFAULT: \"\"\n  -v, --version         Display version of the tool\n\nAuthor(s): Nicholas M. Synovic, Matthew Hyatt, George K. Thiruvathukal\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwaresystemslaboratory%2Fprime-bus-factor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftwaresystemslaboratory%2Fprime-bus-factor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwaresystemslaboratory%2Fprime-bus-factor/lists"}