Skip to main content
Log in

Interactive Inconsistency Fixing in Feature Modeling

  • Regular Paper
  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

Feature models have been widely adopted to reuse the requirements of a set of similar products in a domain. In feature models’ construction, one basic task is to ensure the consistency of feature models, which often involves detecting and fixing of inconsistencies in feature models. While many approaches have been proposed, most of them focus on detecting inconsistencies rather than fixing inconsistencies. In this paper, we propose a novel dynamic-priority based approach to interactively fixing inconsistencies in feature models, and report an implementation of a system that not only automatically recommends a solution to fixing inconsistencies but also supports domain analysts to gradually reach the desirable solution by dynamically adjusting priorities of constraints. The key technical contribution is, as far as we are aware, the first application of the constraint hierarchy theory to feature modeling, where the degree of domain analysts’ confidence on constraints is expressed by using priority and inconsistencies are resolved by deleting one or more lower-priority constraints. Two case studies demonstrate the usability and scalability (efficiency) of our new approach.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Kang K C, Cohen S G, Hess J A, Novak W E, Peterson A S. Feature-oriented domain analysis (FODA) feasibility study. Technical Report, CMU-SEI 90-TR-21, Software Engineering Institute, Carnegie Mellon University, USA, Nov. 1990.

  2. Czarnecki K, Helsen S, Eisenecker U W. Formalizing cardinality-based feature models and their specialization. Software Process: Improvement and Practice, 2005, 10(1): 7-29.

    Article  Google Scholar 

  3. von der Maßen T, Lichter H. Deficiencies in feature models. In Proc. Workshop on Software Variability Management for Product Derivation, August 30-September 2, 2004.

  4. Benavides D, Segura S, Cortés A R. Automated analysis of feature models 20 years later: A literature review. Information Systems, 2010, 35(6): 615-636.

    Article  Google Scholar 

  5. Mannion M. Using first-order logic for product line model validation. In Proc. the 2nd International Software Product Line Conference, August 2002, pp.176-187.

  6. Batory D S. Feature models, grammars, and propositional formulas. In Proc. the 9th International Software Product Line Conference, September 2005, pp.7-20.

  7. Zhang W, Yan H, Zhao H, Jin Z. A BDD-based approach to verifying clone-enabled feature models' constraints and customization. In Proc. the 10th International Conference on Software Reuse, May 2008, pp.186-199.

  8. She S, Lotufo R, Berger T, Wasowski A, Czarnecki K. The variability model of the Linux kernel. In Proc. the 4th International Workshop on Variability Modelling of Software-Intensive Systems, January 2010, pp.45-51.

  9. Batory D S, Benavides D, Cortés A R. Automated analysis of feature models: Challenges ahead. Commun. ACM, 2006, 49(12): 45-47.

    Article  Google Scholar 

  10. Borning A, Freeman-Benson B N, Wilson M. Constraint hierarchies. Lisp and Symbolic Computation, 1992, 5(3): 223-270.

    Article  Google Scholar 

  11. Sannella M. SkyBlue: A multi-way local propagation constraint solver for user interface construction. In Proc. the 7th Symp. User Interface Software and Technology, Nov. 1994, pp.137-146.

  12. Sannella M. The SkyBlue constraint solver and its applications. In Proc. Workshop on Principles and Practice of Constraint Programming, Apr. 1993, pp.258-268.

  13. Zhang W, Mei H, Zhao H. Feature-driven requirement dependency analysis and high-level software design. Requir. Eng., 2006, 11(3): 205-220.

    Article  Google Scholar 

  14. Wang B, Passos L, Xiong Y, Czarnecki K, Zhao H, Zhang W. Smartfixer: Fixing software configurations based on self-adaptive priorities. In Proc. the 17th International Software Product Line Conference, Aug. 2013, pp.82-90.

  15. Czarnecki K, She S, Wasowski A. Sample spaces and feature models: There and back again. In Proc. the 12th Int. Software Product Line Conference, Sept. 2008, pp.22-31.

  16. Benavides D, Trinidad P, Cortés A R. Using constraint programming to reason on feature models. In Proc. the 17th International Conference on Software Engineering and Knowledge Engineering, July 2005, pp.677-682.

  17. Egyed A. Fixing inconsistencies in UML design models. In Proc. the 29th International Conference on Software Engineering, May 2007, pp.292-301.

  18. Trinidad P, Benavides D, Durán A, Cortés A R, Toro M. Automated error analysis for the agilization of feature modeling. J. Syst. Softw., 2008, 81(6): 883-896.

    Article  Google Scholar 

  19. White J, Schmidt D C, Benavides D, Trinidad P, Cortés A R. Automated diagnosis of product-line configuration errors in feature models. In Proc. the 12th International Software Product Line Conference, September 2008, pp.225-234.

  20. Schubert M, Felfernig A, Mandl M. Fastxplain: Conflict detection for constraint-based recommendation problems. In Proc. the 23rd International Conference on Industrial Engineering and Other Applications of Applied Intelligent Systems, June 2010, Part 1, pp.621-630.

  21. Felfernig A, Friedrich G, Jannach D, Stumptner M. Consistency-based diagnosis of configuration knowledge bases. Artificial Intelligence, 2004, 152(2): 213-234.

    Article  MATH  MathSciNet  Google Scholar 

  22. Wang B, Xiong Y, Hu Z et al. A dynamic-priority based approach to fixing inconsistent feature models. In Proc. the 13th International Conference on Model Driven Engineering Languages and Systems, October 2010, Part 1, pp.181-195.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhen-Jiang Hu.

Additional information

This work is supported by the National High Technology Research and Development 863 Program of China under Grant No. 2013AA01A605, the National Basic Research 973 Program of China under Grant No. 2011CB302604, the National Natural Science Foundation of China under Grant Nos. 61121063, U1201252, 61272163, 61202071, and 60528006, and the Japan MEXT Grant-in-Aid for Scientific Research (A) under Grant No. 25240009.

Electronic supplementary material

Below is the link to the electronic supplementary material.

ESM 1

(PDF 82 kb)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, B., Xiong, YF., Hu, ZJ. et al. Interactive Inconsistency Fixing in Feature Modeling. J. Comput. Sci. Technol. 29, 724–736 (2014). https://doi.org/10.1007/s11390-014-1462-5

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11390-014-1462-5

Keywords

Navigation