PBCOV: a property-based coverage criterion

dc.contributor.authorFawaz, Kassem
dc.contributor.authorZaraket, Fadi A.
dc.contributor.authorMasri, Wes
dc.contributor.authorHarkous, Hamza
dc.contributor.departmentDepartment of Electrical and Computer Engineering
dc.contributor.facultyMaroun Semaan Faculty of Engineering and Architecture (MSFEA)
dc.contributor.institutionAmerican University of Beirut
dc.date.accessioned2025-01-24T11:29:13Z
dc.date.available2025-01-24T11:29:13Z
dc.date.issued2015
dc.description.abstractCoverage criteria aim at satisfying test requirements and compute metrics values that quantify the adequacy of test suites at revealing defects in programs. Typically, a test requirement is a structural program element, and the coverage metric value represents the percentage of elements covered by a test suite. Empirical studies show that existing criteria might characterize a test suite as highly adequate, while it does not actually reveal some of the existing defects. In other words, existing structural coverage criteria are not always sensitive to the presence of defects. This paper presents PBCOV, a Property-Based COVerage criterion, and empirically demonstrates its effectiveness. Given a program with properties therein, static analysis techniques, such as model checking, leverage formal properties to find defects. PBCOV is a dynamic analysis technique that also leverages properties and is characterized by the following: (a) It considers the state space of first-order logic properties as the test requirements to be covered; (b) it uses logic synthesis to compute the state space; and (c) it is practical, i.e., computable, because it considers an over-approximation of the reachable state space using a cut-based abstraction.We evaluated PBCOV using programs with test suites comprising passing and failing test cases. First, we computed metrics values for PBCOV and structural coverage using the full test suites. Second, in order to quantify the sensitivity of the metrics to the absence of failing test cases, we computed the values for all considered metrics using only the passing test cases. In most cases, the structural metrics exhibited little or no decrease in their values, while PBCOV showed a considerable decrease. This suggests that PBCOV is more sensitive to the absence of failing test cases, i.e., it is more effective at characterizing test suite adequacy to detect defects, and at revealing deficiencies in test suites. © 2014, Springer Science+Business Media New York.
dc.identifier.doihttps://doi.org/10.1007/s11219-014-9237-3
dc.identifier.eid2-s2.0-84924222369
dc.identifier.urihttp://hdl.handle.net/10938/27136
dc.language.isoen
dc.publisherKluwer Academic Publishers
dc.relation.ispartofSoftware Quality Journal
dc.sourceScopus
dc.subjectCoverage criteria
dc.subjectLogic synthesis
dc.subjectProperty-based coverage
dc.subjectReachability analysis
dc.subjectSoftware testing
dc.subjectSpecification-based coverage
dc.subjectState space coverage
dc.subjectTest suite evaluation
dc.subjectC (programming language)
dc.subjectComputer circuits
dc.subjectDefects
dc.subjectModel checking
dc.subjectState space methods
dc.subjectStatic analysis
dc.subjectStructural analysis
dc.subjectStructural properties
dc.subjectTesting
dc.subjectAnalysis techniques
dc.subjectDynamic analysis techniques
dc.subjectFirst order logic
dc.subjectProperty-based
dc.subjectStructural metrics
dc.subjectStructural programs
dc.titlePBCOV: a property-based coverage criterion
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
2015-5045.pdf
Size:
1.29 MB
Format:
Adobe Portable Document Format