Skip to content

DEV-EYE: A Tool for Monitoring Bus Factor Using Commit History

License

Notifications You must be signed in to change notification settings

MUICT-SERU/dev-eye

Repository files navigation

Dev-Eye 🚌 · Git Truck on NPM

DEV-EYE is a tool that computes and visualizes the bus factor of a repository.

  1. 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:

  • Node.js 18.0.0 or newer and npm 10.0 or newer
  • git 2.29 or newer

Check your installed versions using node --version, npm --version and git --version.

Tip

The latests versions of Node and git can be installed from the links above.

Note

npm is automatically installed along with node.

  1. The application will now open in your default browser.

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":[]
}

About

DEV-EYE: A Tool for Monitoring Bus Factor Using Commit History

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published