diff --git a/module/metric/calc/project/hour/ac_of_weekly_all_in_waterfall.php b/module/metric/calc/project/hour/ac_of_weekly_all_in_waterfall.php index 6b2f81ef7b..0ae204b413 100755 --- a/module/metric/calc/project/hour/ac_of_weekly_all_in_waterfall.php +++ b/module/metric/calc/project/hour/ac_of_weekly_all_in_waterfall.php @@ -18,7 +18,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 ac_of_all_in_waterfall extends baseCalc +class ac_of_weekly_all_in_waterfall extends baseCalc { public $result = array(); diff --git a/module/metric/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php b/module/metric/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php index a27be18ebe..0735a49432 100755 --- a/module/metric/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php +++ b/module/metric/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php @@ -18,7 +18,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 ev_of_finished_task_in_waterfall extends baseCalc +class ev_of_weekly_finished_task_in_waterfall extends baseCalc { public $dataset = 'getWaterfallTasks'; diff --git a/module/metric/calc/project/hour/pv_of_weekly_task_in_waterfall.php b/module/metric/calc/project/hour/pv_of_weekly_task_in_waterfall.php index 6e34a66320..16bfc27ed2 100755 --- a/module/metric/calc/project/hour/pv_of_weekly_task_in_waterfall.php +++ b/module/metric/calc/project/hour/pv_of_weekly_task_in_waterfall.php @@ -18,7 +18,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 pv_of_task_in_waterfall extends baseCalc +class pv_of_weekly_task_in_waterfall extends baseCalc { public $result = array(); diff --git a/module/metric/calc/project/rate/cv_weekly_in_waterfall.php b/module/metric/calc/project/rate/cv_weekly_in_waterfall.php index 4558600e31..a8793f591e 100755 --- a/module/metric/calc/project/rate/cv_weekly_in_waterfall.php +++ b/module/metric/calc/project/rate/cv_weekly_in_waterfall.php @@ -1,7 +1,7 @@ calcMetric(__FILE__); r(count($calc->getResult())) && p('') && e('5'); // 测试分组数。 -r($calc->getResult(array('project' => '1', 'year' => '2024', 'week' => '32'))) && p('0:value') && e('71.5'); // 测试项目1。 \ No newline at end of file +r($calc->getResult(array('project' => '1', 'year' => '2024', 'week' => '32'))) && p('0:value') && e('71.5'); // 测试项目1。 diff --git a/module/metric/test/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php b/module/metric/test/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php index 11c633cf27..f318dc96c1 100755 --- a/module/metric/test/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php +++ b/module/metric/test/calc/project/hour/ev_of_weekly_finished_task_in_waterfall.php @@ -3,7 +3,7 @@ /** -title=ev_of_finished_task_in_waterfall +title=ev_of_weekly_finished_task_in_waterfall timeout=0 cid=1 @@ -22,4 +22,4 @@ $metric = new metricTest(); $calc = $metric->calcMetric(__FILE__); r(count($calc->getResult())) && p('') && e('1'); // 测试分组数。 -r($calc->getResult(array('project' => '1', 'year' => '2024', 'week' => '03'))) && p('0:value') && e('396.32'); // 测试项目1。 \ No newline at end of file +r($calc->getResult(array('project' => '1', 'year' => '2024', 'week' => '03'))) && p('0:value') && e('396.32'); // 测试项目1。 diff --git a/module/metric/test/calc/project/rate/cv_weekly_in_waterfall.php b/module/metric/test/calc/project/rate/cv_weekly_in_waterfall.php index 99d503a313..85cb3be4c9 100755 --- a/module/metric/test/calc/project/rate/cv_weekly_in_waterfall.php +++ b/module/metric/test/calc/project/rate/cv_weekly_in_waterfall.php @@ -3,7 +3,7 @@ /** -title=cv_in_waterfall +title=cv_weekly_in_waterfall timeout=0 cid=1 @@ -24,4 +24,4 @@ $calc = $metric->calcMetric(__FILE__); r(count($metric->getReuseCalcResult($calc))) && p('') && e('5'); // 测试分组数。 -r($metric->getReuseCalcResult($calc, array('project' => '1', 'year' => '2024', 'week' => '05'))) && p('0:value') && e('45.6259'); // 测试项目1。 \ No newline at end of file +r($metric->getReuseCalcResult($calc, array('project' => '1', 'year' => '2024', 'week' => '05'))) && p('0:value') && e('45.6259'); // 测试项目1。 diff --git a/module/metric/test/calc/project/rate/sv_weekly_in_waterfall.php b/module/metric/test/calc/project/rate/sv_weekly_in_waterfall.php index b660ba6a8b..5effd9c3a2 100755 --- a/module/metric/test/calc/project/rate/sv_weekly_in_waterfall.php +++ b/module/metric/test/calc/project/rate/sv_weekly_in_waterfall.php @@ -3,7 +3,7 @@ /** -title=sv_in_waterfall +title=sv_weekly_in_waterfall timeout=0 cid=1 @@ -23,4 +23,4 @@ $calc = $metric->calcMetric(__FILE__); r(count($metric->getReuseCalcResult($calc))) && p('') && e('1'); // 测试分组数。 -r($metric->getReuseCalcResult($calc, array('project' => '1', 'year' => '2024', 'week' => '05'))) && p('0:value') && e('1.0905'); // 测试项目7。 \ No newline at end of file +r($metric->getReuseCalcResult($calc, array('project' => '1', 'year' => '2024', 'week' => '05'))) && p('0:value') && e('1.0905'); // 测试项目7。