+ [story#75285] init the count_of_activated_bug_in_execution metric.

This commit is contained in:
wangzemei
2025-06-06 09:17:40 +08:00
parent f49210218a
commit ecbc4ed32a
@@ -0,0 +1,15 @@
<?php
class count_of_activated_bug_in_execution extends baseCalc
{
public $dataset = 'getExecutionBugs';
public $fieldList = array('t1.status', 't1.execution');
public $result = array();
public function getResult($options = array())
{
$records = $this->getRecords(array('execution', 'value'));
return $this->filterByOptions($records, $options);
}
}