log-coverage-analyzer
OfficialFind missing logs and prevent log overload
System Documentation
What problem does it solve?
This Skill helps you detect missing required logging in error/success branches so that failures are diagnosable, and it identifies high-frequency logging patterns that can degrade performance in hot paths.
Core Features & Use Cases
- Log coverage analysis: Verifies that each call-chain branch has appropriate LOGE/LOGI logging, with special enforcement for error return paths needing LOGE.
- High-frequency log risk detection: Flags LOGE/LOGI usage inside loops, timers, callbacks, event handlers, and other frequently executed data-path functions.
- Context quality checks: Ensures logs carry sufficient contextual information such as IDs, states, and parameters for effective debugging.
Use Case Example: You review an OpenHarmony module and want to guarantee that every error return path logs an actionable LOGE message, while also preventing per-packet/per-frame LOGI/LOGE spam in receive handlers during runtime.
Quick Start
Use log-coverage-analyzer to analyze your repository codebase and generate a Markdown report of missing LOGE/LOGI coverage and high-frequency log risks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: log-coverage-analyzer Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#log-coverage-analyzer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.