Measuring the structural complexity of feature models

The automated analysis of feature models (FM) is based on SAT, BDD, and CSP - known NP-complete problems. Therefore, the analysis could have an exponential worst-case execution time. However, for many practical relevant analysis cases, state-of-the-art (SOTA) analysis tools quite successfully master the problem of exponential worst-case execution time based on heuristics. So far, however, very little is known about the structure of FMs that cause the cases in which the execution time (hardness) for analyzing a given FM increases unpredictably for SOTA analysis tools. In this paper, we propose to use width measures from graph theory to characterize the structural complexity of FMs as a basis for an estimation of the hardness of analysis operations on FMs with SOTA analysis tools. We present an experiment that we use to analyze the reasonability of graph width measures as metric for the structural complexity of FMs and the hardness of FM analysis. Such a complexity metric can be used as a basis for a unified method to systematically improve SOTA analysis tools.

[1]  Vytautas Štuikys,et al.  MEASURING COMPLEXITY OF DOMAIN MODELS REPRESENTED BY FEATURE DIAGRAMS , 2015 .

[2]  Hans L. Bodlaender,et al.  Treewidth: Characterizations, Applications, and Computations , 2006, WG.

[3]  Antonio Ruiz Cortés,et al.  Automated Reasoning on Feature Models , 2005, CAiSE.

[4]  Dániel Marx,et al.  Approximating fractional hypertree width , 2009, TALG.

[5]  Robert Ganian,et al.  Better Algorithms for Satisfiability Problems for Formulas of Bounded Rank-width , 2010, FSTTCS.

[6]  Krzysztof Czarnecki,et al.  SAT-based analysis of feature models is easy , 2009, SPLC.

[7]  Marko Samer,et al.  Constraint satisfaction with bounded treewidth revisited , 2006, J. Comput. Syst. Sci..

[8]  Justyna Petke,et al.  The Order Encoding: From Tractable CSP to Tractable SAT , 2011, SAT.

[9]  Tim Menzies,et al.  On the value of user preferences in search-based software engineering: A case study in software product lines , 2013, 2013 35th International Conference on Software Engineering (ICSE).

[10]  Antonio Ruiz-Cortés,et al.  ETHOM: An Evolutionary Algorithm for Optimized Feature Models Generation , 2013 .

[11]  Robert Ganian,et al.  Better Algorithms for Satisfiability Problems for Formulas of Bounded Rank-width , 2010, Fundam. Informaticae.

[12]  Petr Hliněný,et al.  Are There Any Good Digraph Width Measures? , 2010, IPEC.

[13]  Toby Walsh,et al.  Handbook of Satisfiability: Volume 185 Frontiers in Artificial Intelligence and Applications , 2009 .

[14]  Claes Wohlin,et al.  Experimentation in software engineering: an introduction , 2000 .

[15]  Geert Janssen A consumer report on BDD packages , 2003, 16th Symposium on Integrated Circuits and Systems Design, 2003. SBCCI 2003. Proceedings..

[16]  Krzysztof Czarnecki,et al.  The Variability Model of The Linux Kernel , 2010, VaMoS.

[17]  Klaus Pohl,et al.  A performance comparison of contemporary algorithmic approaches for automated analysis operations on feature models , 2011, 2011 26th IEEE/ACM International Conference on Automated Software Engineering (ASE 2011).

[18]  Jesús García-Galán,et al.  BETTY: Benchmarking and Testing on the Automated Analysis of Feature Models , 2012 .

[19]  Itay Maman,et al.  Sans Constraints? Feature Diagrams vs. Feature Models , 2010, SPLC.

[20]  Sang-il Oum,et al.  Rank-width and vertex-minors , 2005, J. Comb. Theory B.

[21]  Krzysztof Czarnecki,et al.  Cool features and tough decisions: a comparison of variability modeling approaches , 2012, VaMoS.

[22]  Martin Grohe,et al.  The Structure of Tractable Constraint Satisfaction Problems , 2006, MFCS.

[23]  Klaus Pohl,et al.  Software Product Line Engineering , 2005 .

[24]  Paul D. Seymour,et al.  Graph minors. III. Planar tree-width , 1984, J. Comb. Theory B.

[25]  Yael Ben-Haim,et al.  Perfect Hashing and CNF Encodings of Cardinality Constraints , 2012, SAT.

[26]  Simon de Givry,et al.  Exploiting Problem Structure for Solution Counting , 2009, CP.

[27]  Carsten Sinz,et al.  Towards an Optimal CNF Encoding of Boolean Cardinality Constraints , 2005, CP.

[28]  Marcilio Mendonça,et al.  Efficient Reasoning Techniques for Large Scale Feature Models , 2009 .

[29]  Dragan Gasevic,et al.  Assessing the maintainability of software product line feature models using structural metrics , 2011, Software Quality Journal.

[30]  Sergio Segura,et al.  Automated analysis of feature models 20 years later: A literature review , 2010, Inf. Syst..

[31]  Joao Marques-Silva,et al.  Empirical Study of the Anatomy of Modern Sat Solvers , 2011, SAT.

[32]  Klaus Pohl,et al.  Software Product Line Engineering - Foundations, Principles, and Techniques , 2005 .

[33]  Bruno Courcelle,et al.  Upper bounds to the clique width of graphs , 2000, Discret. Appl. Math..

[34]  Kyo Chul Kang,et al.  Feature-Oriented Domain Analysis (FODA) Feasibility Study , 1990 .

[35]  Antonio Ruiz Cortés,et al.  A First Step Towards a Framework for the Automated Analysis of Feature Models , 2006 .

[36]  Pierre-Yves Schobbens,et al.  Feature Diagrams: A Survey and a Formal Semantics , 2006, 14th IEEE International Requirements Engineering Conference (RE'06).

[37]  Francisco J. Cazorla,et al.  CPU Accounting for Multicore Processors , 2012, IEEE Transactions on Computers.

[38]  Georg Gottlob,et al.  Width Parameters Beyond Tree-width and their Applications , 2008, Comput. J..

[39]  Mutsunori Banbara,et al.  Compiling Finite Linear CSP into SAT , 2006, CP.