dev-eye
v1.0.18
Published
a command-line and a web-based visualization tool that computes and visualizes the bus factor of a repository
Downloads
384
Readme
Dev-Eye 🚌 ·
DEV-EYE is a tool that computes and visualizes the bus factor of a repository.
Get started
- Within a git repository, or a directory containing git repositories, run the command
npx -y dev-eye
To use Dev-Eye, you will need to have the following programs installed:
Check your installed versions using
node --version
,npm --version
andgit --version
.
[!TIP] The latests versions of Node and git can be installed from the links above.
[!Note]
npm
is automatically installed along withnode
.
- The application will now open in your default browser.
Configuration
To customize DEV-EYE's behavior, you can include a dev-eye.json file in your project's root directory to define specific arguments. This file is automatically generated upon tool execution but can be manually created beforehand to override defaults.
Example of the default configuration:
Time Range: Time Range is the time period for analysis. e.g the default is 4 which means the analysis is for the last 4 years.
Ownership Percentage Rate: a threshold for file ownership percentage, determining when a developer is considered a bus factor. the default is 50%. A developer with at least 50% ownership of files is considered a bus factor.
Excluded files: a list of files paths to be excluded in the analysis. e.g ['src/styles/globals.css']
//dev-eye.json
{
"timeRange": 4,
"ownershipPercentage": 0.5,
"ownershipPercentage_future_bf": 0.2,
"excluded_files":[]
}