The Dependency Nightmare
Mainframe codebases often contain "Ghost Logic"—code that hasn't been executed in 20 years but is still compiled. The Legacy Ontology Graph uses static analysis to build a directed acyclic graph (DAG) of the entire system.
It identifies:
- Dead Code: Safe to delete.
- God Objects: Critical files that touch >50% of the database.
- Hidden Couplings: Variables passed via shared memory spaces.
Discovery Log
GRAPH_BUILDER
01$> parse_copybooks --dir=/src/legacy
02Indexing nodes... 14,202 nodes found.
03Calculating centrality...
04CRITICAL: Found circular dependency in USER_AUTH.cbl
05Mapping DB2 schema to Java Entities...
06Graph complexity score: 0.87 (High)
07
Commercial Application
This graph is the "Map" for the Mainframe Modernizer. Without it, migration is just guessing. We export this data directly into the Modernizer's UI to generate the "Migration Roadmap."