Back to Search Start Over

Towards a Structured Specification of Coding Conventions

Authors :
Leonardo Montecchi
Elder Rodrigues
Source :
2019 IEEE 24th Pacific Rim International Symposium on Dependable Computing (PRDC), PRDC
Publication Year :
2019

Abstract

Coding conventions are a means to improve the reliability of software systems. They can be established for many reasons, ranging from improving the readability of code to avoiding the introduction of security flaws. However, coding conventions often come in the form of textual documents in natural language, which makes them hard to manage and to enforce. Following model-driven engineering principles, in this paper we propose an approach and language for specifying coding conventions using structured models. We ran a feasibility study, in which we applied our language for specifying 215 coding rules from two popular rulesets. The obtained results are promising and suggest that the proposed approach is feasible. However, they also highlight that many challenges still need to be overcome. We conclude with an overview on the ongoing work for generating automated checkers from such models, and we discuss directions for an objective evaluation of the methodology.

Details

ISBN :
978-1-72814-961-5
ISBNs :
9781728149615
Database :
OpenAIRE
Journal :
2019 IEEE 24th Pacific Rim International Symposium on Dependable Computing (PRDC)
Accession number :
edsair.doi.dedup.....51bea5097260ee115a2622e3ce8cc0eb
Full Text :
https://doi.org/10.1109/prdc47002.2019.00047