Skip to main content
QUICK REVIEW

[Paper Review] Improving CASA Runtime Performance by Exploiting Basic Feature Model Analysis

Evelyn Nicole Haslinger, Roberto E. Lopez-Herrejon|arXiv (Cornell University)|Nov 28, 2013
Advanced Software Engineering MethodologiesComputer Science21 references6 citations
TL;DR

This paper enhances CASA, a simulated annealing algorithm for generating t-wise Covering Arrays (tCAs) in Software Product Lines, by integrating feature model reduction rules that eliminate redundant feature combinations. The approach accelerates runtime by 61.8% on average across 133 public feature models without compromising test coverage or array size, demonstrating significant performance gains in combinatorial testing for SPLs.

ABSTRACT

In Software Product Line Engineering (SPLE) families of systems are designed, rather than developing the individual systems independently. Combinatorial Interaction Testing has proven to be effective for testing in the context of SPLE, where a representative subset of products is chosen for testing in place of the complete family. Such a subset of products can be determined by computing a so called t-wise Covering Array (tCA), whose computation is NP-complete. Recently, reduction rules that exploit basic feature model analysis have been proposed that reduce the number of elements that need to be considered during the computation of tCAs for Software Product Lines (SPLs). We applied these rules to CASA, a simulated annealing algorithm for tCA generation for SPLs. We evaluated the adapted version of CASA using 133 publicly available feature models and could record on average a speedup of $61.8\%$ of median execution time, while at the same time preserving the coverage of the generated array.

Motivation & Objective

  • To reduce the computational cost of tCA generation in Software Product Lines (SPLs), which is NP-complete and time-intensive.
  • To integrate feature model reduction rules—previously proposed for tCA generation—into CASA, a simulated annealing-based tCA generator.
  • To evaluate whether these reductions improve CASA’s runtime without affecting the quality or size of the generated tCAs.
  • To validate that performance gains are not due to the non-deterministic nature of simulated annealing, but due to structural optimization.

Proposed method

  • Applying three feature model reduction rules to prune the search space in CASA: (1) removing features that are always selected, (2) eliminating features that are mutually exclusive or constrained, and (3) excluding t-sets containing a feature and its descendants.
  • Integrating these rules into CASA’s search process to avoid exploring invalid or redundant feature combinations during simulated annealing.
  • Using a 100-repetition evaluation per feature model to ensure statistical robustness and account for CASA’s stochastic behavior.
  • Comparing median execution times and tCA sizes between original CASA and the adapted version across 133 publicly available SPL feature models from SPLOT.
  • Performing statistical hypothesis testing to confirm that performance improvements are significant and not due to randomness.
  • Preserving the original tCA strength by ensuring that all t-wise interactions remain covered despite reduced search space.

Experimental results

Research questions

  • RQ1Can feature model reduction rules be effectively applied to a search-based tCA generator like CASA to improve performance?
  • RQ2Does the integration of reduction rules into CASA lead to a statistically significant reduction in median execution time?
  • RQ3Does the adapted CASA maintain the same tCA size and coverage strength as the original algorithm?
  • RQ4Are the performance improvements attributable to the reduction rules and not to the inherent non-determinism of simulated annealing?

Key findings

  • The adapted CASA achieved an average speedup of 61.8% in median execution time across 133 feature models, demonstrating substantial performance gains.
  • The reduction rules did not affect the size or coverage strength of the generated tCAs, preserving test effectiveness.
  • Statistical analysis confirmed that the performance improvement was significant and not due to the stochastic nature of CASA.
  • The results validate that feature model analysis can be leveraged to optimize search-based tCA generation in SPLs.
  • The third reduction rule—excluding t-sets with a feature and its descendants—remains unproven in the presence of cross-tree constraints and requires further investigation.
  • The study supports the broader applicability of search-based techniques like simulated annealing for tCA generation in constrained SPL testing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.