A study of errors, error-proneness, and error diagnosis in Cobol
Open Access
- 1 January 1976
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 19 (1) , 33-38
- https://doi.org/10.1145/359970.359991
Abstract
This paper provides data on Cobol error frequency for correction of errors in student-oriented compilers, improvement of teaching, and changes in programming language. Cobol was studied because of economic importance, widespread usage, possible error-inducing design, and lack of research. The types of errors were identified in a pilot study; then, using the 132 error types found, 1,777 errors were classified in 1,400 runs of 73 Cobol students. Error density was high: 20 percent of the types contained 80 percent of the total frequency, which implies high potential effectiveness for software-based correction of Cobol. Surprisingly, only four high-frequency errors were error-prone, which implies minimal error inducing design. 80 percent of Cobol misspellings were classifiable in the four error categories of previous researchers, which implies that Cobol misspellings are correctable by existent algorithms. Reserved word usage was not error-prone, which implies minimal interference with usage of reserved words. Over 80 percent of error diagnosis was found to be inaccurate. Such feedback is not optimal for users, particularly for the learning user of Cobol.Keywords
This publication has 3 references indexed in Scilit:
- An empirical study of FORTRAN programsSoftware: Practice and Experience, 1971
- Spelling correction in systems programsCommunications of the ACM, 1970
- DITRAN—a compiler emphasizing diagnosticsCommunications of the ACM, 1967