Available Now

PhoenixCode Lens

The assessment tool that analyzes legacy systems, builds a complete dependency graph, extracts business rules with AI, and tells you exactly what you have, how viable it is to migrate, and how much it would cost. The first step before migrating.

$ phoenixcode-lens run --path ./delphi-app --type delphi --format html
100%
Local & Private
10x
Faster than Manual
7+
Legacy Languages
AI
Claude API Integrated

What Lens Produces

Component Inventory

Complete catalog of forms, classes, methods, controls, queries, and database tables.

Dependency Graph

Visual map of all dependencies, data flows, and relationships. Interactive HTML dashboard.

Business Rules

AI-extracted business logic documented in natural language. Validations, calculations, workflows.

Migration Estimate

Effort estimation in hours per component, factoring complexity, risk, and dependencies.

Risk Matrix

Color-coded risk assessment per component. Identifies high-risk areas needing attention.

Migration Roadmap

Phased roadmap: Infrastructure, then logic, then UI, then integration and testing.

Supported Legacy Stacks

Delphi / Object Pascal

Full Support
  • .dfm form parsing (text & binary)
  • .pas unit analysis (state-machine parser)
  • SQL extraction from embedded queries
  • Paradox database schema reading
  • Event handler to control mapping

Angular / TypeScript

Full Support
  • Component & module detection
  • Service & dependency injection mapping
  • Route & lazy-loading mapping
  • Pipe & directive detection
  • HTML template analysis

.NET / C#

Full Support
  • Controller & endpoint mapping
  • Entity Framework DbContext analysis
  • NuGet dependency audit
  • Project structure & references
  • Target framework detection

Report Formats

Professional deliverables ready for stakeholder presentation.

HTML Report

Professional printable report with cover page, executive summary, inventory, risk matrix, and roadmap.

HTML Dashboard

Interactive single-file dashboard with D3.js graph visualization, filters, and search.

CSV

Spreadsheet-ready exports of component inventory, business rules, and effort estimates.

JSON

Machine-readable blueprint with full graph data for integration with other tools.

Three Steps to Total Clarity

.pas .dfm Your Code 1 Scan Parse source files Build code graph Calculate metrics 2 Analyze AI extracts rules Assess risk Document logic 3 Report Migration Blueprint Report + Dashboard Export to Platform
1

Scan

Point the tool at your source code. Lens parses DFM, PAS, Paradox databases, TypeScript and C# files automatically.

2

Analyze

Claude AI examines each component, extracts business rules and calculates complexity and migration risk metrics.

3

Blueprint

Generates the Migration Blueprint: printable HTML report, interactive dashboard, and exportable format for PhoenixCode Platform.

See It in Action

PhoenixCode Lens runs as a command-line tool and generates an interactive HTML dashboard with the complete system graph.

CLI with real-time progress

Terminal
$ phoenixcode-lens scan --path ./src --type delphi

PhoenixCode Lens v1.0.0
Licensed to: Acme Corp (Professional)

[1/4] Scanning files...
847 files (.pas, .dfm, .db)

[2/4] Parsing DFM forms...
████████████████████████░░░░ 82%
156 forms, 2,340 controls

[3/4] Building graph...
1,847 nodes • 4,231 edges

[4/4] Calculating metrics...
High risk: 23 components

Scan completed in 38s

Real output from a Delphi system scan

Interactive HTML Dashboard

file:///output/dashboard.html
Dependency Graph
frmClientes btnGuardar SaveClick Clientes Facturas
Business Rules
ID Description Risk
BR-001 Validate required name Low
BR-002 Debt >$1M requires approval High
BR-003 Compound interest calc High
BR-004 Default active status Low
BR-005 Tax ID format validation Med

Auto-generated dashboard with graph and rules

Simple CLI Interface

# Install globally
$ dotnet tool install -g phoenixcode-lens
# Activate your license
$ phoenixcode-lens activate --key PX-2026-XXXX-XXXX
# Full pipeline: scan + analyze + report
$ phoenixcode-lens run --path ./src --type delphi --format html
# Or run each step separately
$ phoenixcode-lens scan --path ./src --type delphi -o ./output
$ phoenixcode-lens analyze --scan-result ./output --extract-rules
$ phoenixcode-lens report --scan-result ./output --format html,csv

Start Your Assessment Today

Install PhoenixCode Lens and analyze up to 10 files for free. No license needed.

$ dotnet tool install -g phoenixcode-lens