Reference Hub2
Faults and Their Relationship to Implemented Patterns, Coupling and Cohesion in Commercial C# Software

Faults and Their Relationship to Implemented Patterns, Coupling and Cohesion in Commercial C# Software

Matt Gatrell, Steve Counsell
Copyright: © 2012 |Volume: 3 |Issue: 2 |Pages: 20
ISSN: 1947-8186|EISSN: 1947-8194|EISBN13: 9781466612709|DOI: 10.4018/jismd.2012040103
Cite Article Cite Article

MLA

Gatrell, Matt, and Steve Counsell. "Faults and Their Relationship to Implemented Patterns, Coupling and Cohesion in Commercial C# Software." IJISMD vol.3, no.2 2012: pp.69-88. http://doi.org/10.4018/jismd.2012040103

APA

Gatrell, M. & Counsell, S. (2012). Faults and Their Relationship to Implemented Patterns, Coupling and Cohesion in Commercial C# Software. International Journal of Information System Modeling and Design (IJISMD), 3(2), 69-88. http://doi.org/10.4018/jismd.2012040103

Chicago

Gatrell, Matt, and Steve Counsell. "Faults and Their Relationship to Implemented Patterns, Coupling and Cohesion in Commercial C# Software," International Journal of Information System Modeling and Design (IJISMD) 3, no.2: 69-88. http://doi.org/10.4018/jismd.2012040103

Export Reference

Mendeley
Favorite Full-Issue Download

Abstract

This paper documents a study of fault proneness in commercial, proprietary software and attempts to determine whether a relationship exists between class faults and the design context of a class, namely the coupling and cohesion of a class, and whether the class is a participant of common design patterns. The authors studied a commercial software system for a 24 month period and identified design pattern participants by inspecting the design documentation and source code; coupling and cohesion metrics were measured by inspecting the source code with a tool; we also extracted fault data for the same period to determine whether a relationship existed between the design context and the fault propensity of a class. Results showed that design pattern participant classes were marginally more fault-prone than non-participant classes, The Adaptor, Method and Singleton patterns were found to be the most fault-prone of thirteen patterns explored. Coupling was found to have a significant relationship with the fault proneness of classes in the system; efferent coupling was a stronger indicator of fault propensity than afferent coupling. Cohesion, when measured using the LCOM(HS) metric, was not found to have a strong relationship with fault proneness.

Request Access

You do not own this content. Please login to recommend this title to your institution's librarian or purchase it from the IGI Global bookstore.