Testing software product lines poses a severe practical challenge for software engineering teams because modern configurable systems can generate thousands or even millions of distinct derivable software products. Testing each conceivable product configuration in isolation is computationally prohibitive and resource-intensive, which often causes the quality assurance phase of the software development life cycle to become expensive in terms of time, personnel, and institutional budget. To address this testing bottleneck, researchers have historically focused on selecting smaller subsets of configurations to test while attempting to maintain high coverage of feature combinations. However, the order in which those selected products are executed has received substantially less research attention, despite its potential to reveal critical defects earlier in the verification cycle. In a replication and extension study published in the journal Automated Software Engineering, researchers Andrada Georgia Tiutin and Andreea Vescan systematically re-examined test case prioritization strategies across multiple software product line architectures, testing whether novel structural metrics derived directly from feature models could accelerate early fault detection during automated testing workflows.
Formally defined in empirical software engineering literature, test case prioritization seeks to organize the execution sequence of an existing test suite such that test cases with the highest priority or test adequacy are run first. When tests that have the greatest likelihood of discovering defects are positioned at the beginning of the testing pipeline, software engineers receive rapid feedback regarding critical system failures, which facilitates quicker debugging and lower remediation costs. In software product lines, a feature model serves as the foundational artifact representing all allowable products, modeling features as nodes in a tree structure where parent-child edges define structural dependencies. These relationships include mandatory features that must be included whenever the parent feature is chosen, optional features that can be selectively activated or omitted, alternative groups where exactly one child feature must be chosen among several options, and inclusive-or groups where at least one child feature must be selected. Furthermore, cross-tree constraints establish global logical rules across distinct branches, using requires dependencies where selecting one feature mandates the inclusion of another, or excludes constraints where the selection of one feature strictly forbids the presence of another. Because feature models dictate the validity of every system instance, their underlying topology directly influences which configurations are susceptible to fault interactions.
To evaluate how effectively an execution sequence surfaces defects, the researchers measured performance using the Average Percentage of Faults Detected metric, known as APFD. The APFD calculation yields a real-valued score representing the weighted average of the proportion of total seeded faults discovered throughout the execution of an ordered test suite. If an automated test sequence executes test cases that reveal all known faults right at the beginning of the test run, the resulting APFD value approaches one, signifying maximum prioritization effectiveness and minimal delay in error exposure. Conversely, if fault-revealing configurations appear near the conclusion of the test schedule, the metric drops accordingly. In their experimental design, Tiutin and Vescan formulated their investigation around the Goal Question Metric framework, pursuing two central goals: confirming the original findings of an influential baseline study by Sanchez and colleagues published in 2014 by replicating its experimental setup with different researchers, and assessing the prioritization impact of introducing two entirely new metrics based on variability and configuration flexibility.
The replication component of the study focused on validating the original benchmark metrics established by Sanchez and colleagues, specifically evaluating Coefficient of Connectivity-Density, denoted as CoC, alongside Variability Coverage and Cyclomatic Complexity, denoted as VC&CC, against an unprioritized random baseline. The Coefficient of Connectivity-Density metric captures the structural density of a feature model by calculating the ratio between the total number of edges and the total number of features in the graph representation, reflecting how tightly interconnected the various system components are. In contrast, the Variability Coverage and Cyclomatic Complexity metric evaluates both the control-flow complexity and the diversity of configuration choices. In this composite formulation, cyclomatic complexity corresponds directly to the total number of cross-tree constraints present in the model, since closed cycles within an otherwise strictly hierarchical tree model are created solely by cross-tree rules. Variability coverage quantifies the total count of variation points, which are non-leaf features possessing at least one non-mandatory subfeature or optional child. Under the VC&CC criterion, configurations exhibiting higher combined mathematical values are hypothesized to be more error-prone, thereby earning earlier placement in the testing schedule.
Beyond replicating established protocols, Tiutin and Vescan extended the state of the art by proposing and implementing two new prioritization criteria: the Ratio of Variability, abbreviated as RoV, and the Flexibility of Configuration, abbreviated as FoC. Both metrics were selected from software engineering literature because they quantify specific configuration properties that directly affect how designers assemble software products when optional components are present. The Ratio of Variability measures the average branching factor of parent nodes within the feature model tree, computed mathematically by dividing the cardinality of non-root child features by the cardinality of non-leaf parent features. A higher branching ratio indicates a broader structural fan-out of subcomponents across the product line hierarchy. Meanwhile, the Flexibility of Configuration metric measures the proportion of optional features relative to the total number of available features within the feature model. When a feature model contains a substantial proportion of optional features, software engineers and configuration tools possess significantly greater freedom of choice during product assembly, resulting in higher combinatorial complexity that can complicate system stability.
To rigorously test these competing prioritization criteria across varied architectural scales, the authors assembled an experimental dataset consisting of nine distinct feature models divided evenly into three size categories. The first set comprised three small feature models containing between 50 and 100 features, selected from the public SPLOT repository. The second set included three intermediate feature models containing between 100 and 300 features, also retrieved from SPLOT. The third category consisted of three large-scale synthetic feature models containing between 300 and 500 features, generated using the online BeTTy feature model generator. To simulate realistic defects across the nine models, the researchers utilized an automated fault generator identical to that employed by Sanchez and colleagues. This tool introduced ten faults per model, evenly distributed into four categories: 25 percent in single individual features, 25 percent in pairs of interacting features, 25 percent in triples of features, and 25 percent in quadruples of features. This seeded distribution reflects empirical findings in software testing showing that real-world faults predominantly stem from subtle interactions among two to four software features.
The experimental replication results confirmed the validity of the baseline findings across all nine feature models, demonstrating that the structural metrics implemented in the original work produced reproducible results when evaluated by different researchers. The composite VC&CC metric demonstrated the strongest overall prioritization capability, achieving the highest APFD fault detection score in six out of the nine investigated feature models, representing 66.66 percent of the experimental cases. The histograms comparing the replicated results to the published results of Sanchez and colleagues revealed closely aligned performance distributions across the small, intermediate, and large model groups. In contrast, the unprioritized random baseline criterion yielded the worst fault detection performance, achieving scores above 90 in only four instances and recording the lowest APFD value in seven out of the nine feature models.
When examining the performance of the newly proposed criteria, both Flexibility of Configuration and Ratio of Variability delivered competitive results, outperforming the established Coefficient of Connectivity-Density criterion in six out of the nine cases. Moreover, FoC and RoV secured the highest APFD score in three out of the nine evaluated models, demonstrating superior prioritization efficiency over both CoC and VC&CC in specific instances. A detailed breakdown across model size intervals indicated that the newly introduced metrics obtained the best results in one out of three cases for models with 50 to 100 features, and in two out of three cases for models with 100 to 300 features. However, for the largest category encompassing models with 300 to 500 features, the composite VC&CC criterion maintained superior fault detection rates across all three cases. Overall, the CoC metric reached scores of at least 90 in seven out of nine models but secured the top ranking only once, demonstrating the weakest prioritization efficacy among the four metric-based strategies.
To establish the statistical significance of these experimental observations, the researchers applied the Wilcoxon Signed-Rank test across the pairwise combinations of prioritization approaches. The statistical analysis revealed significant differences with p-values below 0.05 between the random prioritization baseline and all four metric-guided approaches, confirming that structured prioritization provides a measurable improvement over arbitrary execution orders. Significant differences were also verified between VC&CC and the other three metrics, specifically CoC, FoC, and RoV. However, the Wilcoxon tests showed no statistically significant differences between CoC and FoC, between CoC and RoV, or between FoC and RoV. These findings were further corroborated by computing Cohen’s d effect sizes to assess practical magnitude. The effect size between random ordering and all metric-based criteria was large, registering minus 1.58 for VC&CC, minus 1.06 for CoC, minus 1.03 for FoC, and minus 1.06 for RoV. Similarly, large effect sizes exceeding the 0.8 benchmark appeared between VC&CC and the other criteria, registering 1.35 against CoC and 1.39 against both FoC and RoV, while comparisons between CoC, FoC, and RoV showed negligible differences.
The authors discussed several threats to validity that define the operational boundaries and limitations of their empirical findings. Regarding internal validity, using simulated seeded interaction faults and synthetic product configurations might introduce bias, though this was mitigated by relying on standardized tools like SPLAR and BeTTy along with established metric definitions from previous literature. Construct validity presents a related threat, specifically the core assumption that structural metrics derived from static feature models serve as fully accurate proxies for actual fault-revealing capability in physical execution environments. With respect to external validity, the empirical evaluation was restricted to nine feature models derived from a single experimental baseline study, which may not completely capture the intricate evolution patterns, heterogeneous codebases, and domain constraints encountered in commercial industrial software product lines. To resolve these constraints, the researchers proposed expanding future evaluations to include larger corpuses of real-world software product lines with historical defect repositories, while exploring hybrid prioritization algorithms that simultaneously integrate variability coverage, configuration flexibility, and execution history into multi-objective continuous integration frameworks.
Subject of Research: Test case prioritization criteria and empirical replication in software product line testing
Article Title: New criteria for test case prioritization for software product lines. A replication and extension study
Article References: Tiutin, A. G., & Vescan, A. (2026). New criteria for test case prioritization for software product lines. A replication and extension study. Automated Software Engineering, 33(3), Article 71. https://doi.org/10.1007/s10515-026-00619-8
Image Credits: AI Generated
DOI: 10.1007/s10515-026-00619-8
Keywords: Software Product Lines, Test Case Prioritization, Feature Models, Average Percentage of Faults Detected, Flexibility of Configuration, Ratio of Variability, Variability Coverage, Cyclomatic Complexity, Coefficient of Connectivity-Density, Empirical Software Engineering, Replication Study, Combinatorial Testing, Regression Testing, Fault Detection Rate, Software Testing Automation, Configuration Complexity, SPLOT Repository
Cite Scienmag News
Denise Maddox. (November 24, 2026). Software Product Line Testing Improves Using New Test Case Prioritization Metrics. Scienmag. https://scienmag.com/software-product-line-testing-improves-using-new-test-case-prioritization-metrics/
Denise Maddox. "Software Product Line Testing Improves Using New Test Case Prioritization Metrics." Scienmag, 24 November 2026, https://scienmag.com/software-product-line-testing-improves-using-new-test-case-prioritization-metrics/. Accessed 24 November 2026.
Denise Maddox. "Software Product Line Testing Improves Using New Test Case Prioritization Metrics." Scienmag. November 24, 2026. https://scienmag.com/software-product-line-testing-improves-using-new-test-case-prioritization-metrics/








