Volume 15, Number 2

A Suite of Metrics for UML Behavioral Diagrams based on Complexity Perspectives

  Authors

Ann Wambui King’ori, Geoffrey Muchiri Muketha and John Gichuki Ndia, Murang’a University of Technology, Kenya

  Abstract

Now a days, software designers have adopted modelling languages that help to communicate the dynamic behavior of UML behavioral diagrams. As it is with other software artefacts, these diagrams tend to get more complex every-time they are modified. Although researchers have in the past proposed metrics to evaluate their complexity, these cannot be directly applied on UML behavioral diagrams due to their unique features. In this paper, we identify three complexity perspectives for UML behavioral diagrams, namely, element, control flow and interaction perspectives. We then define metrics under each complexity perspective. The metrics are either derived from existing UML metrics or from existing software metrics. Metrics values were computed from six behavioral diagrams, and the results reveal that they are intuitional. The metrics were also compared with existing metrics and results indicate that the proposed metrics are more complete when evaluating the behavior of an entire system in multiple perspectives. Finally, we validate the metrics using Weyuker’s nine properties. Results indicate that our metrics satisfy the theoretical requirements of soundness implying that they are correctly defined.

  Keywords

Software complexity, software metrics, UML behavioral diagrams, quality analysis, theoretical validations.