bug-localization

Solid

Identify the precise location of bugs in source code, modules, and systems. Use this skill when debugging applications, investigating test failures, analyzing error reports, tracing runtime issues, or performing root cause analysis. Analyzes stack traces, error messages, failing tests, and code patterns to pinpoint buggy functions, classes, files, or modules with confidence rankings and supporting evidence.

Data & Documents 160 stars 17 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 87/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Bug Localization Precisely identify the location of bugs in source code by analyzing error messages, stack traces, failing tests, and code patterns. Provides ranked suspect locations with confidence scores and evidence. ## Core Capabilities ### 1. Error Analysis Extract information from error sources: - **Stack traces** - Parse and analyze call stacks - **Error messages** - Interpret exception details - **Failing tests** - Analyze test failures and assertions - **Crash reports** - Process crash dumps and core files - **Log messages** - Trace execution through logs - **Debugger output** - Interpret breakpoint and watch data ### 2. Code Analysis Examine code for bug indicators: - **Data flow** - Trace variables and values - **Control flow** - Analyze execution paths - **Type mismatches** - Detect type-related issues - **Null/undefined access** - Find potential null dereferences - **Boundary violations** - Detect array/buffer overflows - **Concurrency issues** - Identify race conditions ### 3. Suspect Ranking Prioritize likely bug locations: - **Confidence scores** - Rank suspects by likelihood - **Evidence strength** - Quantify supporting evidence - **Historical data** - Consider past bug patterns - **Code complexity** - Factor in cyclomatic complexity - **Recent changes** - Weigh recent modifications - **Code churn** - Consider frequently modified code ### 4. Investigation Guidance Provide actionable next steps: - **Verification steps** - How to confirm the bug - *...

Details

Author
ArabelaTso
Repository
ArabelaTso/Skills-4-SE
Created
6 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category