Work / LumiPort

LumiPort

Inventories OpenEdge ABL code and suggests a migration order.

Shipped · v0.1.0View the repository

Artifact

LumiPort report

Summary

  • Files: 1 .cls, 3 .i, 7 .p
  • Total loc: 77
  • Units: 7
  • Tables: 4
  • Cycles: 1
  • Missing targets: 0
  • Unresolved dynamic calls: 1

Migration order

Step 1
PathKindScoreIn cycle
common.ii27
price-calc.pp15
order-purge.pp13
util.ii10
consts.ii7
Summary and first migration step for the sample app, from the repo file. lumiport/samples/expected-report.md

The sample ABL is synthetic, written for the repo.

Problem

Teams that want to move off Progress OpenEdge ABL don't know what they have: which procedures exist, what calls what, which tables each one touches, and what to migrate first.

Approach

A tokenizer-level scanner strips comments and strings, then matches keywords. It builds a dependency graph with cycle detection and scores each file, so the migration order comes from the code.

What's built

  • A scan command for .p, .i and .cls files that writes a JSON inventory and an optional Markdown report.
  • Procedures, functions and methods, include references, RUN calls, and tables touched per file.
  • A dependency graph with cycles and a suggested migration order.
  • A complexity score per file; the formula is printed in the report.
  • Dynamic calls such as RUN VALUE(...) are counted as unresolved, never resolved.

Stack

  • Python 3.10+, Typer
  • pytest

Status

Shipped · v0.1.0

It is a scanner, not a parser. Line comments with // and keyword abbreviations are not handled, and .w files are skipped.