Information processing apparatus and computer-implemented method for evaluating source code
AssigneeFujitsu Limited
InventorsToru Tezuka, Masatoshi Morisaki
Life of this patent
Estimating the term…
Abstract
An information processing apparatus includes a memory and a processor coupled to the memory. The processor is configured to obtain a source code. The processor is configured to generate color information by executing conversion processing with regard to the source code while following a rule for converting a character into a color or converting a color of a character in accordance with a type of the character. The processor is configured to output the generated color information.
Claims20
A non-transitory computer-readable medium storing a program, which when executed by a computer, causes the computer to execute a process comprising:
- obtaining a source code;
- generating an image of color information by executing conversion processing with regard to the source code while following a rule for replacing a character with a color in accordance with a type of the character;
- and
- outputting the generated image of color information.
An information processing apparatus, comprising:
- a memory;
- and
- a processor coupled to the memory and configured to:
- obtain a source code,
- generate an image of color information by executing conversion processing with regard to the source code while following a rule for replacing a character with a color in accordance with a type of the character, and
- output the generated image of color information.
A computer-implemented method for evaluating source code, the method comprising:
- receiving a target source code to be evaluated with a neural network;
- converting the target source code into at least one image in which characters of the target source code are replaced with color based on a mapping rule;
- selecting the neural network to evaluate the at least one image;
- evaluating the at least one image with the selected neural network;
- and
- outputting an evaluation result of the target source code based on the evaluating.
Dependencies are inferred from the claim text.