* Batch fix wrong spell.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class bug_concentration_of_developed_story_in_product extends baseMetric
|
||||
class bug_concentration_of_developed_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_activated_bug_in_product extends baseMetric
|
||||
class count_of_activated_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_closed_feedback_in_product extends baseMetric
|
||||
class count_of_annual_closed_feedback_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_closed_story_in_product extends baseMetric
|
||||
class count_of_annual_closed_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_created_bug_in_product extends baseMetric
|
||||
class count_of_annual_created_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_created_case_in_product extends baseMetric
|
||||
class count_of_annual_created_case_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_created_effective_bug_in_product extends baseMetric
|
||||
class count_of_annual_created_effective_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_created_feedback_in_product extends baseMetric
|
||||
class count_of_annual_created_feedback_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_created_release_in_product extends baseMetric
|
||||
class count_of_annual_created_release_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_created_requirement_in_product extends baseMetric
|
||||
class count_of_annual_created_requirement_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_created_story_in_product extends baseMetric
|
||||
class count_of_annual_created_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_delivered_story_in_product extends baseMetric
|
||||
class count_of_annual_delivered_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_finished_plan_in_product extends baseMetric
|
||||
class count_of_annual_finished_plan_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_finished_story_in_product extends baseMetric
|
||||
class count_of_annual_finished_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_annual_restored_bug_in_product extends baseMetric
|
||||
class count_of_annual_restored_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_bug_in_product extends baseMetric
|
||||
class count_of_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_case_in_product extends baseMetric
|
||||
class count_of_case_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_closed_story_in_product extends baseMetric
|
||||
class count_of_closed_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_daily_closed_bug_in_product extends baseMetric
|
||||
class count_of_daily_closed_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_daily_created_bug_in_product extends baseMetric
|
||||
class count_of_daily_created_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_daily_resolved_bug_in_product extends baseMetric
|
||||
class count_of_daily_resolved_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_delivered_story_in_product extends baseMetric
|
||||
class count_of_delivered_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_developed_story_in_product extends baseMetric
|
||||
class count_of_developed_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_effective_bug_in_product extends baseMetric
|
||||
class count_of_effective_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_feedback_in_product extends baseMetric
|
||||
class count_of_feedback_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_finished_story_in_product extends baseMetric
|
||||
class count_of_finished_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_invalid_story_in_product extends baseMetric
|
||||
class count_of_invalid_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_monthly_closed_story_in_product extends baseMetric
|
||||
class count_of_monthly_closed_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_monthly_created_story_in_product extends baseMetric
|
||||
class count_of_monthly_created_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_monthly_delivered_story_in_product extends baseMetric
|
||||
class count_of_monthly_delivered_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_monthly_finished_story_in_product extends baseMetric
|
||||
class count_of_monthly_finished_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_release_in_product extends baseMetric
|
||||
class count_of_release_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_requirement_in_product extends baseMetric
|
||||
class count_of_requirement_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_restored_bug_in_product extends baseMetric
|
||||
class count_of_restored_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_severe_bug_in_product extends baseMetric
|
||||
class count_of_severe_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_severity_1_bug_in_product extends baseMetric
|
||||
class count_of_severity_1_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_severity_2_bug_in_product extends baseMetric
|
||||
class count_of_severity_2_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_story_in_product extends baseMetric
|
||||
class count_of_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_unclosed_story_in_product extends baseMetric
|
||||
class count_of_unclosed_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class rate_of_restored_bug_in_product extends baseMetric
|
||||
class rate_of_restored_bug_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class scale_of_annual_closed_story_in_product extends baseMetric
|
||||
class scale_of_annual_closed_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class scale_of_annual_delivered_story_in_product extends baseMetric
|
||||
class scale_of_annual_delivered_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class scale_of_annual_finished_story_in_product extends baseMetric
|
||||
class scale_of_annual_finished_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class scale_of_story_in_product extends baseMetric
|
||||
class scale_of_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class testcase_coverage_of_story_in_product extends baseMetric
|
||||
class testcase_coverage_of_story_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 按产品统计的计划总数。
|
||||
* Count of plan in product.
|
||||
*
|
||||
* 范围:产品
|
||||
* 对象:计划
|
||||
* 目的:规模
|
||||
* 度量名称:按产品统计的计划总数
|
||||
* 单位:个
|
||||
* 描述:产品中计划的个数求和,过滤已删除的计划啊,过滤已删除的产品。
|
||||
* 度量库:产品度量库
|
||||
* 收集方式:实时
|
||||
*
|
||||
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
|
||||
* @author qixinzhi <qixinzhi@easycorp.ltd>
|
||||
* @package
|
||||
* @uses func
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @Link https://www.zentao.net
|
||||
*/
|
||||
class count_of_plan_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = 'getPlans';
|
||||
|
||||
public $fieldList = array('t1.id', 't1.product');
|
||||
|
||||
public $result = array();
|
||||
|
||||
public function calculate($data)
|
||||
{
|
||||
if(!isset($this->result[$data->product])) $this->result[$data->product] = 0;
|
||||
$this->result[$data->product] += 1;
|
||||
}
|
||||
|
||||
public function getResult()
|
||||
{
|
||||
$records = array();
|
||||
foreach($this->result as $product => $value)
|
||||
{
|
||||
$records[] = array('product' => $product, 'value' => $value);
|
||||
}
|
||||
|
||||
return $records;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user