+ [story#75279] init the count_of_bug_in_resolution_in_execution metric.

This commit is contained in:
wangzemei
2025-06-06 09:22:27 +08:00
parent 09c25dfcec
commit d7c97b902b
@@ -0,0 +1,15 @@
<?php
class count_of_bug_in_resolution_in_execution extends baseCalc
{
public $dataset = 'getExecutionBugs';
public $fieldList = array();
public $result = array();
public function calculate($row)
{
if(!isset($this->result[$row->resolution])) $this->result[$row->resolution] = array();
$this->result[$row->resolution][$row->id] = $row->id;
}
}