apache / apache/comdev-metrics
code smell: duplicate strings that must agree with each other are not constants
已关闭
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- 平均合并
- 19 小时 14 分钟
- 30 天内合并 PR
- 1
描述
There are several duplicated instances of strings for file names and directories.
These should be shared constants, as they must be kept in step.
贡献指南
这个仓库没有索引到贡献指南
调研方向
在仓库中搜索表示文件名和目录的重复字符串字面量,然后确定必须保持一致的相关引用。定义共享常量并替换重复项;当这些值只有一个共享定义且现有项目行为保持不变时,此更改即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- tooling
- Issue 类型
- 重构
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100