添加缺陷定级

This commit is contained in:
limeng 2022-01-24 17:52:28 +08:00
parent a29d743347
commit a1d7669a8d
4 changed files with 143 additions and 12 deletions

View File

@ -62,10 +62,11 @@ module.exports = {
{text:'基础 Linux', link: '/code/linux'} {text:'基础 Linux', link: '/code/linux'}
]}, ]},
{text: '测试开发', link: '/testdev', icon: 'reco-three'}, {text: '测试开发', link: '/testdev', icon: 'reco-three'},
{text: '质量体系', icon: 'reco-blog', {text: '质量相关', icon: 'reco-blog',
items:[ items:[
{text:'缺陷的生命周期', link: '/quality/bug-flow'}, {text:'缺陷的生命周期', link: '/quality/bug-flow'},
{text:'研发流程与规范', link: '/quality/dev-flow'} {text:'研发流程与规范', link: '/quality/dev-flow'},
{text:'缺陷等级标准', link: '/quality/defect-grade'}
]}, ]},
{text: '其他', icon: 'reco-other', {text: '其他', icon: 'reco-other',
items:[ items:[

View File

@ -18,9 +18,9 @@
class="popup-window" class="popup-window"
:style="popupWindowStyle" :style="popupWindowStyle"
ref="popupWindow"> ref="popupWindow">
<div class="logo"> <!-- <div class="logo">-->
<img :src="getImgUrl(item)" /> <!-- <img :src="getImgUrl(item)" />-->
</div> <!-- </div>-->
<div class="info"> <div class="info">
<div class="title"> <div class="title">
<h4>{{ item.title }}</h4> <h4>{{ item.title }}</h4>
@ -120,12 +120,12 @@ export default {
const currentDom = e.target const currentDom = e.target
currentDom.querySelector('.popup-window-wrapper').style.display = 'none' currentDom.querySelector('.popup-window-wrapper').style.display = 'none'
}, },
getImgUrl (info) { // getImgUrl (info) {
const { logo, email } = info // const { logo, email } = info
if (logo && /^http/.test(logo)) return logo // if (logo && /^http/.test(logo)) return logo
if (logo && !/^http/.test(logo)) return this.$withBase(logo) // if (logo && !/^http/.test(logo)) return this.$withBase(logo)
return `//1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&amp;d=mm&amp;r=x` // return `//1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&amp;d=mm&amp;r=x`
}, // },
_adjustPosition (dom) { _adjustPosition (dom) {
const { offsetWidth } = document.body const { offsetWidth } = document.body
const { x, width } = dom.getBoundingClientRect() const { x, width } = dom.getBoundingClientRect()

View File

@ -0,0 +1,130 @@
---
title: 缺陷等级标准
date: 2022-01-24 16:43:43:22
categories: [质量体系]
author: Anges黎梦
tags:
- 缺陷等级
---
> 仅个人总结,提供参考,实际定级需要结合公司业务和场景评估。
# 缺陷等级标准
> 说明:本文档包含,但并不仅限于以下内容!如有新内容,会随时更新
## 粗略分类
- P1 - 造成公司损失的BUG金钱相关、功能宕机等
- P2 - 造成业务主流程阻塞问题(流程不通,无法完成冒烟)
- P3 - 不影响业务主流程问题(例如:页面文字、展示异常)
- P4 - 非功能性缺陷、偶现缺陷、UI位置、颜色等
- P5 - 体验相关建议等
## 详细分类
<table style="font-size: 12px">
<tr>
<th>功能范围</th>
<th>事件描述</th>
<th colspan="5">事件描述</th>
</tr>
<tr>
<td colspan="2">缺陷&故障等级</td>
<td>P1-致命</td>
<td>P2-严重</td>
<td style="width: 20%">P3-一般</td>
<td>P4-轻微</td>
<td>P5-建议</td>
</tr>
<tr>
<td rowspan="5">前端</td>
<td>页面/子页面布局</td>
<td>页面无法加载展示</td>
<td>主页面布局混乱<br>重叠无法正常查看<br>子页面布局异常等</td>
<td>布局正常,文字或者展示间距类似问题</td>
<td>非功能性缺陷<br>偶现缺陷</td>
<td>体验相关</td>
</tr>
<tr>
<td>页面样式</td>
<td></td>
<td>页面样式是否正常加载</td>
<td>页面样式变化是否正常</td>
<td>非功能性缺陷<br>偶现缺陷</td>
<td>体验相关</td>
</tr>
<tr>
<td>数据展示</td>
<td>所有数据展示异常<br>undefined等</td>
<td>数据与需要展示数据不符</td>
<td>数据变化异常<br>数据加载相关性能<br>个别数据展示异常undefined</td>
<td>非功能性缺陷<br>偶现缺陷</td>
<td>体验相关</td>
</tr>
<tr>
<td>功能逻辑</td>
<td>本应发送请求但并未发送请求<br>请求参数错误引发的异常<br>主流程相关异常</td>
<td>请求后页面相关逻辑处理异常<br>必填项验证<br>数据缓存处理逻辑<br>异常场景相关异常<br>组合场景相关异常</td>
<td>多次请求、重复请求相关问题</td>
<td>非功能性缺陷<br>偶现缺陷</td>
<td>体验相关</td>
</tr>
<tr>
<td>页面交互</td>
<td>主流程交互失效</td>
<td>主流程交互异常<br>非主流程功能失效</td>
<td>非主流程功能异常<br>异常/重复性交互异常<br>交叉交互引发的异常</td>
<td>功能异常但不影响流程</td>
<td>体验相关</td>
</tr>
<tr>
<td rowspan="2">后端</td>
<td>接口功能</td>
<td>接口请求无法请求<br>接口返回值未按照约定返回</td>
<td>1.接口逻辑异常<br>2.接口入参出参异常<br>3.接口参数限制异常<br>4.接口返回值异常<br>5.接口事务控制异常<br>6.接口事务回退异常</td>
<td>1.接口异常场景(空值、异常值、缺少参数等)<br>2.接口请求限制</td>
<td>非常规请求引发异常</td>
<td>体验相关</td>
</tr>
<tr>
<td>数据走向</td>
<td>数据表设计与实际不符</td>
<td>1.数据未按照指定走向变化<br>2.落库数据异常<br>3.数据变更异常</td>
<td>1.数据库长度、字段限制异常<br>2.数据库索引相关<br>2.数据库空值</td>
<td></td>
<td></td>
</tr>
<tr>
<td rowspan="4">其他</td>
<td>页面性能</td>
<td></td>
<td>单页面页面加载时间超过预设值</td>
<td>页面并发或者持续压力下,超过预设值</td>
<td></td>
<td></td>
</tr>
<tr>
<td>接口性能</td>
<td>接口并发是否会引发数据异常</td>
<td>单接口响应时间超过预设值</td>
<td>接口并发或持续压力下,超过预设值</td>
<td></td>
<td></td>
</tr>
<tr>
<td>数据</td>
<td></td>
<td>1.数据同步处理超过预设值<br>2.数据相关线程锁、分布式锁向<br>3. 数据控制相关事务控制异常<br>4.数据控制相关事务回退异常</td>
<td>大体量下,数据同步是否阻塞</td>
<td></td>
<td></td>
</tr>
<tr>
<td>消息队列</td>
<td>消息无法消费<br>消息队列相关消费情况,队列是否阻塞<br>消费处理异常</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>