Assessing quality of code in an open platform environment
First Claim
Patent Images
1. A computer-implemented method, comprising:
- generating, by a computer system of an open platform, a development rule for evaluating a development level of code and for recommending a modification to the code based at least in part on the evaluating, the code associated with an item provider and configured to provide a web site hosted at the open platform on behalf of the item provider, the development rule included in an electronic tool provided to a computing device of the item provider;
receiving the code, the development level, and a request for implementing the code from the computing device of the item provider, the development level being based at least in part on the development rule;
determining, by the computer system, a validation rule based at least in part on the development level;
validating, by the computer system, the development level to generate a validation level associated with the code based at least in part on the validation rule;
providing a recommendation associated with the code to the computing device of the item provider based at least in part on the validation level;
identifying, by the computer system, a particular computing resource for hosting the code based at least in part on the validation level, the particular computing resource identified from a plurality of different computing resources of the open platform;
monitoring one or more operational metrics associated with the hosting of the code on the particular computing resource;
generating an operational level based at least in part on the one or more operational metrics; and
in response to determining that the validation level exceeds the operational level, identifying a second computing resource for hosting the code based at least in part on the operational level.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for driving higher quality of code may be provided. For example, code may be received for hosting on a computing resource. A computing service may be implemented to analyze the code prior to the hosting. The analysis may include assessing components of the code against criteria associated with code performance. Based on the analysis, the computing service may determine a quality of the code, provide recommended changes to the code that may improve the quality, and identify a proper computing resource for hosting the code at the quality.
-
Citations
19 Claims
-
1. A computer-implemented method, comprising:
-
generating, by a computer system of an open platform, a development rule for evaluating a development level of code and for recommending a modification to the code based at least in part on the evaluating, the code associated with an item provider and configured to provide a web site hosted at the open platform on behalf of the item provider, the development rule included in an electronic tool provided to a computing device of the item provider; receiving the code, the development level, and a request for implementing the code from the computing device of the item provider, the development level being based at least in part on the development rule; determining, by the computer system, a validation rule based at least in part on the development level; validating, by the computer system, the development level to generate a validation level associated with the code based at least in part on the validation rule; providing a recommendation associated with the code to the computing device of the item provider based at least in part on the validation level; identifying, by the computer system, a particular computing resource for hosting the code based at least in part on the validation level, the particular computing resource identified from a plurality of different computing resources of the open platform; monitoring one or more operational metrics associated with the hosting of the code on the particular computing resource; generating an operational level based at least in part on the one or more operational metrics; and in response to determining that the validation level exceeds the operational level, identifying a second computing resource for hosting the code based at least in part on the operational level. - View Dependent Claims (2, 3)
-
-
4. A computer-implemented method, comprising:
-
receiving, by a development tool, a user selection of a desired grade of code for providing network content associated with a user, the network content to be hosted on an open platform associated with a provider, the code being configured for implementation by a computing system of the open platform; determining, by the development tool, a rule for evaluating an actual grade of the code based at least in part on a set of parameters for estimating a computational cost for hosting the code on the open platform; evaluating, by the development tool, the actual grade of the code based at least in part on the rule; in response to a determination that the actual grade meets or exceeds the desired grade, allowing a submission of the code to the open platform at the desired grade; and in response to a determination that the desired grade exceeds the actual grade; allowing a modification of the user selection such that a revised grade is selected, the actual grade meeting or exceeding the revised grade; estimating the computational cost based at least in part on a subset of the parameters; and allowing a submission of the code to the open platform at the revised grade based at least in part on the estimated computational cost. - View Dependent Claims (5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
a memory that stores computer-executable instructions; and a processor configured to access the memory, wherein the processor is configured to execute the computer-executable instructions to collectively at least; identify a first code quality associated with code for providing network content, the network content to be hosted on an open platform, the code being configured for implementation by the open platform; determine a second code quality for the code based at least in part on a checklist for evaluating the code for quality, the checklist comprising parameters and respective weights for estimating a cost of running the code on a computing resource of the open platform, the weights based at least in part on potential contributions of the respective parameters to the cost, wherein determining the second code quality for the code comprises selecting a subset of the parameters and weights based at least in part on the first code quality; in response to determining that the second code quality meets or exceeds the first code quality, allow a submission of the code to the open platform at the second code quality; and in response to determining that that the first code quality exceeds the second code quality; recommend a modification to the code based at least in part on the first code quality; receive modified code; determine that the modified code is associated with a third code quality that meets or exceeds the first code quality; and allow a submission of the modified code to the open platform at the third code quality. - View Dependent Claims (11, 12, 13)
-
-
14. One or more non-transitory computer-readable storage media storing computer-executable instructions that, when executed by one or more computer systems, configure the one or more computer systems to perform operations comprising:
-
receiving code for providing network content, the network content to be hosted on an open platform associated with the one or more computer systems, the code being configured for implementation on the open platform; determining a first quality indicator for the code based at least in part on a criteria for determining a cost associated with implementing the code on the open platform; recommending a modification to the code based at least in part on the first quality indicator; in response to receiving a request for implementing the code with the first quality indicator, identifying a first computing resource of the open platform for running the code by at least; determining, based at least on the first quality indicator, a set of parameters comprising at least one of;
a security level, a computing power, a memory size, or a routing requirement on a network of the open platform; anddetermining that a configuration of the first computing resource meets the set of parameters; and in response to receiving a request for implementing a modified code; determining a second quality indicator for the modified code based at least in part on the criteria; and identifying a second computing resource of the open platform for running the modified code based at least in part on the second quality indicator. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification