skip to main content
10.1145/2897695.2897704acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

A metric suite proposal for logical dependency

Published: 14 May 2016 Publication History

Abstract

Logical dependencies refer to hidden interconnections among source files that are changed together in order to address an issue or change in the system. In this study we propose six metrics for logical dependency using heuristics on change time. We evaluated our proposed metrics using data from three different software companies. We also built defect prediction models with our proposed logical dependency metrics, commonly used baseline metrics, as well as combination of both. Result of our empirical studies shows that our proposed metrics are capable of capturing the characteristics of dependency among software components. It also shows the logical dependency metrics improve the performance of defect prediction models.

References

[1]
F. P. Brooks Jr, The Mythical Man-Month: Essays on Software Engineering, Anniversary Ed, 2/E: Pearson Education India, 1995.
[2]
T. Hall, S. Beecham, D. Bowes, D. Gray, and S. Counsell, "A systematic literature review on fault prediction performance in software engineering," Software Engineering, IEEE Transactions on, vol. 38, pp. 1276--1304, 2012.
[3]
C. R. B. De Souza, "On the relationship between software dependencies and coordination: field studies and tool support," University of California, Irvine, 2005.
[4]
J. Herbsleb and J. Roberts, "Collaboration in software engineering projects: A theory of coordination," ICIS 2006 Proc., p. 38, 2006.
[5]
H. Gall, K. Hajek, and M. Jazayeri, "Detection of logical coupling based on product release history," in Software Maintenance, 1998. Proceedings., International Conference on, 1998, pp. 190--198.
[6]
T. Ball, J.-M. Kim, A. A. Porter, and H. P. Siy, "If your version control system could talk," in ICSE Workshop on Process Modelling and Empirical Studies of Software Engineering, 1997.
[7]
M. Cataldo, A. Mockus, J. A. Roberts, and J. D. Herbsleb, "Software dependencies, work dependencies, and their impact on failures," IEEE TSE, vol. 35, pp. 864--878, 2009.
[8]
G. A. Oliva and M. A. Gerosa, "A Method for the Identification of Logical Dependencies," in Global SWE Workshops (ICGSEW), 2012 IEEE Seventh International Conference on, 2012, pp. 70--72.
[9]
H. Gall, M. Jazayeri, and J. Krajewski, "CVS release history data for detecting logical couplings," in Software Evolution, 2003. Proc. Sixth International Workshop on Principles of, 2003, pp. 13--23.
[10]
L. C. Briand, S. Morasca, and V. R. Basili, "Property-based software engineering measurement," IEEE TSE, 22, p.68--86, 1996.
[11]
T. L. Graves, A. F. Karr, J. S. Marron, and H. Siy, "Predicting fault incidence using software change history," Software Engineering, IEEE Transactions on, vol. 26, pp. 653--661, 2000.
[12]
A. T. Ying, G. C. Murphy, R. Ng, and M. C. Chu-Carroll, "Predicting source code changes by mining change history," Software Engineering, IEEE TSE, vol. 30, pp. 574--586, 2004.
[13]
T. Zimmermann, A. Zeller, P. Weissgerber, and S. Diehl, "Mining version histories to guide software changes," Software Engineering, IEEE Transactions on, vol. 31, pp. 429--445, 2005.
[14]
P. Knab, M. Pinzger, and A. Bernstein, "Predicting defect densities in source code files with decision tree learners," in Proceedings of the 2006 international workshop on Mining software repositories, 2006, pp. 119--125.
[15]
N. Nagappan and T. Ball, "Using software dependencies and churn metrics to predict field failures: An empirical case study," in ESEM 2007, pp. 364--373.
[16]
M. D'Ambros, M. Lanza, and R. Robbes, "On the relationship between change coupling and software defects," in Reverse Engineering, 2009. WCRE'09, 2009, pp. 135--144.
[17]
S. Kirbas, A. Sen, B. Caglayan, A. Bener, and R. Mahmutogullari, "The effect of evolutionary coupling on software defects: an industrial case study on a legacy system," in Proceedings of the 8th ACM/IEEE, ESEM, 2014, p. 6.
[18]
E. J. Weyuker, "Evaluating software complexity measures," Software Engineering, IEEE TSE, vol. 14, pp. 1357--1365, 1988.
[19]
S. R. Chidamber and C. F. Kemerer, "A metrics suite for object oriented design," IEEE TSE, 20, pp. 476--493, 1994.
[20]
J. Cardoso, "Control-flow complexity measurement of processes and Weyuker's properties," in 6th International Enformatika Conference, 2005, pp. 213--218.
[21]
G. Bavota, B. Dit, R. Oliveto, M. Di Penta, D. Poshyvanyk, and A. De Lucia, "An empirical study on the developers' perception of software coupling," in Proceedings of the 2013 International Conference on Software Engineering, 2013, pp. 692--701.
[22]
B. Caglayan, A. Bener, and S. Koch, "Merits of using repository metrics in defect prediction for open source projects," in Emerging Trends in Free/Libre/Open Source Software Research and Development, 2009.ICSE Workshop on, 2009, pp. 31--36.
[23]
N. Nagappan and T. Ball, "Use of relative code churn measures to predict system defect density," in Software Engineering, 2005. ICSE 2005, 2005, pp. 284--292.
[24]
E. J. Weyuker, T. J. Ostrand, and R. M. Bell, "Using developer information as a factor for fault prediction," PROMISE, 2007, p. 8.
[25]
S. Lessmann, B. Baesens, C. Mues, and S. Pietsch, "Benchmarking classification models for software defect prediction: A proposed framework and novel findings," Software Engineering, IEEE Transactions on, vol. 34, pp. 485--496, 2008.
[26]
T. Menzies, J. Greenwald, and A. Frank, "Data mining static code attributes to learn defect predictors," Software Engineering, IEEE Transactions on, vol. 33, pp. 2--13, 2007.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
WETSoM '16: Proceedings of the 7th International Workshop on Emerging Trends in Software Metrics
May 2016
76 pages
ISBN:9781450341776
DOI:10.1145/2897695
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 14 May 2016

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. defect prediction model
  2. logical dependency
  3. software metrics

Qualifiers

  • Research-article

Conference

ICSE '16
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media