Detecting the error threshold for rule-based programs: a logit model

作者:

Highlights:

摘要

Two measures of error-proneness for rule-based programs are proposed and empirically tested using a set of 80 commercially developed rule-based programs. The measures are derived by representing a rule-based (Prolog) program in its most abstract graphical form as calls between predicates, and then counting the number of unique predicate names (UPN), and the number of calls between UPNs (ARCS). Correlation and t-tests show the veracity of the measures in detecting errors. Finally, logistic regression is applied to determine the threshold point at which programs become error-prone. This threshold represents a quality mark that can be used to control the development of future rule-based programs. When a rule-based program exceeds this threshold, the program is significantly more likely to develop an error.

论文关键词:Software measures,Program structure,Error-proneness

论文评审过程:Available online 24 August 2000.

论文官网地址:https://doi.org/10.1016/S0957-4174(00)00035-X