Software architecture is perceived as one of themost 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, whichhelps to eliminate gaps in a test suite and determines whento stop testing. To compute test coverage, the paper presentsa new concept – coverage about edge based on C2-stylearchitecture. Firstly, the software architecture isrepresented using C2-style, then we use architecturecomponent interaction graph (CIG) to describe interfaceconnection relationship, then we define three testing criteriaand introduce algorithms to generate testing coverage setaccording to edge types of CIG. Finally, we present fouredges coverage to compute coverage effectiveness.
展开▼