for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverStripe\ModuleRatings\Check;
class CodeCoverageGreatCheck extends AbstractCodeCoverageCheck
{
protected $threshold = 75;
public function getKey()
return 'great_code_coverage';
}
public function getDescription()
return 'Has a "great" level of code coverage (greater than ' . $this->threshold . '%, requires slug)';
public function run()
if ($this->getCoverage() >= $this->getThreshold()) {
$this->setSuccessful(true);