znt/module/block/test/zen/yaml/metriclib_printsinglebugstatisticblock.yaml

157 lines
2.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Metriclib data for printSingleBugStatisticBlock test
desc: 度量数据测试数据用于测试printSingleBugStatisticBlock方法
fields:
- field: id
note: 度量数据ID
range: 1-100
prefix: ""
postfix: ""
loop: 0
format: ""
- field: metricID
note: 度量ID
range: 1-20
prefix: ""
postfix: ""
loop: 0
format: ""
- field: metricCode
note: 度量代码
range: 'rate_of_fixed_bug_in_product{20},count_of_effective_bug_in_product{20},count_of_fixed_bug_in_product{20},count_of_activated_bug_in_product{20},count_of_monthly_created_bug_in_product{10},count_of_monthly_closed_bug_in_product{10}'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: system
note: 系统级别
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: program
note: 项目集ID
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: project
note: 项目ID
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: product
note: 产品ID
range: 1{20},2{20},3{20},4{20},5{20}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: execution
note: 执行ID
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: code
note: 代码
range: '""'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: pipeline
note: 流水线
range: '""'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: repo
note: 代码库
range: '""'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: user
note: 用户
range: '""'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: dept
note: 部门
range: '""'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: year
note: 年份
range: '2024{80},2023{20}'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: month
note: 月份
range: '01{10},02{10},03{10},04{10},05{10},06{10},07{10},08{10},09{10},10{10}'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: week
note:
range: '0'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: day
note:
range: '0'
prefix: ""
postfix: ""
loop: 0
format: ""
- field: value
note: 度量值
range: 0.1-1.0:0.1{20},1-100{60},0{20}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: calcType
note: 计算类型
range: cron
prefix: ""
postfix: ""
loop: 0
format: ""
- field: calculatedBy
note: 计算者
range: system{80},admin{20}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: date
note: 计算日期
range: (2024-01-01)-(2024-12-31):10D
type: timestamp
format: YYYY-MM-DD hh:mm:ss
- field: deleted
note: 删除标记
range: '0'
prefix: ""
postfix: ""
loop: 0
format: ""