知识卡片
不稳定度关注外部牵动
不稳定度I=Ce/(Ce+Ca),描述一个组件受外部依赖变化牵动的程度。Ca=2、Ce=0时I=0;Ce=3时I=3/5。I接近1表示依赖外部多,潜在变化来源多;I接近0可能稳定,也可能只是具体实现被大量依赖而僵硬,须结合抽象度判断。
相关:[[入向与出向耦合]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 选择架构分解方法 · 查看原书依据
Consider two scenarios, each with C a of 2. For the first scenario, C e = 0, yielding an instability score of zero. In the other scenario, C e = 3, yielding an instability score of 3/5. Thus, the measure of instability for a component reflects how many potential changes might be forced by changes to related components.
参考来源
- 位置:《Software Architecture: The Hard Parts》第4章《选择架构分解方法》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch04.xhtml)
- 结论依据:原文的定义、比较或案例支持“不稳定度I=Ce/(Ce+Ca),描述一个组件受外部依赖变化牵动的程度”;正文据此解释其用途与适用边界。
- 原始内容:Consider two scenarios, each with C a of 2. For the first scenario, C e = 0, yielding an instability score of zero. In the other scenario, C e = 3, yielding an instability score of 3/5. Thus, the measure of instability for a component reflects how many potential changes might be forced by changes to related components.