Detecting Communities of Methods Using Dynamic Analysis Data

B. Duffee, Péter András · 2015

Maintaining large-scale software is difficult due to the size and variable nature of such software. Network analysis is a promising approach to extract useful knowledge from network representations of large and complex systems. Community detection is a network analysis method that aims to detect communities of nodes that share some common feature that is relevant for the whole system. We aim in this paper to investigate the usefulness of community detection for software maintenance considering networks of methods and method calls that represent execution traces of the analysed software. Our results show that the method communities that we extract are relatively persistent over multiple execution traces and that they are associated with functional features of the software. Our results also show that method communities are not associated with method level design features, but each method community has a specific distribution over method stereotypes.

Read the paper · More papers on PaperTik