* [task#124859,doing,0.1h] Add getResult function.

This commit is contained in:
daitingting
2024-08-09 14:56:57 +08:00
committed by 綦新志
parent 103401df05
commit 06142f66a4
@@ -49,4 +49,11 @@ class test_concentration_in_execution_when_closing extends baseCalc
$this->result[$execution] = round($bug / $story, 4);
}
}
public function getResult($options = null)
{
$records = array();
foreach($this->result as $execution => $value) $records[] = array('execution' => $execution, 'value' => $value);
return $this->filterByOptions($records, $options);
}
}