Skip to main content
Log in

Specification and use of concern metrics for supporting modularity-oriented modernizations

  • Published:
Software Quality Journal Aims and scope Submit manuscript

Abstract

Bad modularized concerns are a known deficiency of legacy systems, making their maintenance increasingly harder and expensive. An alternative is to conduct a modularity-oriented modernization (MOM), whose goal is to restructure concerns for making them more modular. Architecture-driven modernization (ADM) is a model-based alternative for that—it is a kind of reengineering that employs standard metamodels along the process. Knowledge Discovery Metamodel (KDM) is the main one, and it is used for representing all aspects of an existing system to be modernized. ADM also delivers a metamodel called Structured Metrics Metamodel (SMM) whose goal is to standardize the specification of metrics, measurement processes, and results of the measurements. A central task in any modernization process is to measure, characterizing quantitatively, the legacy and the modernized version to check if problems were solved/assuaged. In a MOM, it is important to measure to what extent the concerns are spread across the system using concern metrics. However, there are no studies that investigate how SMM can be used to specify concern metrics in MOMs. Therefore, we present our approach of how to use SMM for specifying concern metrics in a modularity-oriented modernization in the ADM context, i.e., using KDM and SMM. We detail the specification of two concern metrics: Concern Diffusion over Operations (CDO) and Concern Diffusion over Components (CDC). Besides, we also present a tool that can be used in a MOM to support the measurement process

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Listing 1
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

