40bits/teamwall — pull request #3 by leifhanack (2012-12-25 00:57:28+00:00)
Title: extended the percent instrument, so that a "0 percent is good" can be displayed

Extended the percent instrument, so that a "0 percent is good" can be displayed.

If the value is below the threshold it will be displayed as a warning (yellow).

![percent_0_is_good_warning](https://f.cloud.github.com/assets/128227/30174/6855d896-4e2d-11e2-8ba2-92d488d60ba4.png)

If it is above, it will be displayed as failure (red).

![percent_0_is_good_failure](https://f.cloud.github.com/assets/128227/30175/75f318e2-4e2d-11e2-9c9c-c144b3c39a79.png)

The rest of the arc is displayed green.

This can be used to display the structural complexity (XS) of code (see http://structure101.com/products/structure101/measure-complexity.php#measure-XS-section)

Happy X-mas, Leif