SUKAMO_ORG
~/src/modules
Research Preview v0.5.0-alpha

Legacy Ontology Graph

Automated discovery of hidden dependencies in unstructured COBOL copybooks.

Production Context

Integration with Mainframe Modernizer

Visualizes the 'Spaghetti Code' of the mainframe to help architects plan the migration strategy.

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:

  1. Dead Code: Safe to delete.
  2. God Objects: Critical files that touch >50% of the database.
  3. 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."