Objective vs. Subjective Measures of Error-Proneness for Rule-Based Programs

  • Authors:
  • Trevor T. Moores

  • Affiliations:
  • -

  • Venue:
  • IEEE Transactions on Knowledge and Data Engineering
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper relates four objective measures of program structure and three subjective ratings of program complexity to the number of postrelease documented errors contained within 80 commercially developed Prolog programs. All seven measures show a significant correlation with the number of errors. A factor analysis showed that the objective and subjective measures were indeed different measures, although a hierarchical analysis of oblique factors showed a strong common root. Finally, the Mann-Whitney U test was used to determine whether the measures could differentiate between those programs with errors and those with no documented errors. The results suggest that "complexity" can be grounded in terms of the difficulty to debug or test a program, while measures of "structure" require a detailed count of the number of predicates used within the program.