主权项 |
1. A method comprising:
extracting, by one or more devices, a first computer program from a first application environment; parsing, by the one or more devices, the extracted first computer program to generate a hierarchical representation of the extracted first computer program; analyzing, by the one or more devices, the hierarchical representation of the extracted first computer program to identify one or more functions,
the one or more identified functions being included in the first computer program; receiving, by the one or more devices, information associated with checking a performance of at least one of the one or more identified functions; inserting, by the one or more devices and based on the received information, at least one log value generation instruction into the extracted first computer program to generate a second computer program,
each log value generation instruction, of the at least one log value generation instruction, being inserted in a respective location of the extracted first computer program that corresponds to a respective location of each identified function of the one or more identified functions, andthe second computer program including the first computer program and the inserted at least one log value generation instruction; executing, by the one or more devices and in the first application environment, the second computer program; parsing, by the one or more devices and based on executing the second computer program, the second computer program to generate a hierarchical representation of the second computer program; determining, by the one or more devices and based on the hierarchical representation of the second computer program, if information associated with one or more generated log values satisfies a predetermined value,
the one or more generated log values being based on the inserted at least one log value generation instruction; and outputting, by the one or more devices, a result of the determination. |