作者
Sergio Castro, Coen De Roover, Andy Kellens, Angela Lozano, Kim Mens, Theo D’Hondt
发表日期
2011/12/1
期刊
Science of Computer Programming
卷号
76
期号
12
页码范围
1113-1129
出版商
Elsevier
简介
Correcting design decay in source code is not a trivial task. Diagnosing and subsequently correcting inconsistencies between a software system’s code and its design rules (e.g., database queries are only allowed in the persistence layer) and coding conventions can be complex, time-consuming and error-prone. Providing support for this process is therefore highly desirable, but of a far greater complexity than suggesting basic corrective actions for simplistic implementation problems (like the “declare a local variable for non-declared variable” suggested by Eclipse). We present an abductive reasoning approach to inconsistency correction that consists of (1) a means for developers to document and verify a system’s design and coding rules, (2) an abductive logic reasoner that hypothesizes possible causes of inconsistencies between the system’s code and the documented rules and (3) a library of corrective actions …
引用总数
20102011201220132014201520162017201820192020202120222023122211
学术搜索中的文章
S Castro, C De Roover, A Kellens, A Lozano, K Mens… - Science of Computer Programming, 2011