References

  • ADM. (2009). Architecture-driven modernization standards roadmap. https://www.omg.org/adm/ADMTF%20Roadmap.pdf. Accessed: 2019-10-12.

  • Al-Wadeai, O., García-Domínguez, A., Bagnato, A., Abherve, A., & Barmpis, K. (2018). Integration of hawk for model metrics in the MEASURE platform. In Proceedings of the 6th international conference on model-driven engineering and software development, MODELSWARD 2018, Funchal, Madeira - Portugal, January 22-24, 2018. https://doi.org/10.5220/0006732207190730 (pp. 719–730).

  • Ali, M.S., Babar, M.A., Chen, L., & Stol, K.-J. (2010). A systematic review of comparative evidence of aspect-oriented programming. Information and Software Technology, 52(9), 871–887. https://doi.org/10.1016/j.infsof.2010.05.003.

    Article  Google Scholar 

  • Bagnato, A., & Rocheteau, J. (2018). Towards green metrics integration in the measure platform. In (Vol. 2286 pp. 39–43). (cited By 1).

  • Bagnato, A., Sadovykh, A., Dahab, S., Maag, S., Cavalli, A.R., Stefanescu, A., & et al. (2017). Modeling OMG SMM metrics using the Modelio modeling tool in the MEASURE project. Génie logiciel (120):46–52. https://hal.archives-ouvertes.fr/hal-01534818.

  • Bagnato, A., Sadovykh, A., & Marcos, A. Measure (measuring software engineering). https://forge.modelio.org/projects/smm. Accessed: 2019-11-08.

  • Bruneliere, H., Cabot, J., Jouault, F., & Madiot, F. (2010). Modisco: a generic and extensible framework for model driven reverse engineering. In Proceedings of the IEEE/ACM international conference on automated software engineering (pp. 173–174). New York: ACM.

  • Camargo, V.V., & Masiero, P.C. (2005). Frameworks orientados a aspectos. In XIX brazilian symposium on software engineering (SBES), 19, 200–216.

    Google Scholar 

  • Canovas Izquierdo, J., Zapata, B., & Molina, J. (2009). Definición y ejecución de métricas en el contexto de adm. In Taller sobre desarrollo de software dirigido por modelos (DSDM) (pp. 1–10).

  • Ceccato, M., & Tonella, P. (2004). Measuring the effects of software aspectization. In 1st workshop on aspect reverse engineering, Vol. 12.

  • Comella-Dorda, Wallnau, Seacord, & Robert. (2000). A survey of black-box modernization approaches for information systems. In Proceedings 2000 international conference on software maintenance (pp. 173–183).

  • Dargham, J., & Al-Nasrawi, S. (2005). Web engineering: an aspect oriented approach. In Proceedings of the seventh international conference on enterprise information systems (pp. 267–270).

  • De Vargas Agilar, E., De Almeida, R.B., & Canedo, E.D. (2016). A systematic mapping study on legacy system modernization. cited By 3, (Vol. 2016-January pp. 345–350).

  • Ducasse, S., Gîrba, T., & Kuhn, A. (2006). Distribution map. In 2006 22nd IEEE international conference on software maintenance (pp. 203–212).

  • Durelli, R.S., Santibánez~, D.S., Delamaro, M.E., & de Camargo, V.V. (2014). Towards a refactoring catalogue for knowledge discovery metamodel. In Information reuse and integration (IRI), 2014 IEEE 15th international conference on (pp. 569–576).

  • Durelli, R.S., Santibáñez, D.S.M., Marinho, B., Honda, R., Delamaro, M.E., Anquetil, N., & et al. (2014). A mapping study on architecture-driven modernization. In Proceedings of the 2014 IEEE 15th international conference on information reuse and integration (IEEE IRI 2014) (pp. 577–584).

  • Eaddy, M., Aho, A., & Murphy, G.C. (2007). Identifying, assigning, and quantifying crosscutting concerns. In Proceedings of the first international workshop on assessment of contemporary modularization techniques (pp. 2–). Washington: IEEE Computer Society, DOI https://doi.org/10.1109/ACOM.2007.4.

  • Evermann, J. (2007). An overview and an empirical evaluation of uml: an uml profile for aspect-oriented frameworks. In Workshop AOM’07.

  • Frey, S., Hoorn, A., Jung, R., Kiel, B., & Hasselbring, W. (2012). Mamba: model-based software analysis utilizing omg’s smm. Softwaretechnik-Trends, 32(2), 49–50.

    Article  Google Scholar 

  • Frey, S., van Hoorn, A., Jung, R., Hasselbring, W., & Kiel, B. (2011). Mamba: a measurement architecture for model-based analysis.

  • Hein, C., Engelhardt, M., Ritter, T., & Wagner, M. (2009). Generation of formal model metrics for MOF based domain specific languages. ECEASST, 24.

  • Jacyntho, M.D., Schwabe, D., & Rossi, G. (2002). A software architecture for structuring complex web applications. Journal of Web Engineering, 1, 37–60.

    Google Scholar 

  • Kazman, R., Woods, S.G., & Carriere, S.J. (1998). Requirements for integrating software architecture and reengineering models: Corum ii. In Proceedings fifth working conference on reverse engineering (Cat. No.98TB100261) (pp. 154–163).

  • Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., Loingtier, J.-M., & Irwin, J. (1997). Aspect-oriented programming. In European conference on object-oriented programming (pp. 220–242).

  • Kiczales, G., & Mezini, M. (2005). Aspect-oriented programming and modular reasoning. In Proceedings 27th international conference on software engineering, 2005. ICSE 2005 (pp. 49–58).

  • Kulesza, U., Soares, S., Chavez, C., Castor, F., Borba, P., Lucena, C., & et al. (2013). The crosscutting impact of the aosd brazilian research community. Journal of Systems and Software, 86(4), 905–933. SI: Software engineering in Brazil: retrospective and prospective views.

    Article  Google Scholar 

  • La Fosse, T.B., Mottu, J-M, Tisi, M., & Sunyé, G. (2018). Characterizing a source code model with energy measurements.

  • Landi, A.S., Chagas, F., Santos, B.M., Costa, R.S., Durelli, R., Terra, R., & et al. (2017). Supporting the specification and serialization of planned architectures in architecture-driven modernization context. In 2017 IEEE 41st annual computer software and applications conference (COMPSAC) (pp. 327–336).

  • Lopez, R.E., & Apel, S. (2007). Measuring and characterizing crosscutting in aspect-based programs: basic metrics and case studies. In Dwyer, M.B., & Lopes, A. (Eds.) Fundamental approaches to software engineering (pp. 423–437). Berlin: Springer.

  • Marin, M., Moonen, L., & van Deursen, A. (2005). A classification of crosscutting concerns. In 21st IEEE international conference on software maintenance (ICSM’05) (pp. 673–676).

  • Pérez-Castillo, R., de Guzmán, I.G.-R., & Piattini, M. (2011). Knowledge discovery metamodel-iso/iec 19506: a standard to modernize legacy systems. Computer Standards & Interfaces, 33(6), 519–532.

    Article  Google Scholar 

  • Raheman, S.R., Maringanti, H.B., & Rath, A.K. (2018). Aspect oriented programs: issues and perspective. Journal of Electrical Systems and Information Technology, 5(3), 562–575.

    Article  Google Scholar 

  • Rajlich, V. (2014). Software evolution and maintenance. In Proceedings of the on future of software engineering, FOSE 2014 (pp. 133–144). New York: ACM, DOI https://doi.org/10.1145/2593882.2593893.

  • San Martín Santibáñez, D., Durelli, R.S., & Camargo, V.V. (2015). A combined approach for concern identification in kdm models. Journal of the Brazilian Computer Society, 21(1), 10.

    Article  Google Scholar 

  • San Martín Santibáñez, D., Durelli, R., Marinho, B., & Camargo, V V. (2012). CCKDM – A concern mining tool for assisting in the architecture-driven modernization process.. In Proceedings of the brazilian conference on software: theory and practice (tool session).

  • Sant’Anna, C., Garcia, A., Chavez, C., Chavez, G., Lucena, C., & Staa, A. (2003). On the reuse and maintenance of aspect-oriented software: an assessment framework. Brazilian Symposium on Software Engineering.

  • Sant’Anna, C., Garcia, A., Chavez, C., Lucena, C., & Von Staa, A. (2003). On the reuse and maintenance of aspect-oriented software: an assessment framework. In Proceedings of Brazilian symposium on software engineering (pp. 19–34).

  • Santos, B., Martín, D.S., Honda, R., & de Camargo, V.V. (2019). Concern metrics for modularity-oriented modernizations. In Piattini, M, Rupino da Cunha, P., García Rodríguez de Guzmán, I., & Pérez-Castillo, R (Eds.) Quality of information and communications technology (pp. 225–238). Cham: Springer International Publishing.

  • Santos, B.M., Honda, R.R., Durelli, R.S., & d. Camargo, V.V. (2014). KDM-AO: an aspect-oriented extension of the knowledge discovery metamodel. In 2014 Brazilian symposium on software engineering (pp. 61–70).

  • Santos, B.M., Landi, A.S., Santibáñez, D.S., Durelli, R.S., & Camargo, V.V. (2019). Evaluating the extension mechanisms of the knowledge discovery metamodel for aspect-oriented modernizations. Journal of Systems and Software, 149, 285–304.

    Article  Google Scholar 

  • SMM. (2018). Structured metrics meta-model (smm). https://www.omg.org/spec/SMM/About-SMM/. Accessed: 2019-10-12.

  • Ulrich, W.M., & Newcomb, P. (2010). Information systems transformation: architecture-driven modernization case studies. San Mateo: Morgan Kaufmann.

    Google Scholar 

  • Wagner, C. (2014). Model-driven software migration: a methodology reengineering, recovery and modernization of legacy systems. New York: Springer.

    Book  Google Scholar 

  • Wong, W.E., Gokhale, S.S., & Horgan, J.R. (2000). Quantifying the closeness between program components and features. Journal of Systems and Software, 54(2), 87–98. Special Issue on Software Maintenance.

    Article  Google Scholar 

Download references

Funding

This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001 and by FAPESP process number 2016/03104-0. We also would like to thank CONICYT PFCHA/DOCTORADO BECAS CHILE/2016 - 72170024.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daniel San Martín.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Martín, D.S., Angulo, G., Marinho, B. et al. Specification and use of concern metrics for supporting modularity-oriented modernizations. Software Qual J 28, 1087–1111 (2020). https://doi.org/10.1007/s11219-020-09528-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11219-020-09528-9

Keywords

Navigation