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

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

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.

Read the paper · More papers on PaperTik