Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 1.81 KB

File metadata and controls

72 lines (52 loc) · 1.81 KB

CGC Report

Generated: 2026-06-07 17:00 UTC

God Nodes — Highest Fan-In

These nodes are called from many places. High fan-in increases risk: a change here affects every caller.

Kind Name File In-degree
? demo repo/main.py 0

Most Complex Functions

Cyclomatic complexity > 10 is a refactoring candidate.

Function File Cyclomatic Complexity
demo repo/main.py ?

Cross-Module Connections

Calls that cross package boundaries — review for unexpected coupling.

Caller Caller File Callee Callee File Confidence
? ?

Potential Dead Code

Functions with zero callers (not guaranteed dead — may be entry points or called via reflection).

Function File
demo repo/main.py

Suggested Cypher Queries

Copy these into execute_cypher_query to explore further.

Callers of a specific function

MATCH (caller)-[:CALLS]->(fn:Function {name: 'yourFunctionName'})
RETURN caller.name, caller.path LIMIT 20

Class hierarchy for a specific class

MATCH path = (c:Class {name: 'YourClass'})-[:INHERITS*]->(parent)
RETURN [n IN nodes(path) | n.name] AS hierarchy

Most-injected Spring beans

MATCH ()-[:INJECTS]->(bean:Class)
RETURN bean.name, count(*) AS injection_count
ORDER BY injection_count DESC LIMIT 10

All external library dependencies

MATCH (m:MavenModule)-[:USES_LIBRARY]->(lib:ExternalLibrary)
RETURN m.artifact_id, lib.group_id, lib.artifact_id, lib.version
ORDER BY lib.artifact_id

CALLS edges with low confidence (potential mis-resolutions)

MATCH (a)-[c:CALLS]->(b)
WHERE c.confidence_label = 'AMBIGUOUS'
RETURN a.name, b.name, c.resolution_tier, a.path LIMIT 20