Abstract

Because most metrics in the literature are described by natural languages, they can be interpreted in an ambiguous manner, which can be an obstacle to consistent understanding of them. To cope with this problem, many works have been performed to clearly describe metrics using Object Constraint Language (OCL). Although OCL can help avoid the problems of ambiguous description, metrics described in OCL are awkward and difficult, which can lead to incorrect description of metrics. In this paper, we propose a description language, named Metric Description Language (MDL) for simple and clear description of software metrics. MDL supports a modular description of complex metrics, aggregation function, and automatic navigation between entities. Moreover, a tool, named MetriUs, has been developed for computing metrics expressed in MDL against UML diagrams. In a case study, we have described various existing metrics using MDL and found that MDL can describe metrics in simpler expressions than OCL.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.