An Empirical Study Investigating the Predictors of Software Metric Correlation in Application Code and Test Code.

It appears your Web browser is not configured to display PDF files. Download adobe Acrobat or click here to download the PDF file.

Click here to download the PDF file.


Afriyie, Daniel Kwame Dapaah




On non-trivial software, the large test code base needs adequate maintenance similarly to the application code. Using complexity metrics on large software reveals that Application code is more complex than test code but not necessarily so much more, Test code is not as simple as it should be and may therefore be very complex to maintain, and open source software are not adequately tested. While a number of authors hypothesize and experimentally confirm that CC has a very strong correlation with LOC, justifying the use of LOC in place of CC (and Halstead Effort), this strong correlation is prevalent only in production code as results indicate a very weak correlation in test code between LOC, CC and Halstead Effort. The kind of code, the kind of software and the kind of metric determines the extent of monotonicity software metrics and would be inappropriate to substitute one metric with another.


Computer engineering




Carleton University

Thesis Degree Name: 

Master of Applied Science: 

Thesis Degree Level: 


Thesis Degree Discipline: 

Engineering, Electrical and Computer

Parent Collection: 

Theses and Dissertations

Items in CURVE are protected by copyright, with all rights reserved, unless otherwise indicated. They are made available with permission from the author(s).