定制 dav-m85/busfactor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dav-m85/busfactor

Composer 安装命令:

composer require dav-m85/busfactor

包简介

Find out which file in your git is poorly maintained

README 文档

README

#busfactor

Build Status

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.

screenshot

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

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 我们能提供哪些服务?
定制开发 / 二次开发

基于 dav-m85/busfactor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 22
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-20