We computed the software graphs of 96 systems of the Java Qualitas Corpus, parsing the source code and identifying the dependencies among classes. We analyzed 12 software metrics on these 96 graphs, nine borrowed from Social Network Analysis (SNA), and three more traditional software metrics, such as Loc, Fan-in and Fan-out. We analyzed their correlations at system level, and studied the correlation statistics at data-set level. Our results show that these correlations are independent from the specific software system and are general properties of Java software systems. We show how the metrics can be partitioned in groups for almost the whole Java Qualitas Corpus, and that such grouping can provide insights on the topology of software networks. For two systems, Eclipse and Netbeans, we computed also the number of bugs, identifying the bugs affecting each class, and finding that some SNA metrics are highly correlated with bugs, while others are strongly anticorrelated. This suggests that practitioners and software engineers might take advantage of such metrics to keep control of software quality.

An analysis of SNA metrics on the Java Qualitas Corpus

TONELLI, ROBERTO;MARCHESI, MICHELE;MURGIA, ALESSANDRO
2011-01-01

Abstract

We computed the software graphs of 96 systems of the Java Qualitas Corpus, parsing the source code and identifying the dependencies among classes. We analyzed 12 software metrics on these 96 graphs, nine borrowed from Social Network Analysis (SNA), and three more traditional software metrics, such as Loc, Fan-in and Fan-out. We analyzed their correlations at system level, and studied the correlation statistics at data-set level. Our results show that these correlations are independent from the specific software system and are general properties of Java software systems. We show how the metrics can be partitioned in groups for almost the whole Java Qualitas Corpus, and that such grouping can provide insights on the topology of software networks. For two systems, Eclipse and Netbeans, we computed also the number of bugs, identifying the bugs affecting each class, and finding that some SNA metrics are highly correlated with bugs, while others are strongly anticorrelated. This suggests that practitioners and software engineers might take advantage of such metrics to keep control of software quality.
2011
978-1-4503-0559-4
Complex networks; SNA; Software metrics; Computer Networks and Communications; Software
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11584/109771
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? ND
social impact