COMPLEXITY-MEASURES FOR RULE-BASED PROGRAMS

Citation
Mb. Oneal et Wr. Edwards, COMPLEXITY-MEASURES FOR RULE-BASED PROGRAMS, IEEE transactions on knowledge and data engineering, 6(5), 1994, pp. 669-680
Citations number
28
Categorie Soggetti
Information Science & Library Science","Computer Sciences, Special Topics","Engineering, Eletrical & Electronic","Computer Science Artificial Intelligence
ISSN journal
10414347
Volume
6
Issue
5
Year of publication
1994
Pages
669 - 680
Database
ISI
SICI code
1041-4347(1994)6:5<669:CFRP>2.0.ZU;2-Q
Abstract
Software complexity measures are quantitative estimates of the amount of effort required by a programmer to comprehend a piece of code. Many measures have been designed for standard procedural languages, but li ttle work has been done to apply software complexity concepts to nontr aditional programming paradigms. This paper presents a collection of s oftware complexity measures that were specifically designed to quantif y the conceptual complexity of rule-based programs. These measures are divided into two classes: bulk measures, which estimate complexity by examining aspects of program size, and rule measures, which gauge com plexity based on the ways in which program rules interact with data an d other rules. A pilot study was conducted to assess the effectiveness of these measures. Several measures were found to correlate well with the study participants' ratings of program difficulty and the time re quired by them to answer questions that required comprehension of prog ram elements. The physical order of program rules was also shown to af fect comprehension. The authors conclude that the development of softw are complexity measures for particular programming paradigms may lead to better tools for managing program development and predicting mainte nance effort in nontraditional programming environments.