kirancodes.me
To Proof Maintenance & Beyond!

Verification of ORM-based Controllers by Summary Inference

Geetam Chawla, Navneet Aman, Raghavan Komondoor, Ashish Bokil, Nilesh Kharat

Abstract

In this work we describe a novel approach for modeling, analysis and verification of database-accessing applications that use the ORM (Object Relational Mapping) paradigm. Rather than directly analyze ORM code to check specific properties, our approach infers a general-purpose relational algebra summary of each controller in the application. This summary can then be fed into any off-the-shelf relational algebra solver to check for properties or specifications given by a developer. The summaries can also aid program understanding, and may have other applications. We have implemented our approach as a prototype tool that works for 'Spring' based MVC applications. A preliminary evaluation reveals that the approach is efficient, and gives good results while checking a set of properties given by human subjects.

BibTeX
@inproceedings{Chawla-al:ICSE22,
  author    = {Geetam Chawla and
               Navneet Aman and
               Raghavan Komondoor and
               Ashish Bokil and
               Nilesh Kharat},
  title     = {Verification of {ORM-based} Controllers by Summary Inference},
  booktitle = {ICSE},
  pages     = {2340--2351},
  publisher = {{ACM}},
  year      = {2022},
}

Related papers