+ [story#75279] init the count_of_bug_in_resolution_in_execution metric.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user