Abstract

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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.