Automated Validation of COBOL to Java Transformation

Uložené v:
Podrobná bibliografia
Názov: Automated Validation of COBOL to Java Transformation
Autori: Kumar, Atul, Saha, Diptikalyan, Yasue, Toshikai, Ono, Kohichi, Krishnan, Saravanan, Hans, Sandeep, Satoh, Fumiko, Mitchell, Gerald, Kumar, Sachin
Rok vydania: 2025
Zbierka: ArXiv.org (Cornell University Library)
Predmety: Software Engineering, Artificial Intelligence
Popis: Recent advances in Large Language Model (LLM) based Generative AI techniques have made it feasible to translate enterpriselevel code from legacy languages such as COBOL to modern languages such as Java or Python. While the results of LLM-based automatic transformation are encouraging, the resulting code cannot be trusted to correctly translate the original code. We propose a framework and a tool to help validate the equivalence of COBOL and translated Java. The results can also help repair the code if there are some issues and provide feedback to the AI model to improve. We have developed a symbolic-execution-based test generation to automatically generate unit tests for the source COBOL programs which also mocks the external resource calls. We generate equivalent JUnit test cases with equivalent mocking as COBOL and run them to check semantic equivalence between original and translated programs. ; arXiv admin note: text overlap with arXiv:2504.10548
Druh dokumentu: text
Jazyk: unknown
Relation: http://arxiv.org/abs/2506.10999; ASE 2024
Dostupnosť: http://arxiv.org/abs/2506.10999
Prístupové číslo: edsbas.64AC6C5D
Databáza: BASE
Popis
Abstrakt:Recent advances in Large Language Model (LLM) based Generative AI techniques have made it feasible to translate enterpriselevel code from legacy languages such as COBOL to modern languages such as Java or Python. While the results of LLM-based automatic transformation are encouraging, the resulting code cannot be trusted to correctly translate the original code. We propose a framework and a tool to help validate the equivalence of COBOL and translated Java. The results can also help repair the code if there are some issues and provide feedback to the AI model to improve. We have developed a symbolic-execution-based test generation to automatically generate unit tests for the source COBOL programs which also mocks the external resource calls. We generate equivalent JUnit test cases with equivalent mocking as COBOL and run them to check semantic equivalence between original and translated programs. ; arXiv admin note: text overlap with arXiv:2504.10548