Utilization of method graphs to measure cohesion in object oriented software

Atakan Aral, Tolga Ovatman

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

Abstract

The primarily used technique in measuring cohesion in an object oriented software is analyzing the relations between methods and data members of the software classes. However, extraction of such relations is rather problematic since the usage of data members can vary heavily in program code. Object code analysis is a widely used technique to solve this problem which requires the compilation of the source code. In this paper, we analyze the relations between various method graphs (including call graphs) which can be easily obtained by static source code analysis to obtain software-wide cohesion measures. We perform our analysis to discover the relationship between a widely used cohesion metric, namely LCOM, and the relation among method graphs. This way, we provide cohesion measures that can be extracted rapidly and easily compared to conventional techniques. Proposed measures can be used to obtain information about overall degree of cohesion which in turn can let the designer infer about the quality concerns like modularity and reusability of an object oriented software. Our results show that using different kind of relations in such analysis provides significantly different results in evaluating software-wide average class cohesion. Using graphs involving cooperating methods provide the most correlated results with the LCOM metric.

Original languageEnglish
Title of host publicationProceedings - 2013 IEEE 37th Annual Computer Software and Applications Conference Workshops, COMPSACW 2013
Pages505-510
Number of pages6
DOIs
Publication statusPublished - 2013
Event2013 IEEE 37th Annual Computer Software and Applications Conference Workshops, COMPSACW 2013 - Kyoto, Japan
Duration: 22 Jul 201326 Jul 2013

Publication series

NameProceedings - International Computer Software and Applications Conference
ISSN (Print)0730-3157

Conference

Conference2013 IEEE 37th Annual Computer Software and Applications Conference Workshops, COMPSACW 2013
Country/TerritoryJapan
CityKyoto
Period22/07/1326/07/13

Keywords

  • Object Oriented Metrics
  • Software Cohesion
  • Static Code Analysis

Fingerprint

Dive into the research topics of 'Utilization of method graphs to measure cohesion in object oriented software'. Together they form a unique fingerprint.

Cite this