
Metrics (Grade A)Security-tested development skill for Claude AI. Grade A. Métricas por função (complexidade ciclomática McCabe + LOC + nesting + fan-out + params) — Universo 4 Feature B, v0.6.0+
Overview
Key features
- Cyclomatic complexity (McCabe) calculation
- Lines of code (LOC) calculation
- Nesting depth calculation
- Fan-out calculation
- Number of parameters calculation
- Function documentation check
Pricing
- Model
- Free
- Category
- Skills
- Rating
- No reviews yet
Use cases
Top-10 most complex functions
Use /plugadvpl:metrics --sort cc to identify the top-10 most complex functions in a project
Identifying large functions
Use /plugadvpl:metrics --min-loc 300 --sort loc to detect functions with over 300 lines of code
High complexity and no documentation
Use /plugadvpl:metrics --min-cc 15 to identify functions with high complexity and no documentation
Pros & Cons
Pros
- Helps identify complex functions that may require refactoring
- Provides insights into code quality
- Supports ranking functions by complexity
- Detects large functions and functions with high complexity and no documentation
Cons
- May have limitations with macro substitution
- Cyclomatic complexity may be slightly high or low if macro expands to extra blocks
- Requires re-ingestion when schema changes (e.g., from v9 to v10)
Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Q&A
Are there any known limitations?
Macro substitution can affect accuracy of cyclomatic complexity, and the tool may need re‑ingestion after schema updates such as version changes.
Asked by Mireille Dupont · Jun 22, 2026
How can the tool help with code quality and refactoring?
By ranking functions by complexity, detecting large or highly nested functions, and flagging functions with no documentation, it highlights candidates that may need refactoring.
Asked by Lena Fischer · May 5, 2026
Which Protheus version does this skill support?
It works on Universo 4 Feature B, version 0.6.0 and later. If the schema changes (e.g., from v9 to v10), the tool must be re‑ingested.
Asked by Devin Walker · Mar 9, 2026
What metrics does Metrics (Grade A) calculate for ADVPL/TLPP functions?
It computes cyclomatic complexity (McCabe), lines of code (LOC), nesting depth, fan‑out, number of parameters, and checks for missing function documentation.
Asked by Robert Ainsworth · Mar 5, 2026
Ask a question
Skills alternatives

Security-tested data-ai skill for Claude AI. Grade A. Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktre

Security-tested data-ai skill for Claude AI. Grade A. GA4 BigQuery Export Schema Reference — complete field reference, nested structures, query patterns, and performance tips

Security-tested data-ai skill for Claude AI. Grade A. Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM

Security-tested development skill for Claude AI. Grade A. Lista o que uma funcao/metodo chama (call graph direto)

Security-tested data-ai skill for Claude AI. Grade A. Name Haskell test modules after the module under test with a Spec suffix in the same namespace. Use when writing or reviewing Haskell test module

Security-tested data-ai skill for Claude AI. Grade A. Simulate a 5-member expert board deliberation for major decisions. Use when evaluating plans, architecture choices, feature designs, or any decisi

Security-tested development skill for Claude AI. Grade A. MVC avançado via PE (Pontos de Entrada) — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)
Security-tested devops skill for Claude AI. Grade A. **WORKFLOW SKILL** — Maintains repository documentation accuracy and freshness across the docs site, agent files, and changelog. WHEN: "update docs
Trending now

Accurate Homework Help with Full Explanations

Document intelligence API that parses, splits, OCRs, and extracts structured data from complex PDFs, slides, and spreadsheets.

Open multimodal 12B model handling interleaved images and text with a 128K context window.

Sponsored answers, paid per click.
