kirancodes.me
To Proof Maintenance & Beyond!

Deviance from perfection is a better criterion than closeness to evil when identifying risky code

Marouane Kessentini, Stéphane Vaucher, Houari A. Sahraoui

Abstract

We propose an approach for the automatic detection of potential design defects in code. The detection is based on the notion that the more code deviates from good practices, the more likely it is bad. Taking inspiration from artificial immune systems, we generated a set of detectors that characterize different ways that a code can diverge from good practices. We then used these detectors to measure how far code in assessed systems deviates from normality.

BibTeX
@inproceedings{Kessentini-al:ASE10,
  author    = {Marouane Kessentini and
               St{\'{e}}phane Vaucher and
               Houari A. Sahraoui},
  title     = {Deviance from perfection is a better criterion than closeness to evil when identifying risky code},
  booktitle = {ASE},
  pages     = {113--122},
  publisher = {{ACM}},
  year      = {2010},
}

Related papers