# US 2014/0157242 A1 · Deferred evaluation and presentation of a custom diagnostic analysis

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

- Number: US 2014/0157242 A1
- Document ID: US20140157242A1
- Status: Published application
- Kind: A1
- Application number: 13/705,578
- Filed: 2012-12-05
- Published: 2014-06-05
- Earliest claimed: 2012-12-05
- Assignees: The MathWorks, Inc.
- Applicants: The Mathworks, Inc.
- Inventors: Andrew T. CAMPBELL; David M. SAXE; Gregory V. ALOE; Jeremy B. NERSASIAN
- Web page: https://patentgrep.com/patent/US20140157242A1

## CPC

- G06F 11/3692: {for test results analysis}
- G06F 11/366: {using diagnostics (G06F11/0703 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A device receives code generated via a technical computing environment (TCE), performs a test on the code to generate a test result, and generates test information based on the performance of the test on the code. The device outputs or stores the test result, and receives, based on the test result, a request for a diagnostic analysis of the code. The device performs, based on the request, the test information, and at least one diagnostic, a diagnostic analysis of the code to generate a diagnostic result, and outputs or stores the diagnostic result.

## Claims

### Claim 1

A device comprising:
one or more processors to:
receive code generated via a technical computing environment (TCE),
perform a test on the code to generate a test result,
generate test information based on the performance of the test on the code,
output or store the test result,
receive, based on the test result, a request for a diagnostic analysis of the code,
perform, based on the request, the test information, and at least one diagnostic, a diagnostic analysis of the code to generate a diagnostic result, and
output or store the diagnostic result.

### Claim 2 (depends on 1)

The device of claim 1, where the one or more processors are further to:
receive the at least one diagnostic for the diagnostic analysis of the code,
perform the at least one diagnostic on the code to generate multiple diagnostic results, the multiple diagnostic results including the diagnostic result, and
output or store the multiple diagnostic results.

### Claim 3 (depends on 1)

The device of claim 1, where the request for the diagnostic analysis is received when the test result indicates that the code failed the test.

### Claim 4 (depends on 1)

The device of claim 1, where the diagnostic analysis includes one or more of:
an analysis of a failure associated with the code,
a determination of active processes of the code during occurrence of the failure associated with the code,
a screen shot produced by the code during the failure associated with the code, or
a determination of information associated with the failure.

### Claim 5 (depends on 1)

The device of claim 1, where the test result includes a diagnostic string that indicates whether the code passed or failed the test.

### Claim 6 (depends on 1)

The device of claim 1, where the test information includes one or more of:
a state of the code during execution of the code,
information associated with screen shots during execution of the code, or
information associated with failures of the code.

### Claim 7 (depends on 1)

The device of claim 1, where the one or more processors are further to:
prevent the performance of the diagnostic analysis of the code when the request is not received.

### Claim 8

A method, comprising:
receiving code generated via a technical computing environment (TCE), the receiving the code being performed by one or more devices;
performing a test on the code to generate a test result, the performing the test being performed by the one or more devices;
generating test information based on the performance of the test on the code, the generating the test information being performed by the one or more devices;
outputting or storing the test result, the outputting or storing the test result being performed by the one or more devices;
receiving, based on the test result, a request for a diagnostic analysis of the code, the receiving the request being performed by the one or more devices;
performing, based on the request, the test information, and at least one diagnostic, a diagnostic analysis of the code to generate a diagnostic result, the performing the diagnostic analysis being performed by the one or more devices; and
outputting or storing the diagnostic result, the outputting or storing the diagnostic result being performed by the one or more devices.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving the at least one diagnostic for the diagnostic analysis of the code;
performing the at least one diagnostic on the code to generate multiple diagnostic results, the multiple diagnostic results including the diagnostic result; and
outputting or storing the multiple diagnostic results.

### Claim 10 (depends on 8)

The method of claim 8, where the request for the diagnostic analysis is received when the test result indicates that the code failed the test.

### Claim 11 (depends on 8)

The method of claim 8, where the diagnostic analysis includes one or more of:
an analysis of a failure associated with the code,
a determination of active processes of the code during occurrence of the failure associated with the code,
a screen shot produced by the code during the failure associated with the code, or
a determination of information associated with the failure.

### Claim 12 (depends on 8)

The method of claim 8, where the test result includes a diagnostic string that indicates whether the code passed or failed the test.

### Claim 13 (depends on 8)

The method of claim 8, where the test information includes one or more of:
a state of the code during execution of the code,
information associated with screen shots during execution of the code, or
information associated with failures of the code.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
preventing the performance of the diagnostic analysis of the code when the request is not received.

### Claim 15

One or more computer-readable media, comprising:
one or more instructions that, when executed by a processor of a device, cause the processor to:
receive code generated via a technical computing environment (TCE),
perform a test on the code to generate a test result,
generate test information based on the performance of the test on the code,
output or store the test result,
receive, based on the test result, a request for a diagnostic analysis of the code,
perform, based on the request, the test information, and at least one diagnostic, a diagnostic analysis of the code to generate a diagnostic result, and
output or store the diagnostic result.

### Claim 16 (depends on 15)

The media of claim 15, further comprising:
one or more instructions that, when executed by the processor, cause the processor to:
prevent the performance of the diagnostic analysis of the code when the request is not received.

### Claim 17 (depends on 15)

The media of claim 15, further comprising:
one or more instructions that, when executed by the processor, cause the processor to:
receive the at least one diagnostic for the diagnostic analysis of the code,
perform the at least one diagnostic on the code to generate multiple diagnostic results, the multiple diagnostic results including the diagnostic result, and
output or store the multiple diagnostic results.

### Claim 18 (depends on 15)

The media of claim 15, where the diagnostic analysis includes one or more of:
an analysis of a failure associated with the code,
a determination of active processes of the code during occurrence of the failure associated with the code,
a screen shot produced by the code during the failure associated with the code, or
a determination of information associated with the failure.

### Claim 19 (depends on 15)

The media of claim 15, where the test result includes a diagnostic string that indicates whether the code passed or failed the test.

### Claim 20 (depends on 15)

The media of claim 15, where the test information includes one or more of:
a state of the code during execution of the code,
information associated with screen shots during execution of the code, or
information associated with failures of the code.
