Intelligent code quality monitoring
First Claim
1. A device, comprising:
- one or more processors to;
receive, from a user device, a request for a code quality assessment of a program,the request including;
program identifier information, andprogram environment information for a plurality of different environments associated with the program,the plurality of different environments including at least two of;
a development environment,
a testing environment, or
a production environment;
obtain, using the program environment information, authorization to access the plurality of different environments associated with the program, where the one or more processors, when obtaining the authorization, are to obtain a set of tokens that are associated with the plurality of different environments;
obtain, using the program identifier information, a set of test classes for the program compatible with the plurality of different environments;
determine a plurality of code quality assessment scores corresponding to the plurality of different environments by performing the code quality assessment for the program,where the one or more processors, when performing the code quality assessment, are to;
access the plurality of different environments using the set of tokens,execute the set of test classes in each environment of the plurality of different environments,the set of test classes being concurrently executed in at least two of the plurality of different environments, anddetermine a code quality assessment score for the program in each environment of the plurality of different environments;
provide the plurality of code quality assessment scores to the user device; and
automatically perform a code duplication assessment for the program when at least one of the plurality of code quality assessment scores do not satisfy a threshold score,the code duplication assessment assessing whether a function of the program is repeated.
1 Assignment
0 Petitions
Accused Products
Abstract
A device may receive, from a user device, a request for one or more code quality assessments of a program. The device may obtain authorization to access one or more environments associated with the program. The device may obtain one or more tokens that are associated with the one or more environments. The device may obtain a set of test classes for the program. The device may determine one or more code quality assessment scores by performing, for the program, a code quality assessment of the one or more code quality assessments. The device may perform the code quality assessment by accessing the one or more environments using the one or more tokens, executing the set of test classes in each environment, and determining the one or more code quality assessment scores. The device may provide the one or more code quality assessment scores to the user device.
64 Citations
20 Claims
-
1. A device, comprising:
-
one or more processors to;
receive, from a user device, a request for a code quality assessment of a program,the request including; program identifier information, and program environment information for a plurality of different environments associated with the program, the plurality of different environments including at least two of;
a development environment,
a testing environment, or
a production environment;obtain, using the program environment information, authorization to access the plurality of different environments associated with the program, where the one or more processors, when obtaining the authorization, are to obtain a set of tokens that are associated with the plurality of different environments;
obtain, using the program identifier information, a set of test classes for the program compatible with the plurality of different environments;
determine a plurality of code quality assessment scores corresponding to the plurality of different environments by performing the code quality assessment for the program,where the one or more processors, when performing the code quality assessment, are to; access the plurality of different environments using the set of tokens, execute the set of test classes in each environment of the plurality of different environments, the set of test classes being concurrently executed in at least two of the plurality of different environments, and determine a code quality assessment score for the program in each environment of the plurality of different environments;
provide the plurality of code quality assessment scores to the user device; and
automatically perform a code duplication assessment for the program when at least one of the plurality of code quality assessment scores do not satisfy a threshold score,the code duplication assessment assessing whether a function of the program is repeated. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by one or more processors, cause the one or more processors to; receive, from a user device, a request for a code quality assessment of a program; obtain, using information included in the request, authorization to access a plurality of different environments associated with the program by obtaining one or more tokens that are associated with the plurality of different environments, the plurality of different environments including at least two of; a development environment, a testing environment, or a production environment; obtain, using information included in the request, a set of test classes for the program compatible with the plurality of different environments; provide the one or more tokens for the plurality of different environments and the set of test classes to a server device to permit the server device to use the one or more tokens to access the plurality of different environments; execute the set of test classes in each environment of the plurality of different environments, the set of test classes being concurrently executed in at least two of the plurality of different environments; determine a plurality of code quality assessment scores for the program corresponding to each of the plurality of different environments, and output the plurality of code quality assessment scores for the program; receive the plurality code quality assessment scores; provide the plurality of code quality assessment scores to the user device; and automatically perform a code duplication assessment for the program when at least one of the plurality of code quality assessment scores do not satisfy a threshold score, the code duplication assessment assessing whether a function of the program is repeated. - View Dependent Claims (9, 10, 11, 12, 13)
-
14. A method, comprising:
-
receiving, by a device and from a user device, a request for one or more code quality assessments of a program; obtaining, by the device and by using information included in the request, authorization to access a plurality of different environments associated with the program, the plurality of different environments including at least two of; a development environment, a testing environment, or a production environment, where obtaining the authorization includes obtaining one or more tokens that are associated with the plurality of different environments; obtaining, by the device and by using information included in the request, a set of test classes for the program compatible with the plurality of different environments; determining, by the device, a plurality of code quality assessment scores by performing, for the program, a code quality assessment of the one or more code quality assessments, where performing the code quality assessment includes; accessing the plurality of different environments using the one or more tokens, executing the set of test classes in each environment of the plurality of different environments, the set of test classes being concurrently executed in at least two of the plurality of different environments, and determining a code quality assessment score corresponding to each of the plurality of different environments; providing, by the device, the plurality of code quality assessment scores to the user device; and automatically performing, by the device, a code duplication assessment for the program when at least one of the plurality of code quality assessment scores do not satisfy a threshold score, the code duplication assessment assessing whether a function of the program is repeated. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification