tiime-software/technical-debt-tracker
Composer 安装命令:
composer require tiime-software/technical-debt-tracker
包简介
Tiime software's technical debt tracker
README 文档
README
As with monetary debt, if technical debt is not repaid, it can accumulate 'interest', making it harder to implement changes.
🐿️ In a nutshell
Use PHP annotations (docblocks annotations) to monitor your technical debt.
/** * @TechnicalDebt( * categories={"tightly coupled", "lack of test"}, * reporter="Flavien Rodrigues", * description="Lorem ipsum sit dolor amet" * ) */ class DummyService { // ... }
Then run our script as CI step and record the result into your monitoring tool.
vendor/bin/technical-debt-tracker
💯 Ranked categories
By default, we provide these common categories
| Category | Score | Description |
|---|---|---|
| security issue | 500 | |
| hard to understand | 200 | |
| tightly coupled | 150 | Where functions are not modular, the software is not flexible enough to adapt to changes in business needs. |
| need tests | 150 | |
| delayed refactoring | 100 | As the requirements for a project evolve, it may become clear that parts of the code have become inefficient or difficult to edit and must be refactored in order to support future requirements. The longer refactoring is delayed, and the more code is added, the bigger the debt. |
| core feature | 50 | Add penalty on applications's critical parts |
| need documentation | 10 | Where code is created without supporting documentation. The work to create documentation represents debt |
| bad practice | 5 | Where industry standard features, frameworks, technologies are ignored. Eventually integration with standards will come, and doing so sooner will cost less |
| wip | 5 | Work in progress |
📉 Technical debt monitoring
Our practice is to visualize technical debt over time (purple line). We add a trending line (grey) and define the point where updating the codebase will be impossible (red line). Now it's also possible to define SMART goals (green line).
tiime-software/technical-debt-tracker 适用场景与选型建议
tiime-software/technical-debt-tracker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 426.04k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2020 年 06 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 tiime-software/technical-debt-tracker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tiime-software/technical-debt-tracker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 426.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-05