mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-25 21:33:08 +08:00
test(coverage): raise architecture baselines
This commit is contained in:
@@ -80,7 +80,7 @@ MoviePilot V3 已经形成较清晰的模块化单体:`foundation`、`domain`
|
||||
| 长方法 | 299 个超过 80 行 | 70 个超过 150 行,23 个超过 250 行;大量是私有方法 |
|
||||
| 全量 mypy 历史债务 | 10,090 / 592 文件 | 识别链 typed plan/result、TMDB API、消息、Indexer、目录源与 Recommend 双 ABI 共用计划继续清除参数、返回值和泛型注解债;strict frontier 当前覆盖 41 个文件 |
|
||||
| Ruff 历史诊断 | 638 | 低水位门禁通过,但规则集只覆盖 `E4/E7/E9/F/I` |
|
||||
| 覆盖率低水位 | Application 81.00%,Domain 80.67% | Chain、Runtime、Agent、Adapter、Startup 未进入包级覆盖率门禁 |
|
||||
| 覆盖率低水位 | Application 81.45%,Domain 81.01% | Chain、Runtime、Agent、Adapter、Startup 未进入包级覆盖率门禁 |
|
||||
|
||||
### 3.3 热点文件
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"application": {
|
||||
"covered_lines": 12490,
|
||||
"percent": 81.0,
|
||||
"statements": 15419
|
||||
"covered_lines": 12620,
|
||||
"percent": 81.45,
|
||||
"statements": 15495
|
||||
},
|
||||
"domain": {
|
||||
"covered_lines": 3669,
|
||||
"percent": 80.67,
|
||||
"statements": 4548
|
||||
"covered_lines": 3685,
|
||||
"percent": 81.01,
|
||||
"statements": 4549
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user