Abstract
Software metrics are becoming more acceptable measures for software quality assessment. However, there is no standard form to represent metric definitions, which would be useful for metrics exchange and customization. In this article, we propose the Software Product Metrics Definition Language (SPMDL). We develop an XML-based description language to define software metrics in a precise and reusable form. Metric definitions in SPMDL are based on meta-models extracted from either source code or design artifacts, such as the Dagstuhl Middle Meta-model, with support for various abstraction levels. The language defines several flexible computation mechanisms, such as extended Object Constraint Language queries and predefined graph operations on the meta-model. SPMDL provides an unambiguous description of the metric definition; it is also easy to use and is extensible.
- A. Abran. 2010. Software Metrics and Software Metrology. Wiley. Google ScholarDigital Library
- F. B. Abreu. 1995. Design quality metrics for object-oriented software systems. ERCIM News 23.Google Scholar
- F. B. Abreu, L. Ochoa, and M. Goulão. 1997. The GOODLY Design Language for MOOD Metrics Collection. INESC.Google Scholar
- Altova. 2007. Altova XMLSpy Homepage. Retrieved from http://www.altova.com/.Google Scholar
- Apache. 2007. BCEL Homepage. Retrieved from http://jakarta.apache.org/bcel/.Google Scholar
- M. Auer. 2002. Measuring the whole software process: A simple metric data exchange format and protocol. In Proceedings of the 6th ECOOP Workshop on Quantitative Approaches in Object-Oriented Software Engineering.Google Scholar
- A. Barišić, V. Amaral, M. Goulão, and B. Barroca. 2012. Evaluating the usability of domain-specific languages. In Formal and Practical Aspects of Domain-Specific Languages: Recent Developments. IGI Global.Google Scholar
- A. L. Baroni and F. B. Abreu. 2002. Formalizing object-oriented design metrics upon the UML meta-model. In Proceedings of the 16th Brazilian Symposium on Software Engineering.Google Scholar
- A. L. Baroni and F. B. Abreu. 2003. An OCL-based formalization of the MOOSE metric suite. In Proceedings of the 7th International ECOOP Workshop on Quantitative Approaches in Object-Oriented Software Engineering.Google Scholar
- T. Bray, J. Paoli, C. M. Sperberg-mcqueen, E. Maler, and F. Yergeau. 2006. Extensible markup language (XML) 1.0 (4th ed.)—Origin and goals. Retrieved from http://www.w3.org/TR/2006/REC-xml-20060816. World Wide Web Consortium.Google Scholar
- J. J. Cadavid, B. Combemale, and B. Baudry. 2015. An analysis of metamodeling practices for MOF and OCL. Comput. Lang. Syst. Struct. 41, 42--65. Google ScholarDigital Library
- S. A. C. K. Chidamber. 1991. Towards a metrics suite for object-oriented design. From Proceedings of the Conference on Object Oriented Programming Systems, Languages, and Applications (OOPSLA'91), 197--211. Google ScholarDigital Library
- S. R. Chidamber and C. F. Kemerer. 1994. A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20, 6, 476--493. Google ScholarDigital Library
- N. I. Churcher and M. J. Shepperd. 1995. Comments on “A metrics suite for object-oriented design.” IEEE Trans. Softw. Eng. 21, 3. Google ScholarDigital Library
- B. I. Cogan and R. B. Hunter. 1996. Language-based approaches to software measurement. In Proceedings of the 3rd International Software Metrics Symposium. Google ScholarDigital Library
- M. Dámbros, A. Bacchelli, and M. Lanza. 2010. On the impact of design flaws on software defects. In Proceedings of the 10th International Conference on Quality Software. 23--31. Google ScholarDigital Library
- N. Debnath, D. Riesco, G. Montejano, R. Uzal, L. Baigorria, A. Dasso, and A. Funes. 2005. A technique based on the OMG metamodel and OCL for the definition of object-oriented metrics applied to UML models. In Proceedings of the The 3rd ACS/IEEE International Conference on Computer Systems and Applications. Google ScholarDigital Library
- L. O. Ejiogu. 1991. TM: A systematic methodology of software metrics. ACM SIGPLAN Notices 26, 1, 124--132. Google ScholarDigital Library
- M. M. El-Wakil, A. El-Bastawisi, M. B. Riad, and A. A. Fahmy. 2005. A novel approach to formalize and collect object-oriented design-metrics. In Proceedings of the 9th International Conference on Empirical Assessment in Software Engineering (EASE’05).Google Scholar
- N. Fenton and J. Bieman. 2014. Software Metrics: A Rigorous and Practical Approach. CRC Press, London. Google ScholarDigital Library
- M. Fowler. 2010. Domain-Specific Languages. Addison-Wesley Professional. Google ScholarDigital Library
- M. Freudenthal. 2009. Domain-specific languages in a customs information system. IEEE Softw. 27, 2, 65—71. Google ScholarDigital Library
- F. García, M. F. Bertoa, C. Calero, A. Vallecillo, F. Ruíz, M. Piattini, and M. Genero. 2006. Towards a consistent terminology for software measurement. Info. Softw. Technol. 48, 8, 631--644.Google ScholarCross Ref
- M. Goulão and F. B. Abreu. 2005. Formal definition of metrics upon the CORBA component model. In Proceedings of the 1st International Conference on Software Architectures. Google ScholarDigital Library
- D. Guillaume. 2007. Jaxe Homepage. Retrieved from http://jaxe.sourceforge.net/.Google Scholar
- W. Harrison. 2004. A flexible method for maintaining software metrics data: A universal metrics repository. J. Syst. Softw. 72, 2, 225--234.Google ScholarCross Ref
- G. W. Heiman. 2010. Basic Statistics for the Behavioral Sciences. Wadsworth Publishing.Google Scholar
- C. Hein, M. Engelhardt, T. Ritter, and M. Wagner. 2009. Generation of formal model metrics for MOF based domain specific languages. Electron. Commun. Eur. Assoc. Softw. Sci. Technol. 24.Google Scholar
- ISO. 2011. ISO/IEC 25010:2011: Systems and software engineering—Systems and software Quality Requirements and Evaluation. Retrieved December 14, 2016 from https://www.iso.org/standard/35733.html.Google Scholar
- W. Jansen. 2009. Directions in Security Metrics Research. National Institute of Standard and Technology.Google Scholar
- A. Jaquith. 2006. Security metrics. Retrieved from http://securitymetrics.org/.Google Scholar
- A. Jedlitschka, M. Ciolkowski, and D. Pfahl. 2008. Reporting experiments in software engineering. In Guide to Advanced Empirical Software Engineering, F. Shull, J. Singer, and D. I. K. Sjøberg (Eds.). Springer, London, 201--228.Google Scholar
- C. Jones. 2006. Strengths and weaknesses of software metrics. Retrieved from http://www.compaid.com/caiinternet/ezine/capers-StrngWk.pdf.Google Scholar
- R. Khare, M. Guntersdorfer, P. Oreizy, N. Medvidovic, and R. N. Taylor. 2001. xADL: Enabling architecture-centric tool integration with XML. From Proceedings of the 34th Annual Hawaii International Conference on System Sciences, 9. Google ScholarDigital Library
- S. Khwaja and M. Alshayeb. 2013. Towards design pattern definition language. Softw.: Pract. Exper. 43, 7, 747--757.Google ScholarCross Ref
- E. M. Kim, S. Kusumoto, T. Kikuno, and O. B. Chang. 1996. Heuristics for computing attribute values of C++ program complexity metrics. In Proceedings of the the 20th Conference on Computer Software and Applications. IEEE Computer Society, 104. Google ScholarDigital Library
- K. O. Kverneland. 2007. Metric Standards for Worldwide Manufacturing. American Society of Mechanical Engineers.Google Scholar
- M. Lamrani, Y. E. Amrani, and A. Ettouhami. 2011. Formal specification of software design metrics. In Proceedings of the 6th International Conference on Software Engineering Advances. 348--355.Google Scholar
- M. Lamrani, Y. E. Amrani, and A. Ettouhami. 2013. A formal definition of metrics for object oriented design: MOOD metrics. J. Theoret. Appl. Info. Technol. 49, 1, 1--10.Google Scholar
- T. Lethbridge, S. Tichelaar, and E. Plödereder. 2004. The dagstuhl middle metamodel: A schema for reverse engineering. Electron. Notes Theoret. Comput. Sci. 94, 7--18.Google ScholarCross Ref
- W. Li. 1998. Another metric suite for object-oriented programming. J. Syst. Softw. 44, 2, 155--162. Google ScholarDigital Library
- R. Lincke and W. Löwe. 2006. Foundations for defining software metrics. In Proceedings of the 3rd International Workshop on Metamodels, Schemas, Grammars, and Ontologies for Reverse Engineering (ATEM’06).Google Scholar
- R. Lincke, J. Lundberg, and W. Löwe. 2008. Comparing software metrics tools. In Proceedings of the International Symposium on Software Testing and Analysis Seattle (ISSTA’08). 131--141. Google ScholarDigital Library
- D. Margerison. 2004. Outline proposal for adopting a generic standard for storing metrics information. Retrieval information: May 7, 2014.Google Scholar
- T. J. Maurer and H. R. Pierce. 1998. A comparison of likert scale and traditional measures of self-efficacy. J. Appl. Psychol. 83, 2, 324--329.Google ScholarCross Ref
- J. A. Mcquillan and J. F. Power. 2006. A definition of the Chidamber and Kemerer Metrics Suite for the Unified Modeling Language. Technical Report Report. Department of Computer Science, NUI Maynooth, Co. Kildare, Ireland.Google Scholar
- J. A. Mcquillan and J. F. Power. 2006. Experiences of using the dagstuhl middle metamodel for defining software metrics. In Proceedings of the 4th International Conference on Principles and Practices of Programming in Java. 194--198. Google ScholarDigital Library
- J. A. Mcquillan and J. F. Power. 2006. On the application of software metrics to UML models. In Proceedings of the Satellite Events at the MoDELS 2006 Conference. Springer. Google ScholarDigital Library
- J. A. Mcquillan and J. F. Power. 2006. Towards re-usable metric definitions at the meta-level. In Proceedings of the PhD Workshop of the 20th European Conference on Object-Oriented Programming.Google Scholar
- B. Mora, A. García, F. Ruiz, and M. Piattini. 2011. Graphical versus textual software measurement modelling: an empirical study. Softw. Qual. J. 19, 1, 201--233. Google ScholarDigital Library
- B. Mora, F. García, F. Ruiz, and M. Piattini. 2008. SMML: Software measurement modeling language. In Proceedings of the 8th OOPSLA Workshop on Domain-Specific Modeling.Google Scholar
- B. Mora, F. García, F. Ruiz, M. Piattini, A. Boronat, A. Gómez, J. Carsí, and I. Ramos. 2008. Software measurement by using QVT transformation in an MDA context. In Proceedings of the 10th International Conference on Enterprise Information Systems (ICEIS’08), 117--124.Google Scholar
- NIST. 2011. SAMATE—Software assurance metrics and tool evaluation. Retrieved from http://samate.nist.gov/Main_Page.html.Google Scholar
- OCEG. 2006. OCEG measurement 8 metrics guide. Retrieved from http://www.oceg.org/resources/guide-grc-metrics-measurement/.Google Scholar
- OMG. 2009. Software metrics meta-model (SMM). Retrieved from http://www.omg.org/spec/SMM/1.0/Beta1/.Google Scholar
- R. Ramachandran, M. Alshayeb, B. Beaumont, H. Conover, S. Graves, N. Hanish, X. LI, S. Movva, A. McDowell, and M. Smith. 2001. Earth science markup language. From Proceedings of the 17th Conference on Interactive Information and Processing Systems for Meteorology, Oceanography, and Hydrology, 81st American Meteorological Society (AMS’01).Google Scholar
- R. Reißing. 2001. Towards a model for object-oriented design measurement. From Proceedings of the 5th International ECOOP Workshop on Quantitative Approaches in Object-oriented Software Engineering. 71--84.Google Scholar
- M. Sarker. 2005. An overview of object oriented design metrics. From Department of Computer Science, Umeå University, Sweden.Google Scholar
- D. Strein, R. Lincke, J. Lundberg, and W. Löwe. 2007. An extensible metamodel for program analysis. IEEE Trans. Softw. Eng. 33, 12. Google ScholarDigital Library
- D. Troy and S. Zweben. 1981. Measuring the quality of structured design. J. Syst. Softw. 2, 113--120. Google ScholarDigital Library
- UCF, Standardizing metrics and their presentation. Retrieved from http://www.unifiedcompliance.com/.Google Scholar
- C. Wohlin, P. Runeson, M. Höst, M. C. Ohlsson, B. Regnell, and A. Wesslén. 2012. Experimentation in Software Engineering. Springer, Berlin. Google ScholarDigital Library
- J. Wüst. 2016. SDMetrics, Germany.Google Scholar
- E. V. Zijst. 2006. XMLMath—XML-based mathematical expression evaluator. Retrieved from http://www.xmlmath.org/.Google Scholar
Index Terms
- SPMDL: Software Product Metrics Definition Language
Recommendations
Detection of Software Anomalies Using Object-oriented Metrics
ICEIS 2014: Proceedings of the 16th International Conference on Enterprise Information Systems - Volume 2The development of quality software has always been the aim of many studies in past years, in which the
focus was on seeking for better software production with high effectiveness and quality. In order to evaluate software quality, software metrics were ...
An Empirical Exploration of the Distributions of the Chidamber and Kemerer Object-Oriented Metrics Suite
The object-oriented metrics suite proposed by Chidamber and Kemerer (CK) is a measurement approach towards improved object-oriented design and development practices. However, existing studies evidence traces of collinearity between some of the metrics ...
Concern-based cohesion as change proneness indicator: an initial empirical study
WETSoM '11: Proceedings of the 2nd International Workshop on Emerging Trends in Software MetricsStructure-based cohesion metrics, such as the well-known Chidamber and Kemerer's Lack of Cohesion in Methods (LCOM), fail to capture the semantic notion of a software component's cohesion. Some researchers claim that it is one of the reasons they are ...
Comments