StatisticalRuleTest.java | Class | This class tests the Statistical Rules in PMD.
The idea is, that we fill up 999 datapoints into
the Stat Rule, and then throw random parameters
at it.
The three parameters which are checked are:
sigma - # Sigmas over the mean.
topscore - Only the top 5 or so items.
minimum - Only things of score 10 or better
When more than one parameter is lumped together, then
we expect the one which would return the fewest to
determine what gets sent back.
So, we throw each collection of parameters, where each
one is a different order into the system. |