Documentation
¶
Overview ¶
@index Large function and test detection that returns nodes exceeding a line-count threshold in descending size order.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
Options controls bounded large-function detection. @intent keep large-function filtering and pagination rules in one typed input.
type Result ¶
Result carries one large-function page plus pagination metadata. @intent let MCP handlers expose bounded large-function results without recomputing has_more.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service finds oversized functions and tests. @intent highlight large code units that may need refactoring or review
func New ¶
New creates a large function analysis service. @intent construct a service for querying nodes above a line threshold
func (*Service) Find ¶
Find returns functions and tests longer than the threshold. @intent identify oversized executable nodes for maintainability analysis @param threshold minimum line-count threshold that results must strictly exceed @return functions and tests ordered from longest to shortest @domainRule only function and test nodes participate in large-function analysis @domainRule line count is computed as (end_line - start_line + 1) and must strictly exceed threshold @see mcp.handlers.findLargeFunctions