Conference Paper

Towards a Structured Specification of Coding Conventions

PDF Online

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.
DOI 10.1109/PRDC47002.2019.00047
Event 24th IEEE Pacific Rim International Symposium on Dependable Computing (PRDC 2019)
Venue Kyoto, Japan
Date December 1-3, 2019
Pages 168-177
Publisher IEEE
ISBN ELECTRONIC: 978-1-7281-4961-5
ONDEMAND: 978-1-7281-4962-2
Citation
Bibtex
@inproceedings{2019PRDC,
  author = {de Oliveira Rodrigues Jr., Elder and Montecchi, Leonardo},
  title = {{Towards a Structured Specification of Coding Conventions}},
  booktitle = {24th IEEE Pacific Rim International Symposium on Dependable Computing (PRDC 2019)},
  address = {Kyoto, Japan},
  date = {2019-12-01/2019-12-03},
  pages = {168-177},
  year = {2019}
}

Plain Text
E. Rodrigues Jr., L. Montecchi. Towards a Structured Specification of Coding Conventions. In: 24th IEEE Pacific Rim International Symposium on Dependable Computing (PRDC 2019), pp. 168-177. Kyoto, Japan, December 1-3, 2019.
 
 

© 2017-2022 Leonardo Montecchi