Defect Detection

Reviews code changes for defects before release. Given a git repository and branch (optionally a PR, test plan, or a previous report to continue), it clones the repo, diffs the base branch, extracts changed methods, runs static rules, cross-checks requirements, test cases, and known defects, and writes back findings with line numbers, fix suggestions, and an HTML report. Language-aware for Java, Kotlin, Scala, JavaScript, TypeScript, Python, Go, C, C++ and C#: method extraction, trivial-method filter, Semgrep seed packs, and write-back conventions; polyglot diffs keep each language's rules. Optional overlays add secret / SCA / native-analyzer findings. Use when the user asks to find bugs in a branch or PR, review change or regression risk, recheck before release, scan a test plan, or resume a detection task. Not a P0/P1/P2 style CR (that is code-reviewer).

openqa-cn 5f2d2af 148 files · 1.6 MB Updated

File contents

openqa-cn/openqa-skills/tree/main/skills/defect-detection commit 5f2d2af25e

Frequently asked questions

npx skillmds@latest add openqa-cn/defect-detection