Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

As with the seven deadly spiritual sins, you can find someone who will argue that each of them the coding sins is the worst of the seven. We won't argue that any of the coding sins is the worst, but we do believe Bugs and Potential Bugs is the most urgent. That's because this sin represents things that are going wrong in your code today or that may go wrong tomorrow. An unconditional null pointer dereference is a prime example of a bug (hopefully the urgency is self-evident). Potential bugs are a bit more subtle, but no less important. 

Instances of this sin are tracked with the issues mechanism. Typically bugs and potential bugs will show up as Blocker or Critical issues, although that's fully configurableNo Coding Standards Breach infractions are also tracked as issues, although typically at lower severities. Instances of the other sins can optionally also be tracked using the issues mechanism (which offers some distinct advantages).