KFUPM ePrints

The Adherence of Open Source Java Programmers to Standard Coding Practices

Elish, Mahmoud Omar and Offutt, Jeff (2002) The Adherence of Open Source Java Programmers to Standard Coding Practices. In: 6th IASTED International Conference on Software Engineering and Applications (SEA’02), Cambridge, MA, USA.



The use of agreed-upon coding practices is believed to enhance program comprehension, which directly affects reuse and maintainability. This paper describes a controlled small-scale experiment that tries to determine how well open source Java programmers adhere to a set of well publicized coding practices. The experiment evaluated 100 arbitrarily selected open source Java classes from different programmers with respect to 16 standard coding practices. The results of this experiment indicate that open source Java programmers do not always adhere to standard coding practices. It was found that only 4% of the subject classes have no violations to any of the 16 standard coding practices and there were only 5 of 16 coding practices that all subjects followed. It was also found that there are positive correlations between the number of violations found in a class and its lines-of-code, number of methods, and number of attributes.

Item Type:Conference or Workshop Item (Paper)
Date:November 2002
Date Type:Publication
Divisions:College Of Computer Sciences and Engineering > Information and Computer Science Dept
Creators:Elish, Mahmoud Omar and Offutt, Jeff
Email:elish@kfupm.edu.sa, ofut@ise.gmu.edu
ID Code:10664
Deposited On:25 Jun 2008 14:57
Last Modified:12 Apr 2011 13:14

Repository Staff Only: item control page