知识卡片
热点由六种反模式定位
热点是对维护成本贡献异常大的相互关联文件集合。可查六类信号:依赖者多且常改的不稳定接口;无结构依赖却常共同改的模块违规;父类依赖子类或客户端同时依赖两者的不健康继承;文件强连通循环;包级循环;同时高扇入、高扇出且频繁共变的交叉点。它们是候选,不要求每个文件彼此紧连,也不能仅凭一个形状就断定值得重构。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 管理架构债 · 查看原书依据
We call the sets of elements that make outsized contributions to the maintenance costs of a system hotspots. Architecture debt leads to high maintenance costs due to high coupling and low cohesion.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第23章《管理架构债》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch23.html)
- 结论依据:原文解释热点是对维护成本贡献异常大的相互关联文件集合;本章后续机制、例子与条件共同限定本卡,原书经验数字和前景不视为当前实测或现状。
- 原始内容:We call the sets of elements that make outsized contributions to the maintenance costs of a system hotspots. Architecture debt leads to high maintenance costs due to high coupling and low cohesion.