Refactoring Legacy Code Using AI


A Holonic customer with approximately 200,000 lines of code written in C with no dependencies used a Common Gateway Interface (CGI) on a stand-alone UNIX system. Holonic identified various issues during the analysis phase of the project, including the discovery of a database locking flaw that periodically undermined the integrity of the customer’s data. The customer requested the code be converted within a year to meet time-to-market requirements while focusing immediately on data integrity for in-production code.

Solutions Solutions

Using the CodeIntent®, the client’s code was converted from UNIX to Microsoft based c++ with a SQL Server database running on Microsoft Internet Information Services (IIS) for Windows. within a week, the CodeIntent was able to parse 80% of the project. Working with the customer’s subject matter expert, we provided the modernized platform to the customer’s exact specifications.

The time to refactor the 200,000 lines of code took a total of four weeks—13 times faster than expected by the customer. The customer saved nearly 60% of its planned budget and reduced the need for programmers by more than two-thirds. The customer now has code with ensured data integrity.





cost savings