Skip to main content

Research Repository

Advanced Search

A measure to assess the behavior of method stereotypes in object-oriented software

Andras, Peter; Pakhira, Anjan; Moreno, Laura; Marcus, Andrian

Authors

Profile Image

Prof Peter Andras P.Andras@napier.ac.uk
Dean of School of Computing Engineering and the Built Environment

Anjan Pakhira

Laura Moreno

Andrian Marcus



Abstract

The implementation of software systems should ideally follow the design intentions of the system. However, this is not always the case - the design and implementation of software systems may diverge during software evolution. In this paper we propose a measure based on run time information to assess the consistency between the design and the implementation of OO methods. The measure is based on the analysis of the runtime behavior of methods and considers the frequency of fan-in and fan-out method calls. We analyze this measure with respect to the design intent of methods, reflected by their stereotype. We apply the proposed approach to data from three open source software systems and analyze the behavior of method stereotypes across the systems and within each system. The analysis shows that most methods behave as expected based on their stereotypes and it also detects cases that may need re-engineering attention.

Presentation Conference Type Conference Paper (Published)
Conference Name 2013 4th International Workshop on Emerging Trends in Software Metrics (WETSoM)
Start Date May 21, 2013
Online Publication Date Oct 3, 2013
Publication Date 2013
Deposit Date Nov 10, 2021
Publisher Institute of Electrical and Electronics Engineers
Pages 7-13
Series ISSN 2327-0969
Book Title 2013 4th International Workshop on Emerging Trends in Software Metrics (WETSoM)
DOI https://doi.org/10.1109/WETSoM.2013.6619330
Keywords Software design, dynamic analysis, dynamic metric, method stereotypes
Public URL http://researchrepository.napier.ac.uk/Output/2809114