Skip to main content

Portfolio Project - COBOL Documentation Generator

Five analysis passes. Built to evaluate Claude on legacy code.

Production-ready Next.js application that turns COBOL source into business rules, dependency maps, dead code reports, and data flow diagrams. Open source. Available on request.

1M
Token Context
5
Analysis Passes
14 Day
Turnaround
$0
Production Risk
PAYROLL-CALC.cbl
       IDENTIFICATION DIVISION.
       PROGRAM-ID. PAYROLL-CALC.
      *
      * PAYROLL CALCULATION PROGRAM
      * Calculates gross pay, tax, and net pay
       PROCEDURE DIVISION.
       0000-MAIN-CONTROL.
           PERFORM 1000-INITIALIZE
           PERFORM 2000-PROCESS-PAYROLL
               UNTIL END-OF-TIME
           STOP RUN.

Five-Pass Deep Analysis

Every program group is analysed five times, each pass extracting a different dimension of understanding.

Pass 01

Program Overview

Plain-English summary of every program. Business purpose, inputs, outputs, processing logic, and modernization notes.

Pass 02

Business Rule Extraction

Every IF, EVALUATE, and conditional catalogued with severity levels. Critical rules flagged for compliance review.

Pass 03

Dependency Mapping

Interactive Mermaid diagrams of CALL/COPY relationships. See how programs connect across your entire codebase.

Pass 04

Dead Code Detection

Unreferenced paragraphs, sections, and data items identified with confidence levels. Reduce maintenance surface area.

Pass 05

Data Flow Analysis

Sequence diagrams showing how data moves between files, working storage, and called programs. Trace any field.


How It Works

No production access. No code changes. Comprehensive documentation delivered within 14 days.

Upload Your Source

Provide a ZIP of your .cbl and .cpy files via encrypted transfer. We never touch production systems.

AI Analysis

Claude Opus processes your codebase. Entire program groups analysed in a single pass.

Download Knowledge Base

Receive a comprehensive markdown knowledge base with searchable documentation, diagrams, and executive summary.


Enterprise-Grade Security

Your source code is your most sensitive asset. Our architecture ensures it stays protected at every step.

Read-Only

We never modify your source code. Zero production access.

NDA Protected

Mutual NDA with 3-year confidentiality. Source deleted within 30 days.

API-Only Processing

TLS 1.3 encrypted. Anthropic commercial terms - inputs not used for training.

Built in Perth

Independent project by Macdara. Source open under MIT. No data retention.

Built by Macdara.

Portfolio project demonstrating full-stack delivery: Next.js, Anthropic SDK, Vercel, accessibility, security. Source is open. Available as a paid engagement on request.