• Home
  • Search
  • Checked Coverage and Object Branch Coverage
  • Open Access IconOpen Access
  • Cite Icon7
  • https://doi.org/10.1145/2676723.2677300Copy DOI Icon

Checked Coverage and Object Branch Coverage

  • Feb 24, 2015
  • Zalia Shams +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Many educators currently use code coverage metrics to assess student-written software tests. While test adequacy criteria such as statement or branch coverage can also be used to measure the thoroughness of a test suite, they have limitations. Coverage metrics assess what percentage of code has been exercised, but do not depend on whether a test suite adequately checks that the expected behavior is achieved. This paper evaluates checked coverage, an alternative measure of test thoroughness aimed at overcoming this limitation, along with object branch coverage, a structure code coverage metric that has received little discussion in educational assessment. Checked coverage works backwards from behavioral assertions in test cases, measuring the dynamic slice of the executed code that actually influences the outcome of each assertion. Object branch coverage (OBC) is a stronger coverage criterion similar to weak variants of modified condition/decision coverage. We experimentally compare checked coverage and OBC against statement coverage, branch coverage, mutation analysis, and all-pairs testing to evaluate which is the best predictor of how likely a test suite is to detect naturally occurring defects. While checked coverage outperformed other coverage measures in our experiment, followed closely by OBC, both were only weakly correlated with a test suite's ability to detect naturally occurring defects produced by students in the final versions of their programs. Still, OBC appears to be an improved and practical alternative to existing statement and branch coverage measures, while achieving nearly the same benefits as checked coverage.

Similar Papers
  • Conference Article
  • Citations41

Validation vector grade (VVG): a new coverage metric for validation and test

  • Apr 26, 1999
  • P.A Thaker +2
  • Research Article
  • Citations2

Can operational profile coverage explain post‐release bug detection?

  • Jun 01, 2020
  • Software Testing, Verification and Reliability
  • Lucas Andrade +2
  • Conference Article
  • Citations7

Automated Test Case Prioritization and Evaluation using Genetic Algorithm

  • Jun 23, 2022
  • Baswaraju Swathi
  • Conference Article
  • Citations31

Fine-grained test minimization

  • May 27, 2018
  • Arash Vahabzadeh +2
  • Report Series
  • Citations14

Fine-Grained Test Minimization

  • Aug 09, 2018
  • EasyChair preprint
  • Arash Vahabzadeh +2
  • Single Report

Diablo Test Suite: Code Coverage Analysis

  • Jul 03, 2019
  • Rishi K Ganeriwala
  • Conference Article
  • Citations25

Multi-environment software testing on the grid

  • Jul 17, 2006
  • Alexandre Duarte +3
  • Conference Article
  • Citations2

Module testing embedded software-an industrial pilot project

  • Jan 01, 2001
  • J Mcdonald +3
  • Conference Article
  • Citations5

High-level decision diagram manipulations for code coverage analysis

  • Oct 01, 2008
  • Karina Minakova +6
  • Research Article
  • Citations10

Fine-grained Coverage-based Fuzzing

  • Jun 04, 2024
  • ACM Transactions on Software Engineering and Methodology
  • Wei-Cheng Wu +5
  • Research Article
  • Citations5

A Model of How Students Engineer Test Cases With Feedback

  • Jan 14, 2024
  • ACM Transactions on Computing Education
  • Austin M Shin +1
  • Research Article
  • Citations3

Assessing Effectiveness of Test Suites: What Do We Know and What Should We Do?

  • Apr 17, 2024
  • ACM Transactions on Software Engineering and Methodology
  • Peng Zhang +10
  • Conference Article
  • Citations7

On Use of Coverage Metrics in Assessing Effectiveness of Combinatorial Test Designs

  • Mar 01, 2013
  • Jacek Czerwonka
  • Research Article

A domain based new code coverage metric and a related automated test data generation method

  • Jan 01, 2012
  • Annales Universitatis Scientiarum Budapestinensis de Rolando Eötvös Nominatae. Sectio computatorica
  • Dániel Leskó +1
  • Conference Article
  • Citations3

Smother: an MC/DC analysis tool for Erlang

  • Aug 30, 2015
  • Ramsay Taylor +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.