1. Coverage Criteria for Component Path-oriented in Software Architecture.
- Author
-
Lijun Lun, Xin Chi, and Hui Xu
- Subjects
- *
COMPUTER software development , *SOFTWARE architecture , *X-ray diffraction , *WIRELESS sensor networks , *GRAPH theory - Abstract
Software architecture testing is an important method of assuring quality and enhancing reliability and component path coverage is an essential criterion for software architecture testing adequacy. Since the rigid component path cover testing is infeasible, we select and test some key component paths, which outweigh others on affecting the overall quality of the system, to enhance software architecture test efficiency and profit. This paper presents a set of component path coverage criteria for C2-style architecture, and proposes two component path coverage criteria, component path with node-sequence coverage criterion and component path with edge-sequence coverage criterion, and proves the subsumption relationships among them. We propose two algorithms to calculate the component path coverage rate on these two component path coverage criteria. Experimental results show that, for top and bottom components, the component path of length N coverage rate decreases from 57.14% to 34.78%, the component path with node-sequence of node N coverage rate increases from 64.45% to 100%, and the component path with edge-sequence of edge N coverage rate increases from 66.26% to 100%. However for middle levels components, the component path of length N coverage rate decreases from 26.92% to 8.70%, the component path with node-sequence of node N coverage rate decreases from 7.80% to 0.16%, and the component path with edge-sequence of edge N coverage rate decreases from 7.64% to 0.08%. Experimental result shows that the proposed component path coverage criteria provide a good foundation for software architecture testing practice and the further research. [ABSTRACT FROM AUTHOR]
- Published
- 2019