Conference Paper To Appear

Towards a Structured Specification of Coding Conventions

PDF

Authors Elder de Oliveira Rodrigues Jr.Leonardo Montecchi
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.
Event 24th IEEE Pacific Rim International Symposium on Dependable Computing (PRDC 2019)
Venue Kyoto, Japan
Date December 1-3, 2019 (To appear)
Pages -
Publisher IEEE
 
 

© 2017-2019 Leonardo Montecchi