loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Authors: Samia Al Blwi 1 ; Amani Ayad 2 ; Besma Khaireddine 3 ; Imen Marsit 4 and Ali Mili 1

Affiliations: 1 NJIT, Newark NJ, U.S.A. ; 2 Kean University, Union NJ, U.S.A. ; 3 University of Tunis El Manar, Tunis, Tunisia ; 4 University of Sousse, Sousse, Tunisia

Keyword(s): Software Testing, Test Suite Effectiveness, Syntactic Coverage, Mutation Coverage, Semantic Coverage.

Abstract: Several syntactic measures have been defined in the past to assess the effectiveness of a test suite: statement coverage, condition coverage, branch coverage, path coverage, etc. There is ample analytical and empirical evidence to the effect that these are imperfect measures: exercising all of a program’s syntactic features is neither necessary nor sufficient to ensure test suite adequacy; not to mention that it may be impossible to exercise all the syntactic features of a program (re: unreachable code). Mutation scores are often used as reliable measures of test suite effectiveness, but they have issues of their own: some mutants may survive because they are equivalent to the base program not because the test suite is inadequate; the same mutation score may mean vastly different things depending on whether the killed mutants are distinct from each other or equivalent; the same test suite and the same program may yield different mutation scores depending on the mutation operators tha t we use. Fundamentally, whether a test suite T is adequate for a program P depends on the semantics of the program, the specification that the program is tested against, and the property of correctness that the program is tested for (total correctness, partial correctness). In this paper we present a formula for the effectiveness of a test suite T which depends exactly on the semantics of P, the correctness property that we are testing P for, and the specification against which this correctness property is tested; it does not depend on the syntax of P, nor on any mutation experiment we may run. We refer to this formula as the semantic coverage of the test suite, and we investigate its properties. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.137.170.183

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Al Blwi, S.; Ayad, A.; Khaireddine, B.; Marsit, I. and Mili, A. (2023). Semantic Coverage: Measuring Test Suite Effectiveness. In Proceedings of the 18th International Conference on Software Technologies - ICSOFT; ISBN 978-989-758-665-1; ISSN 2184-2833, SciTePress, pages 287-294. DOI: 10.5220/0012063900003538

@conference{icsoft23,
author={Samia {Al Blwi}. and Amani Ayad. and Besma Khaireddine. and Imen Marsit. and Ali Mili.},
title={Semantic Coverage: Measuring Test Suite Effectiveness},
booktitle={Proceedings of the 18th International Conference on Software Technologies - ICSOFT},
year={2023},
pages={287-294},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012063900003538},
isbn={978-989-758-665-1},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 18th International Conference on Software Technologies - ICSOFT
TI - Semantic Coverage: Measuring Test Suite Effectiveness
SN - 978-989-758-665-1
IS - 2184-2833
AU - Al Blwi, S.
AU - Ayad, A.
AU - Khaireddine, B.
AU - Marsit, I.
AU - Mili, A.
PY - 2023
SP - 287
EP - 294
DO - 10.5220/0012063900003538
PB - SciTePress