{
    "branch": "main",
    "sourcePath": "/Users/michelelaurelli/Desktop/scribademo/scriba-demo/demo-source",
    "sourceVersion": "COBOL-85",
    "targetVersion": "Java 22",
    "architecturePattern": "layered",
    "translationStrategy": "semantic",
    "selectedDatabase": "postgresql",
    "testingFramework": "junit5",
    "selectedPriority": "low",
    "riskLevel": "low",
    "selectedCompliance": ["gdpr"],
    "projectOwner": "Algoretico",
    "businessUnit": "Demo",
    "confidenceThreshold": 90,
    "maxIterations": 1,
    "targetAccuracy": 80,
    "enableSecurityScan": true,
    "preserveBusinessLogic": true,
    "namingConvention": "camelCase",
    "preAnalysis": {
      "scanResults": {
        "totalFiles": 17,
        "totalSourceFiles": 9,
        "totalDirectories": 5,
        "totalSize": 110583,
        "totalLines": 1972,
        "totalCodeLines": 1488,
        "totalCommentLines": 180,
        "totalBlankLines": 304,
        "languages": [
          {"name":"COBOL","bytes":78699,"files":9,"percentage":86.5},
          {"name":"JCL","bytes":12249,"files":3,"percentage":13.5}
        ],
        "extensions": [
          {"ext":".cbl","count":6,"percentage":35.3},
          {"ext":".cpy","count":3,"percentage":17.6},
          {"ext":".txt","count":3,"percentage":17.6},
          {"ext":".jcl","count":3,"percentage":17.6},
          {"ext":".gitignore","count":1,"percentage":5.9},
          {"ext":".md","count":1,"percentage":5.9}
        ]
      },
      "complexity": {
        "avgCyclomatic": 12,
        "maxCyclomatic": 27,
        "avgNesting": 5.3,
        "maxNesting": 12,
        "totalProcedures": 60,
        "totalSections": 78,
        "avgLines": 219,
        "maxLines": 389
      },
      "dependencies": {
        "total": 8,
        "copybooks": 8,
        "externalCalls": 0,
        "circularDeps": 0,
        "orphanFiles": 3,
        "list": ["ACCTMASTR","ACCTCOMN","WS-MOD-ACCTOPEN","WS-MOD-ACCTPROC","WS-MOD-ACCTBAL","WS-MOD-ACCTREPT","WS-MOD-ACCTCLSE","MOVRECORD"]
      },
      "risk": {
        "high": 4,
        "medium": 2,
        "low": 3,
        "files": [
          {"name":"ACCTPROC.cbl","path":"src/ACCTPROC.cbl","lines":290,"codeLines":227,"complexity":27,"nesting":12,"risk":"high","dependencies":3,"procedures":6,"size":10333},
          {"name":"ACCTBAL.cbl","path":"src/ACCTBAL.cbl","lines":268,"codeLines":206,"complexity":20,"nesting":10,"risk":"high","dependencies":2,"procedures":7,"size":9444},
          {"name":"ACCTMAIN.cbl","path":"src/ACCTMAIN.cbl","lines":241,"codeLines":180,"complexity":19,"nesting":8,"risk":"high","dependencies":6,"procedures":9,"size":8967},
          {"name":"ACCTOPEN.cbl","path":"src/ACCTOPEN.cbl","lines":308,"codeLines":243,"complexity":16,"nesting":8,"risk":"high","dependencies":2,"procedures":8,"size":10976},
          {"name":"ACCTREPT.cbl","path":"src/ACCTREPT.cbl","lines":389,"codeLines":308,"complexity":13,"nesting":5,"risk":"medium","dependencies":3,"procedures":15,"size":15200},
          {"name":"ACCTCLSE.cbl","path":"src/ACCTCLSE.cbl","lines":290,"codeLines":224,"complexity":10,"nesting":5,"risk":"medium","dependencies":2,"procedures":11,"size":10856},
          {"name":"ACCTCOMN.cpy","path":"cpy/ACCTCOMN.cpy","lines":53,"codeLines":25,"complexity":1,"nesting":0,"risk":"low","dependencies":0,"procedures":1,"size":3648},
          {"name":"ACCTMASTR.cpy","path":"cpy/ACCTMASTR.cpy","lines":56,"codeLines":30,"complexity":1,"nesting":0,"risk":"low","dependencies":0,"procedures":1,"size":3892},
          {"name":"MOVRECORD.cpy","path":"cpy/MOVRECORD.cpy","lines":77,"codeLines":45,"complexity":1,"nesting":0,"risk":"low","dependencies":0,"procedures":2,"size":5383}
        ]
      },
      "analyzedFileCount": 9
    }
  }