摘要:Software architecture is perceived as one of the most important artifacts created during a system's design, to control software complexity, improve system quality, support software development and reuse and so on. Coverage analysis is a structural testing technique, which helps to eliminate gaps in a test suite and determines when to stop testing. To compute test coverage, the paper presents a new concept – coverage about edge based on C2-style architecture. Firstly, the software architecture is represented using C2-style, then we use architecture component interaction graph (CIG) to describe interface connection relationship, then we define three testing criteria and introduce algorithms to generate testing coverage set according to edge types of CIG. Finally, we present four edges coverage to compute coverage effectiveness.