skip to main content
10.1145/1985793.1985856acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Reverse engineering feature models

Published:21 May 2011Publication History

ABSTRACT

Feature models describe the common and variable characteristics of a product line. Their advantages are well recognized in product line methods. Unfortunately, creating a feature model for an existing project is time-consuming and requires substantial effort from a modeler.

We present procedures for reverse engineering feature models based on a crucial heuristic for identifying parents - the major challenge of this task. We also automatically recover constructs such as feature groups, mandatory features, and implies/excludes edges. We evaluate the technique on two large-scale software product lines with existing reference feature models--the Linux and eCos kernels--and FreeBSD, a project without a feature model. Our heuristic is effective across all three projects by ranking the correct parent among the top results for a vast majority of features. The procedures effectively reduce the information a modeler has to consider from thousands of choices to typically five or less.

References

  1. A. V. Aho, M. R. Garey, and J. D. Ullman. The transitive reduction of a directed graph. SIAM Journal on Computing, 1(2):131--137, 1972.Google ScholarGoogle ScholarCross RefCross Ref
  2. V. Alves, C. Schwanninger, L. Barbosa, A. Rashid, P. Sawyer, P. Rayson, C. Pohl, and A. Rummler. An exploratory study of information retrieval techniques in domain analysis. In SPLC, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. N. Andersen. Automatic synthesis of feature models based on satisfiability checking. Master's thesis, IT University of Copenhagen, 2009.Google ScholarGoogle Scholar
  4. D. Batory. Feature models, grammars, and propositional formulas. In SPLC, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. Benavides, S. Segura, and A. Ruiz-Cortés. Automated analysis of feature models 20 years later: a literature review. Information Systems, 35(6), 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. T. Berger and S. She. Formal semantics of the CDL language. Technical Note. Available at www.informatik.uni-leipzig.de/~berger/cdl_semantics.pdf.Google ScholarGoogle Scholar
  7. T. Berger, S. She, R. Lotufo, A. Wąsowski, and K. Czarnecki. Variability modeling in the real: A perspective from the operating systems domain. In ASE, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. C. Bron and J. Kerbosch. Algorithm 457: finding all cliques of an undirected graph. Commun. ACM, 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. P. Clements and L. Northrop. Software Product Lines: Practices and Patterns. Addison-Wesley, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. K. Czarnecki, C. H. P. Kim, and K. Kalleberg. Feature models are views on ontologies. In SPLC, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. K. Czarnecki and A. Wąsowski. Feature models and logics: There and back again. In SPLC, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. M. Janota, V. Kuzina, and A. Wasowski. Model construction with external constraints: An interactive journey from semantics to syntax. In MoDELS, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. K. Kang, S. Cohen, J. Hess, W. Nowak, and S. Peterson. Feature-oriented domain analysis (FODA) feasibility study. Technical Report Carnegie Mellon University/SEI-90-TR-21, 1990.Google ScholarGoogle Scholar
  14. N. Niu and S. M. Easterbrook. On-demand cluster analysis for product line functional requirements. In SPLC, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. S. She and T. Berger. Formal semantics of the Kconfig language. Technical Note. Available at: eng.uwaterloo.ca/~shshe/kconfig_semantics.pdf.Google ScholarGoogle Scholar
  16. S. She, R. Lotufo, T. Berger, A. Wąsowski, and K. Czarnecki. The variability model of the linux kernel. In VaMoS, 2010.Google ScholarGoogle Scholar
  17. J. Sincero, H. Schirmeier, W. Schröder-Preikschat, and O. Spinczyk. Is The Linux Kernel a Software Product Line? In SPLC-OSSPL, 2007.Google ScholarGoogle Scholar
  18. G. Snelting. Reengineering of configurations based on mathematical concept analysis. TOSEM, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. N. Weston, R. Chitchyan, and A. Rashid. A framework for constructing semantically composable feature models from natural language requirements. In SPLC, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. R. Zippel and contributors. kconfig-language.txt. available in the kernel tree at kernel.org, seen 2009-11/23.Google ScholarGoogle Scholar

Index Terms

  1. Reverse engineering feature models

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          ICSE '11: Proceedings of the 33rd International Conference on Software Engineering
          May 2011
          1258 pages
          ISBN:9781450304450
          DOI:10.1145/1985793

          Copyright © 2011 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 21 May 2011

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate276of1,856submissions,15%

          Upcoming Conference

          ICSE 2025

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader