Skip to main content

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 类型

  1. Broken Links / 链接失效 — Clicking a link leads to 404 or wrong page
  2. Form Validation / 表单验证 — Form accepts invalid data or rejects valid data
  3. Data Persistence / 数据持久化 — Data not saved after refresh
  4. API Integration / API 集成 — Data mismatch between frontend and backend
  5. 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