+ [story#75279] init the count_of_bug_in_type_in_execution metric.

This commit is contained in:
wangzemei
2025-06-06 09:25:37 +08:00
parent 68855ced29
commit 74773cc488
@@ -0,0 +1,15 @@
<?php
class count_of_bug_in_type_in_execution extends baseCalc
{
public $dataset = 'getExecutionBugs';
public $fieldList = array();
public $result = array();
public function calculate($row)
{
if(!isset($this->result[$row->type])) $this->result[$row->type] = array();
$this->result[$row->type][$row->id] = $row->id;
}
}