Software measurement is an essential management tool to develop robust and maintainable software systems. Software metrics can be used to control the inherent complexities in software design. To guarantee that the components of the software are inevitably testable, the testability attribute is used, which is a sub-characteristics of the software's maintabilility as well as quality assurance. This study investigates the relationship between static code and test metrics and testability and test cases effectiveness. The study answers three formulated research questions. The results of the analysis showed that size and complexity metrics are suitable for predicting the testability of object-oriented classes.
翻译:软件测量是开发稳健和可维护的软件系统的基本管理工具; 软件测量可用于控制软件设计固有的复杂性; 为确保软件各组成部分不可避免地可测试,使用可测试属性,这是软件主要稳定性和质量保证的子属性; 本研究报告调查静态代码和测试测量尺度之间的关系以及测试性和测试案例的有效性; 本研究报告回答了三个已拟订的研究问题; 分析结果表明,大小和复杂性测量尺度适合于预测面向对象的类别可测试性。