Content area

Abstract

Program transformations that remove stylistic flaws and enhance a program's clarity have been documented and may be applied to programs with these flaws. A useful measure of program clarity would be an indication of a reduction in the amount of mental effort required for comprehension due to a modification. Six transformations, or impurity classes, are analyzed to determine their effects on a program. They characterize specific flaws in programming style, and were found only in poorly written programs. Programming guidelines for program clarity assist in preparing more easily understood programs. They may not all be applied in a general fashion. One such guideline is the elimination of the GO TO statement in a conditional statement, which can be replaced by other clearer statements. The removal of impurities can reduce the estimated amount of mental work required for program comprehension, Although program volume is not consistently affected, equality is more nearly achieved. Formulas.

Details

10000008
Title
A Qualitative JustiV5/8ation of a Measure of Program Clarity
Publication title
Volume
5
Issue
2
Pages
121-128
Number of pages
0
Publication year
1979
Publication date
Mar 1979
Publisher
IEEE Computer Society
Place of publication
New York
Country of publication
United States
Publication subject
ISSN
00985589
e-ISSN
19393520
CODEN
IESEDJ
Source type
Scholarly Journal
Language of publication
English
Document type
PERIODICAL
Accession number
00092054
ProQuest document ID
195573959
Document URL
https://www.proquest.com/scholarly-journals/qualitative-justiv5-8ation-measure-program/docview/195573959/se-2?accountid=208611
Copyright
Copyright Institute of Electrical and Electronics Engineers, Inc. (IEEE) March 1979
Last updated
2024-12-02
Database
ProQuest One Academic