* Merge metric code from master.
This commit is contained in:
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+1
-15
@@ -44,21 +44,7 @@ class count_of_daily_created_bug_in_product extends baseCalc
|
||||
|
||||
public function getResult($options = array())
|
||||
{
|
||||
$records = array();
|
||||
foreach($this->result as $product => $years)
|
||||
{
|
||||
foreach($years as $year => $months)
|
||||
{
|
||||
foreach($months as $month => $days)
|
||||
{
|
||||
foreach($days as $day => $value)
|
||||
{
|
||||
$records[] = array('product' => $product, 'year' => $year, 'month' => $month, 'day' => $day, 'value' => $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$records = $this->getRecords(array('product', 'year', 'month', 'day', 'value'));
|
||||
return $this->filterByOptions($records, $options);
|
||||
}
|
||||
}
|
||||
|
||||
Regular → Executable
Regular → Executable
+2
-1
@@ -44,6 +44,7 @@ class count_of_delivered_story_in_product extends baseCalc
|
||||
|
||||
public function getResult($options = array())
|
||||
{
|
||||
return $this->filterByOptions($this->result, $options);
|
||||
$records = $this->result;
|
||||
return $this->filterByOptions($records, $options);
|
||||
}
|
||||
}
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+2
-1
@@ -43,6 +43,7 @@ class count_of_invalid_story_in_product extends baseCalc
|
||||
|
||||
public function getResult($options = array())
|
||||
{
|
||||
return $this->filterByOptions($this->result, $options);
|
||||
$records = $this->result;
|
||||
return $this->filterByOptions($records, $options);
|
||||
}
|
||||
}
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+1
-12
@@ -47,18 +47,7 @@ class count_of_monthly_created_story_in_product extends baseCalc
|
||||
|
||||
public function getResult($options = null)
|
||||
{
|
||||
$records = array();
|
||||
foreach($this->result as $product => $years)
|
||||
{
|
||||
foreach($years as $year => $months)
|
||||
{
|
||||
foreach($months as $month => $value)
|
||||
{
|
||||
$records[] = array('product' => $product, 'year' => $year, 'month' => $month, 'value' => $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$records = $this->getRecords(array('product', 'year', 'month', 'value'));
|
||||
return $this->filterByOptions($records, $options);
|
||||
}
|
||||
}
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user