ADVPL Callee Explorer

•
13
•

Lists all functions and methods called by a specific ADVPL or TLPP function to map dependencies efficiently.

The ADVPL Callee Explorer is a specialized tool for Protheus developers that provides immediate visibility into the call graph of ADVPL and TLPP functions. By querying a pre-indexed SQLite/FTS5 database via the plugadvpl plugin, it retrieves function dependencies, call sites, and call types—such as native ERP, restricted, or user functions—without consuming LLM tokens for full source file analysis. This is essential for understanding complex ERP logic, performing impact analysis before refactoring, and identifying the usage of deprecated functions within a codebase.

Key Features

01Detailed metadata including specific call site line numbers
02Token-efficient querying using localized SQLite/FTS5 indexing
03Direct call graph mapping for ADVPL and TLPP functions
0413 GitHub stars
05Classification of call types (Native, Restricted, User, External)
06Markdown-formatted output optimized for terminal and AI readability

Use Cases

01Estimating the impact surface area of a proposed code refactoring
02Identifying the use of restricted or deprecated ERP functions
03Mapping dependencies before extracting or moving legacy Protheus code