# US 2023/0273775 A1 · Remote application modernization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273775 A1
- Document ID: US20230273775A1
- Status: Published application
- Kind: A1
- Application number: 18/298,465
- Filed: 2023-04-11
- Published: 2023-08-31
- Earliest claimed: 2019-12-02
- Assignees: AppLand Inc.
- Applicants: AppLand Inc.
- Inventors: Kevin Gilpin; Elizabeth Lawler; Dustin Byrne; Daniel Warner
- Web page: https://patentgrep.com/patent/US20230273775A1

## CPC

- G06F 8/35: model driven
- G06F 8/74: Reverse engineering; Extracting design information from source code
- G06F 8/34: Graphical or visual programming
- G06F 8/433: {Dependency analysis; Data or control flow analysis}
- G06F 8/447: {Target code generation}
- G06F 8/453: {Data distribution}
- G06F 8/60: Software deployment
- G06F 8/72: Code refactoring
- G06F 8/76: Adapting program code to run in a different environment; Porting
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 8/443: {Optimisation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various embodiments of the present technology generally relate to the characterization and improvement of software applications. More specifically, some embodiments relate to systems and methods for modeling code behavior and generating new versions of the code based on the code behavior models. In some embodiments, a method of improving a codebase includes recording a run of the existing code, characterizing the code behavior via one or more models, prototyping new code according to a target language and target environment, deploying the new code to the target environment, and comparing the behavior of the new code to the behavior of the existing code. In some implementations, generating new code based on the behavior models includes using one or more machine learning techniques for code generation based on the target language and environment.

## Claims

### Claim 1

A system, comprising:
a remote recording component executing on an application server, the remote recording component comprising recording instructions that, when executed by one or more application server processors, cause the one or more application server processors to:
generate one or more data files based on information captured about an application comprising existing code during a run of the application; and
transmit the one or more data files to an analysis component on an analysis server; and
the analysis component executing on an analysis server, the analysis component comprising analysis instructions that, when executed by one or more analysis server processors, cause the one or more analysis server processors to:
generate a behavior model representing a behavior of the existing code, wherein generating the behavior model comprises:
interrogating the one or more data files to:
identify and label one or more functional areas of the existing code; and
identify one or more steps performed by the application and one or more code paths connecting the one or more steps, wherein the behavior model comprises operational code path data including information about the application correlated with the one or more steps and the one or more code paths; and
generate new code in a target code language different than a language of the existing code based on the behavior model, wherein a behavior of the new code matches the behavior of the existing code of the application.

### Claim 2 (depends on 1)

The system of claim 1, further comprising:
a user interface component executing on a remote computing system, the user interface component comprising interface instructions that, when executed by one or more computing system processors, cause the one or more computing system processors to:
receive user input indicating a request to record the run of the application; and
in response to the user input, send the request to the remote recording component.

### Claim 3 (depends on 2)

The system of claim 2, wherein the user interface component comprises a browser extension.

### Claim 4 (depends on 1)

The system of claim 1, wherein the analysis component comprises further analysis instructions that, when executed by the one or more analysis server processors, cause the one or more analysis server processors to:
generate a graphical depiction of the behavior model; and
transmit the graphical depiction of the behavior model to a user interface component on a remote computing system.

### Claim 5 (depends on 4)

The system of claim 4, further comprising:
the user interface component executing on a remote computing system, the user interface component comprising interface instructions that, when executed by one or more computing system processors, cause the one or more computing system processors to:
receive user input indicating a request to record the run of the application;
in response to the user input, send the request to the remote recording component; and
display the graphical depiction of the behavior model.

### Claim 6 (depends on 1)

The system of claim 1, wherein the information captured about the application comprises dependencies, logic, and data queries.

### Claim 7 (depends on 1)

The system of claim 1, wherein the recording instructions to generate the one or more data files comprises further recording instructions that, when executed by the one or more application server processors, cause the one or more application server processors to:
store information related to the one or more functional areas of the application and the one or more code paths of the application in the one or more data files.

### Claim 8 (depends on 1)

The system of claim 1, wherein the instructions to generate the one or more data files comprises further instruction that, when executed by the one or more application server processors, cause the one or more application server processors to:
execute test cases designed to explore user interactions with the application.

### Claim 9 (depends on 1)

The system of claim 1, wherein the analysis component comprises further analysis instructions that, when executed by the one or more analysis server processors, cause the one or more analysis server processors to:
generate a functional visualization of the existing code based on the behavior model, wherein the functional visualization comprises a plurality of elements each representing a functional area of the one or more functional areas, and wherein a size of each element of the plurality of elements is representative of a density of an underlying codebase of the respective functional area.

### Claim 10 (depends on 9)

The system of claim 9, wherein the information about the application comprises decision points and branches between functional areas of the application.

### Claim 11

A computer-implemented method, comprising:
generating, by a remote recording component executing on an application server, one or more data files based on information captured about an application comprising existing code during a run of the application;
transmitting, by the remote recording component, the one or more data files to an analysis component executing on an analysis server;
generating, by the analysis component, a behavior model representing a behavior of the existing code, wherein the generating the behavior model comprises:
interrogating the one or more data files to:
identify and label one or more functional areas of the existing code; and
identify one or more steps performed by the application and one or more code paths connecting the one or more steps, wherein the behavior model comprises operational code path data including information about the application correlated with the one or more steps and the one or more code paths; and
generating, by the analysis component, new code in a target code language different than a language of the existing code based on the behavior model, wherein a behavior of the new code matches the behavior of the existing code of the application.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, further comprising:
receiving, via a user interface component executing on a remote computing system, user input indicating a request to record the run of the application; and
in response to the user input, sending, by the user interface component, the request to the remote recording component.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein the user interface component comprises a browser extension.

### Claim 14 (depends on 11)

The computer-implemented method of claim 11, further comprising:
generating, by the analysis component, a visual depiction of the behavior model.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising:
displaying, by a user interface component executing on a remote computing system, the visual depiction of the behavior model.

### Claim 16 (depends on 11)

The computer-implemented method of claim 11, wherein the information captured about the application comprises dependencies, logic, and data queries.

### Claim 17 (depends on 11)

The computer-implemented method of claim 11, wherein the generating the one or more data files comprises:
storing information related to the one or more functional areas of the application and the one or more code paths of the application in the one or more data files.

### Claim 18 (depends on 11)

The computer-implemented method of claim 11, wherein generating the one or more data files comprises executing a run of the application and executing test cases designed to explore user interactions with the application.

### Claim 19 (depends on 11)

The computer-implemented method of claim 11, further comprising:
generating, by the analysis component, a functional visualization of the existing code based on the behavior model, wherein the functional visualization comprises a plurality of elements each representing a functional area of the one or more functional areas, and wherein a size of each element of the plurality of elements is representative of a density of an underlying codebase of the respective functional area.

### Claim 20 (depends on 19)

The computer-implemented method of claim 19, wherein the information about the application comprises decision points and branches between functional areas of the application.
