初识软件构造
软件构造的多维视角
软件构造的性能指标
(1) External quality factors
Correctness(正确性)
Robustness(健壮性)
Extendibility(可扩展性)
Reusability(可复用性)
Compatibility(兼容性)
Efficiency(有效性)
Portability(可移植性)
Ease of use(易用性)
Functionality(功能性)
Timeliness(及时性)
Other qualities
(2) Internal quality factors
代码行数
耦合、内聚等
可读性
易懂性
(3) Tradeoff between quality properties
不同质量因素之间折中
“正确性”绝不能与其他质量因素折中
软件构造的五个关键质量目标
Elegant and beautiful code -> easy to understand
Design for/with reuse -> cheap for develop
Low complexity -> ready for changes
Robustness and correctness -> safe from bug
Performance and efficiency -> efficient to run