For each data field a Threshold or Improvement can be set:
- Threshold indicates that the build must have less or equal messages than the value specified or the build will be marked as unstable.
- Improvement indicates that the amount of messages must be less or equal to the number of messages found in previous build or the build will be marked as unstable.
The default value None means that this field is ignored, so it can have any value without affecting the build stability.
Threshold levels are displayed on the trending graphs.
Messages
This is the total number of messages on all levels for all the files in the project. Messages in header files are de-duplicated (they are only counted once and not for each source file the header is included into).
Project Compliance Index
This is the percentage of message groups (a coding standard "rule") for which there are no messages in the project.
File Compliance Index
This is the mean across all files of the percentage of message groups (a coding standard "rule") for which there are no messages in each file.
A high File Compliance Index and low Project Compliance Index indicates that each file violates only a small number of rules but each file violates a different rule.
If the Compliance Indices are close then each file is violating more or less the same rules.
Note that you can have thresholds set on more than one item - if any of the data fields fall below their threshold then the build will be marked as unstable.