Should have some quality management functionality described in http://dl.acm.org/citation.cfm?id=1837906.
Currently I have customized code to do it, but it's better to do it in a systematic way.