Programming style changes in evolving source code

As programs evolve they become harder to maintain as the source code becomes more difficult to comprehend. One aspect of comprehensibility is related to the programming style exhibited by the program. However, as this aspect itself is changed during the maintenance process, we must attempt to maintain the original programming style quality to maintain the comprehensibility of the program. This paper presents the initial findings of an investigation of how one area of programming style (typographical style), changes over the lifetime of a program. The aim is to draw upon these findings to indicate how typographical style should be measured, and where necessary changed, to ensure program comprehensibility.

[1]  Robert L. Glass,et al.  Software Maintenance Guidebook , 1981 .

[2]  R. E. Berry,et al.  A style analysis of C programs , 1985, CACM.

[3]  J. E. Sammet,et al.  Software psychology: human factors in computer and information systems , 1983, SGCH.

[4]  Ruven E. Brooks,et al.  Towards a Theory of the Comprehension of Computer Programs , 1983, Int. J. Man Mach. Stud..

[5]  Susan Wiedenbeck,et al.  The Initial Stage of Program Comprehension , 1991, Int. J. Man Mach. Stud..

[6]  Austen Rainer,et al.  An empirical study of maintenance issues within process improvement programmes in the software industry , 2001, Proceedings IEEE International Conference on Software Maintenance. ICSM 2001.

[7]  Christopher Exton Constructivism and program comprehension strategies , 2002, Proceedings 10th International Workshop on Program Comprehension.

[8]  Curtis R. Cook,et al.  Typographic style is more than cosmetic , 1990, CACM.

[9]  Eugene H. Spafford,et al.  Authorship analysis: identifying the author of a program , 1997, Comput. Secur..

[10]  E. B. Swanson,et al.  Software maintenance management , 1980 .

[11]  Jim Buckley,et al.  Inference-based and expectation-based processing in program comprehension , 2001, Proceedings 9th International Workshop on Program Comprehension. IWPC 2001.

[12]  I. Vazquez,et al.  Software products quality improvement with a programming style guide and a measurement process , 1998, Proceedings. The Twenty-Second Annual International Computer Software and Applications Conference (Compsac '98) (Cat. No.98CB 36241).

[13]  Gerrit E. DeYoung,et al.  Analyzer-generated and human-judged predictors of computer program readability , 1982, CHI '82.

[14]  R. Geoff Dromey,et al.  A Model for Software Product Quality , 1995, IEEE Trans. Software Eng..

[15]  N. Pennington Stimulus structures and mental representations in expert comprehension of computer programs , 1987, Cognitive Psychology.

[16]  Stanley Letovsky,et al.  Cognitive processes in program comprehension , 1986, J. Syst. Softw..

[17]  Ben Shneiderman,et al.  Program indentation and comprehensibility , 1983, CACM.

[18]  Curtis R. Cook,et al.  A taxonomy for programming style , 1990, CSC '90.

[19]  Anneliese Amschler Andrews,et al.  Program Comprehension During Software Maintenance and Evolution , 1995, Computer.

[20]  Penny Grubb,et al.  Software Maintenance: Concepts and Practice , 2003 .