Title :
Towards Improving OCL-Based Descriptions of Software Metrics
Author :
Kim, Tae Yeon ; Kim, Yun Kyu ; Chae, Heung Seok
Author_Institution :
Dept of Comput. Eng., Pusan Nat. Univ., Busan, South Korea
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.
Keywords :
Unified Modeling Language; natural languages; software metrics; aggregation function; automatic navigation; metric description language; natural language; object constraint language; software metric; unified modeling language; Application software; Computer applications; Natural languages; Navigation; Size measurement; Software design; Software metrics; Software quality; Software standards; Unified modeling language;
Conference_Titel :
Computer Software and Applications Conference, 2009. COMPSAC '09. 33rd Annual IEEE International
Conference_Location :
Seattle, WA
Print_ISBN :
978-0-7695-3726-9
DOI :
10.1109/COMPSAC.2009.32