Abstract
A large number of software product lines (SPL) in practice are not constructed from scratch, but reengineered from legacy variant products. In order to transfer legacy products to SPL core assets, reverse variability analysis should be involved to find commonality and differences among variant artifacts. In this paper we concentrate on the recovery of SPL framework which can be represented by an object-oriented design model with variation points. We propose a semi-automatic SPL framework recovery approach with the assumption that involved legacy products have similar designs and implementations. In this approach, we adopt a bottom-up process based on clone detection and context analysis to identify corresponding mappings among design elements in different products. Then we use a top-down process from class level to method level with some heuristic rules to determine the commonality/variability classification and the variability type for each design element. In order to evaluate the effectiveness of our approach, we conduct a case study on an industrial product line and present comprehensive analysis and discussions on the results.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Pohl, K., Metzger, A.: Variability management in software product line engineering. In: ICSE 2006, pp. 1049–1050. ACM, New York (2006)
Kolb, R., Muthig, D., Patzke, T., Yamauchi, K.: A case study in refactoring a legacy component for reuse in a product line. In: ICSM 2005, pp. 369–378. IEEE, Los Alamitos (2005)
Lee, H., Choi, H., Kang, K.C., Kim, D., Lee, Z.: Experience report on using a domain model-based extractive approach to software product line asset development. In: Edwards, S.H., Kulczycki, G. (eds.) ICSR 2009. LNCS, vol. 5791, pp. 137–149. Springer, Heidelberg (2009)
Frenzel, P., Koschke, R., Breu, A.P.J., Angstmann, K.: Extending the reflexion method for consolidating software variants into product lines. In: WCRE 2007, pp. 160–169. IEEE, Los Alamitos (2007)
John, I.: Integrating legacy documentation assets into a product line. In: van der Linden, F.J. (ed.) PFE 2002. LNCS, vol. 2290, pp. 78–101. Springer, Heidelberg (2002)
Knodel, J., John, I., Ganesan, D., Pinzger, M., Usero, F., Arciniegas, J.L., Riva, C.: Asset recovery and their incorporation into product lines. In: WCRE 2005, pp. 120–132. IEEE, Los Alamitos (2005)
Duszynski, S., Knodel, J., Naab, M., Hein, D., Schitter, C.: Variant comparison - A technique for visualizing software variants. In: WCRE 2008, pp. 229–233. IEEE, Los Alamitos (2008)
Fayad, M.E., Schmidt, D.C.: Object-oriented application frameworks. Communications of the ACM 40(10), 32–38 (1997)
Yang, Y.: A Software Product Line Oriented Development Model and Reverse Eliciting Domain Components. Doctoral Dissertation. Fudan University (2010) (in Chinese)
Basit, H.A., Jarzabek, S.: A Data Mining Approach for Detecting Higher-Level Clones in Software. IEEE Transactions on Software Engineering 35(4), 497–514 (2009)
Stoermer, C., O’Brien, L.: MAP - Mining Architectures for Product Line Evaluations. In: WICSA 2001, p. 35. IEEE, Los Alamitos (2001)
Smith, D.B., Brien, L.O., Bergey, J.: Using the Options Analysis for Reengineering (OAR) Method for Mining Components for a Product Line. In: Chastek, G.J. (ed.) SPLC 2002. LNCS, vol. 2379, pp. 316–327. Springer, Heidelberg (2002)
Murphy, G.C., Notkin, D., Sullivan, K.J.: Software Reflexion Models: Bridging the Gap between Design and Implementation. IEEE Trans. Softw. Eng. 27(4), 364–380 (2001)
Bianchi, A., Caivano, D., Marengo, V., Visaggio, G.: Iterative reengineering of legacy systems. IEEE Trans. Softw. Eng. 29(3), 225–241 (2003)
Nierstrasz, O., Kobel, M., Girba, T., Lanza, M., Bunke, H.: Example-driven reconstruction of software models. In: CSMR 2007, pp. 275–284. IEEE, Los Alamitos (2007)
Tahvildari, L.: Quality-driven object-oriented re-engineering framework. In: ICSM 2004, pp. 479–483. IEEE, Los Alamitos (2004)
Collard, M.L.: An infrastructure to support meta-differencing and refactoring of source code. In: ASE 2003, pp. 377–380. IEEE, Los Alamitos (2003)
Maletic, J.I., Collard, M.L.: Supporting source code difference analysis. In: 20th IEEE International Conference on Software Maintenance, pp. 210–219. IEEE, Los Alamitos (2004)
Canfora, G., Cerulo, L., Penta, M.D.: Ldiff: An enhanced line differencing tool. In: 31st International Conference on Software Engineering, pp. 595–598. IEEE, Los Alamitos (2009)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wu, Y., Yang, Y., Peng, X., Qiu, C., Zhao, W. (2011). Recovering Object-Oriented Framework for Software Product Line Reengineering. In: Schmid, K. (eds) Top Productivity through Software Reuse. ICSR 2011. Lecture Notes in Computer Science, vol 6727. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21347-2_10
Download citation
DOI: https://doi.org/10.1007/978-3-642-21347-2_10
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-21346-5
Online ISBN: 978-3-642-21347-2
eBook Packages: Computer ScienceComputer Science (R0)