Abstract
The use of a formal definition of measures upon a metamodel assures that measures capture the software artifacts they intend for, improve repeatability and could facilitate the implementation of measures extraction tools. However, it does not assure that the measure captures the measurement concept it claims (like size, coupling, etc). For that purpose many formal frameworks had been defined. The well-known property-based framework proposed by Briand et al. defines the most important measurement concepts regardless the specific software artifacts to which these concepts are applied. In this article we define a UML/OCL model from the Briand’s framework and we relate it with the formal definition of measures upon metamodels. We describe a set of well-formed properties that a measure should verify when capturing a measurement concept (which are derived from the model). We exemplify our approach through a thorough formal definition of UML statechart diagrams measures and its well-formed constraints of size measures.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Atkinson, C., Kühne, T.: Model-Driven Development. A Metamodeling Foundation, IEEE Software 20(5), 36–41 (2003)
Baroni, A.L.: Formal Definition of Object-Oriented Design Metrics. Master of Science in Computer Science Thesis, Vrije Universiteit Brussel, Belgium (2002)
Baroni, A.L., Braz, S., e Abreu, F.B.: Using OCL to Formalize Object-Oriented Design Metrics Definitions. In: Proceedings of QUAOOSE 2002, Malaga, Spain (2002)
Baroni, A.L., e Abreu, F.B.: A Formal Library for Aiding Metrics Extraction. In: Proceedings of the Int. Workshop on Object-Oriented ReEngineering at ECOOP 2003 (2003)
Briand, L.C., Bunse, L.C., Daly, J.W.: A Controlled Experiment for evaluating Quality Guidelines on the Maintainability of Object-Oriented Designs. IEEE Trans. on Softw. Eng. 27(6), 513–530 (2001)
Briand, L.C., Wust, J., Ikonomovski, S., Lounis, H.: Investigating Quality Factors in Object Oriented Designs: An Industrial Case-Study. In: 21st Int. Conf. on Software Engineering, pp. 345–354 (1999)
Calero, C., Piattini, M., Genero, M.: Method for Obtaining Correct Metrics. In: Proceedings of the 3rd Int. Conference on Enterprise and Information Systems (ICEIS 2001), pp. 779–784 (2001)
Cruz-Lemus, J.A., Genero, M., Manso, M.E., Piattini, M.: Evaluating the Effect of Composite States on the Understandability of UML Statechart Diagrams. In: Briand, L.C., Williams, C. (eds.) MoDELS 2005. LNCS, vol. 3713, pp. 113–125. Springer, Heidelberg (2005)
Cruz-Lemus, J.A., Genero, M., Morasca, S., Piattini, M.: Assessing the Understandability of UML Statechart Diagrams with Composite States - A Family of Empirical Studies. Submitted to Empirical Software Engineering (2007)
Cruz-Lemus, J.A., Genero, M., Piattini, M.: Metrics for UML Statechart Diagrams. In: Proceedings of Metrics for Conceptual Models. Imperial College Press, UK (2005)
Cruz-Lemus, J.A., Genero, M., Piattini, M., Toval, A.: An Empirical Study of the Nesting Level of Composite States within UML Statechart Diagrams. In: Akoka, J., Liddle, S.W., Song, I.-Y., Bertolotto, M., Comyn-Wattiau, I., van den Heuvel, W.-J., Kolp, M., Trujillo, J., Kop, C., Mayr, H.C. (eds.) ER Workshops 2005. LNCS, vol. 3770, pp. 12–22. Springer, Heidelberg (2005)
Denger, C., Ciolkowski, M.: High Quality Statecharts through Tailored, Perspective-Based Inspections. In: EUROMICRO 2003, pp. 316–325 (2003)
Evermann, J., Wand, Y.: Toward Formalizing Domain Modeling Semantics in Language Syntax. IEEE Trans. on Soft. Eng. 31(1) (2005)
ISO/IEC 9126. Software Product Evaluation-Quality Characteristics and Guidelines for their Use, Geneva
Kitchenham, B., Pfleeger, S.L., Fenton, N.: Towards a Framework for Software Measurement Validation. IEEE Trans. on Softw. Eng. 21(12), 929–944 (1995)
Object Management Group. MDA The OMG Model Driven Architecture (2002), http://www.omg.org./mda/
Object Management Group. UML 2.0 OCL 2nd revised submission. OMG Document, http://www.omg.org
Object Management Group. UML Specification Version 1.4.2, OMG Document formal04-07-02, http://www.omg.org
Reynoso, L., Genero, M., Piattini, M.: OCL2: Using OCL in the Formal Definition of OCL Expression Measures. In: Proceedings of the 1st Workshop on Quality in Modeling QIM co-located with the ACM/IEEE MODELs 2006 (2006)
Saeki, M., Kaiya, H.: Model Metrics and Metrics of Model Transformation. In: Proceedings of 1st Workshop on Quality in Modeling, Genova, Italy, October 1, pp. 31–45 (2006)
Sunyé, G., Pollet, D., Le Traon, Y., Jézéquel, J.-M.: Refactoring UML Models. In: Gogolla, M., Kobryn, C. (eds.) UML 2001. LNCS, vol. 2185, pp. 134–148. Springer, Heidelberg (2001)
Tang, M.-H., Chen, M.-H.: Measuring OO Design Metrics from UML. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, pp. 368–382. Springer, Heidelberg (2002)
Vinter, R., Loomes, M., Kornbrot, R.: Applying Software Metrics to Formal Specifications: A Cognitive Approach. In: Proceedings of 5th. Int. Symposium on Softw. Metrics, March 20- 21, pp. 216–223 (1998)
Briand, L.C., Morasca, S., Basili, V.R.: Property-Based Software Engineering Measurement. IEEE Trans. Softw. Eng. 22(1), 68–86 (1996)
Reynoso, L., Rolón, E., Genero, M., García, F., Ruiz, F., Piattini, M.: Formal Definition of Measures for BPMN Models. In: Abran, A., Braungarten, R., Dumke, R.R., Cuadrado-Gallego, J.J., Brunekreef, J. (eds.) IWSM 2009. LNCS, vol. 5891, pp. 285–306. Springer, Heidelberg (2009)
Monperrus, M., Jézéquel, J.-M., Champeau, J., Hoeltzener, B.: A Model-Driven Measurement Approach. In: Czarnecki, K., Ober, I., Bruel, J.-M., Uhl, A., Völter, M. (eds.) MODELS 2008. LNCS, vol. 5301, pp. 505–519. Springer, Heidelberg (2008)
Genero, M., Piattini, M., Chaudron, M.: Quality of UML models. Information & Software Technology 51(12), 1629–1630 (2009)
Monperrus, M., Jézéquel, J.M., Champeau, J., Hoeltzener, B.: Measuring Models. In: Rech, J., Bunse, C. (eds.) Model-Driven Software Development: Integrating Quality Assurance. IDEA Group (2008)
Reynoso, L., Genero, M., Piattini, M.: Refinement and Extension of SMDM, a Method for Defining Valid Measures. J. UCS 16(21), 3210–3244 (2010)
Reynoso, L., Cruz-Lemus, J.A., Genero, M., Piattini, M.: Formal Definition of Measures for UML Statechart Diagrams using OCL. In: Proceedings of the, ACM Symposium on Applied Computing, SAC 2008, pp. 846–847 (2008)
Reynoso, L., Amaolo, M., Dolz, D., Vaucheret, C., Álvarez, M.: A Briand et al.’s framework-based UML/OCL Model for Increasing the Rigorousness of Measures Definition (2013), Tech. Report UNC-UNPSJB, https://www.dropbox.com/sh/9vs6uy0re1owm8t/1tc2XIM3Yy/TechnicalReportFbPB.pdf
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Reynoso, L., Amaolo, M., Dolz, D., Vaucheret, C., Álvarez, M. (2013). Increasing the Rigorousness of Measures Definition through a UML/OCL Model Based on the Briand et al.’s Framework. In: Murgante, B., et al. Computational Science and Its Applications – ICCSA 2013. ICCSA 2013. Lecture Notes in Computer Science, vol 7973. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39646-5_4
Download citation
DOI: https://doi.org/10.1007/978-3-642-39646-5_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-39645-8
Online ISBN: 978-3-642-39646-5
eBook Packages: Computer ScienceComputer Science (R0)