Abstract
Adherence to coding conventions during the code production stage of software development is essential. Benefits include enabling programmers to quickly understand the context of shared code, communicate with one another in a consistent manner, and easily maintain the source code at low costs. In reality, however, programmers tend to doubt or ignore the degree to which the quality of their code is affected by adherence to these guidelines. This paper addresses research questions such as "Do violations of coding conventions affect the readability of the produced code?", "What kinds of coding violations reduce code readability?", and "How much do variable factors such as developer experience, project size, team size, and project maturity influence coding violations?" To respond to these research questions, we explored 210 open-source Java projects with 117 coding conventions from the Sun standard checklist. We believe our findings and the analysis approach used in the paper will encourage programmers and QA managers to develop their own customized and effective coding style guidelines.
Original language | English |
---|---|
Pages (from-to) | 1286-1296 |
Number of pages | 11 |
Journal | IEICE Transactions on Information and Systems |
Volume | E98D |
Issue number | 7 |
DOIs | |
Publication status | Published - 2015 Jul 1 |
Bibliographical note
Publisher Copyright:Copyright © 2015 The Institute of Electronics, Information and Communication Engineers.
Keywords
- Code readability
- Coding conventions
- Coding style standard
- Empirical study
- Software quality
ASJC Scopus subject areas
- Software
- Hardware and Architecture
- Computer Vision and Pattern Recognition
- Electrical and Electronic Engineering
- Artificial Intelligence