dav-m85/busfactor
Composer 安装命令:
composer require dav-m85/busfactor
包简介
Find out which file in your git is poorly maintained
关键字:
README 文档
README
#busfactor
busfactor generates a coverage report indicating how much each contributor worked on each file of a git repo. It helps pinpoint part of the code that are poorly maintained/known by the teams working on it.
If someone gets hit by a bus, some files may become more difficult to maintain further.
It was inspired by a GoogleIO talk given by Brian Fitzpatrick, Ben Collins-Sussman, The Myth of the Genius Programmer.
Installation
With composer
composer global require "dav-m85/busfactor=0.2.*"
Make sure your global composer folder is in your PATH.
By cloning the repo
git clone http://github.com/dav-m85/busfactor.git
cd busfactor
composer install
As a dependency in another composer project
Add the following to your composer.json
{
"require-dev": {
"dav-m85/busfactor": "0.2.*"
}
}
Then in your project folder:
composer install
Usage
Given you have a repository my/git/repository, you can generate a report with following command
(output/parent/folder has to be writeable):
busfactor generate my/git/repository output/parent/folder
Then open output/parent/folder/index.html with your browser.
If you don't specify an output folder, the report will automatically be generated to out/ folder relative to
busfactor file.
If you intend to serve generated files, specify an asset-url options like this:
busfactor generate my/git/repository output/parent/folder --asset-url http://example.com/root/path
Contributing
You can contribute in various ways:
Report bugs in the project issues section. Please make sure you know how to report one, general understanding of this document may help ;)
You want to fix a bug? Take an issue or fill one, assign yourself on it and when done, submit a Pull Request. I'll do my best to read it in a timely fashion and approve it.
Note that this project is following Semantic Versioning 2.0.0.
You like this project? Fork it, star it, talk about it!
Testing
Tests use PHPUnit. Simply run the following command in busfactor project directory:
vendor/bin/phpunit
Credits
Maintainer: dav-m85
Contributors: Triiistan, you?
License
busfactor is released under the MIT license. A copy can be found inside the project here, or at http://opensource.org/licenses/mit-license.php
Related
- https://github.com/lafourchette/gitmirror (Repository class was borrowed from this project)
dav-m85/busfactor 适用场景与选型建议
dav-m85/busfactor 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 12 次下载、GitHub Stars 达 6, 最近一次更新时间为 2014 年 12 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「git」 「statistics」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dav-m85/busfactor 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dav-m85/busfactor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dav-m85/busfactor 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Helper to handle stats table with multiple formatter
The "View Counter" bundle
Easily manage git hooks in your composer config
SPSS is a php-based implementation of IBM SPSS Statistics Standard. (Read/write SPSS, PSPP .sav files)
The bundle for easy using json-rpc api on your project
TYPO3 View-Statistics by coding.ms: Logs frontend actions in TYPO3 and displays them in a backend module. It tracks page views, news, downloads, and objects such as products or real estate, while custom objects can be configured via TypoScript. Frontend logins, login duration, user ID, IP address, a
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-20
