Functional Bugs / 功能 Bug
Definition / 定义
A functional bug occurs when a feature or component does not work according to its expected behavior defined in the requirements.
功能 Bug 指功能或组件的实际行为不符合需求文档中定义的预期行为。Severity Guidelines / 严重等级判定
| Severity 等级 | Criteria 标准 | Examples 示例 |
|---|---|---|
| Critical 致命 | Blocked from using a core feature 核心功能无法使用 | Cannot log in, checkout fails 无法登录,结账失败 |
| Major 严重 | Core feature partially broken 核心功能部分异常 | Search returns wrong results 搜索返回错误结果 |
| Medium 中等 | Non-core feature broken 非核心功能异常 | Profile avatar not updating 个人资料头像不更新 |
| Minor 轻微 | Minor functionality issue 轻微功能问题 | Tooltip not showing 工具提示不显示 |
Common Functional Bug Types / 常见功能 Bug 类型
- Broken Links / 链接失效 — Clicking a link leads to 404 or wrong page
- Form Validation / 表单验证 — Form accepts invalid data or rejects valid data
- Data Persistence / 数据持久化 — Data not saved after refresh
- API Integration / API 集成 — Data mismatch between frontend and backend
- Calculation Errors / 计算错误 — Incorrect totals, discounts, or conversions
Examples / 示例
[Functional] Cart total doesn't update when removing an item
Steps:
1. Add 2 items to cart
2. Remove 1 item
3. Observe the total
Expected: Total should decrease by the removed item's price
Actual: Total remains unchanged