skip to main content
research-article

SPMDL: Software Product Metrics Definition Language

Published:12 April 2018Publication History
Skip Abstract Section

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.

References

  1. A. Abran. 2010. Software Metrics and Software Metrology. Wiley. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. F. B. Abreu. 1995. Design quality metrics for object-oriented software systems. ERCIM News 23.Google ScholarGoogle Scholar
  3. F. B. Abreu, L. Ochoa, and M. Goulão. 1997. The GOODLY Design Language for MOOD Metrics Collection. INESC.Google ScholarGoogle Scholar
  4. Altova. 2007. Altova XMLSpy Homepage. Retrieved from http://www.altova.com/.Google ScholarGoogle Scholar
  5. Apache. 2007. BCEL Homepage. Retrieved from http://jakarta.apache.org/bcel/.Google ScholarGoogle Scholar
  6. 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 ScholarGoogle Scholar
  7. 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 ScholarGoogle Scholar
  8. 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 ScholarGoogle Scholar
  9. 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 ScholarGoogle Scholar
  10. 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 ScholarGoogle Scholar
  11. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  12. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  13. S. R. Chidamber and C. F. Kemerer. 1994. A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20, 6, 476--493. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. N. I. Churcher and M. J. Shepperd. 1995. Comments on “A metrics suite for object-oriented design.” IEEE Trans. Softw. Eng. 21, 3. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. B. I. Cogan and R. B. Hunter. 1996. Language-based approaches to software measurement. In Proceedings of the 3rd International Software Metrics Symposium. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  17. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  18. L. O. Ejiogu. 1991. TM: A systematic methodology of software metrics. ACM SIGPLAN Notices 26, 1, 124--132. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. 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 ScholarGoogle Scholar
  20. N. Fenton and J. Bieman. 2014. Software Metrics: A Rigorous and Practical Approach. CRC Press, London. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. M. Fowler. 2010. Domain-Specific Languages. Addison-Wesley Professional. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. M. Freudenthal. 2009. Domain-specific languages in a customs information system. IEEE Softw. 27, 2, 65—71. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. 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 ScholarGoogle ScholarCross RefCross Ref
  24. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  25. D. Guillaume. 2007. Jaxe Homepage. Retrieved from http://jaxe.sourceforge.net/.Google ScholarGoogle Scholar
  26. W. Harrison. 2004. A flexible method for maintaining software metrics data: A universal metrics repository. J. Syst. Softw. 72, 2, 225--234.Google ScholarGoogle ScholarCross RefCross Ref
  27. G. W. Heiman. 2010. Basic Statistics for the Behavioral Sciences. Wadsworth Publishing.Google ScholarGoogle Scholar
  28. 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 ScholarGoogle Scholar
  29. 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 ScholarGoogle Scholar
  30. W. Jansen. 2009. Directions in Security Metrics Research. National Institute of Standard and Technology.Google ScholarGoogle Scholar
  31. A. Jaquith. 2006. Security metrics. Retrieved from http://securitymetrics.org/.Google ScholarGoogle Scholar
  32. 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 ScholarGoogle Scholar
  33. C. Jones. 2006. Strengths and weaknesses of software metrics. Retrieved from http://www.compaid.com/caiinternet/ezine/capers-StrngWk.pdf.Google ScholarGoogle Scholar
  34. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  35. S. Khwaja and M. Alshayeb. 2013. Towards design pattern definition language. Softw.: Pract. Exper. 43, 7, 747--757.Google ScholarGoogle ScholarCross RefCross Ref
  36. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  37. K. O. Kverneland. 2007. Metric Standards for Worldwide Manufacturing. American Society of Mechanical Engineers.Google ScholarGoogle Scholar
  38. 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 ScholarGoogle Scholar
  39. 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 ScholarGoogle Scholar
  40. 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 ScholarGoogle ScholarCross RefCross Ref
  41. W. Li. 1998. Another metric suite for object-oriented programming. J. Syst. Softw. 44, 2, 155--162. Google ScholarGoogle ScholarDigital LibraryDigital Library
  42. 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 ScholarGoogle Scholar
  43. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  44. D. Margerison. 2004. Outline proposal for adopting a generic standard for storing metrics information. Retrieval information: May 7, 2014.Google ScholarGoogle Scholar
  45. 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 ScholarGoogle ScholarCross RefCross Ref
  46. 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 ScholarGoogle Scholar
  47. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  48. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  49. 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 ScholarGoogle Scholar
  50. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  51. 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 ScholarGoogle Scholar
  52. 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 ScholarGoogle Scholar
  53. NIST. 2011. SAMATE—Software assurance metrics and tool evaluation. Retrieved from http://samate.nist.gov/Main_Page.html.Google ScholarGoogle Scholar
  54. OCEG. 2006. OCEG measurement 8 metrics guide. Retrieved from http://www.oceg.org/resources/guide-grc-metrics-measurement/.Google ScholarGoogle Scholar
  55. OMG. 2009. Software metrics meta-model (SMM). Retrieved from http://www.omg.org/spec/SMM/1.0/Beta1/.Google ScholarGoogle Scholar
  56. 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 ScholarGoogle Scholar
  57. 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 ScholarGoogle Scholar
  58. M. Sarker. 2005. An overview of object oriented design metrics. From Department of Computer Science, Umeå University, Sweden.Google ScholarGoogle Scholar
  59. D. Strein, R. Lincke, J. Lundberg, and W. Löwe. 2007. An extensible metamodel for program analysis. IEEE Trans. Softw. Eng. 33, 12. Google ScholarGoogle ScholarDigital LibraryDigital Library
  60. D. Troy and S. Zweben. 1981. Measuring the quality of structured design. J. Syst. Softw. 2, 113--120. Google ScholarGoogle ScholarDigital LibraryDigital Library
  61. UCF, Standardizing metrics and their presentation. Retrieved from http://www.unifiedcompliance.com/.Google ScholarGoogle Scholar
  62. C. Wohlin, P. Runeson, M. Höst, M. C. Ohlsson, B. Regnell, and A. Wesslén. 2012. Experimentation in Software Engineering. Springer, Berlin. Google ScholarGoogle ScholarDigital LibraryDigital Library
  63. J. Wüst. 2016. SDMetrics, Germany.Google ScholarGoogle Scholar
  64. E. V. Zijst. 2006. XMLMath—XML-based mathematical expression evaluator. Retrieved from http://www.xmlmath.org/.Google ScholarGoogle Scholar

Index Terms

  1. SPMDL: Software Product Metrics Definition Language

    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

    Full Access

    • Published in

      cover image Journal of Data and Information Quality
      Journal of Data and Information Quality  Volume 9, Issue 4
      Challenge Paper, Experience Paper and Research Paper
      December 2017
      91 pages
      ISSN:1936-1955
      EISSN:1936-1963
      DOI:10.1145/3208074
      Issue’s Table of Contents

      Copyright © 2018 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: 12 April 2018
      • Accepted: 1 January 2018
      • Revised: 1 November 2017
      • Received: 1 January 2017
      Published in jdiq Volume 9, Issue 4

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader