System and method of substituting parameter sets in self-contained mini-applications
First Claim
1. A computer-implemented method for certifying a widget template having associated schema, comprising:
- selecting the widget template having associated parameter schema for certification;
specifying a target value for an acceptable defect rate;
iteratively generating, using a processor, a set of parameter values, the set of parameter values based on the associated parameter schema and varying from iteration to iteration, wherein for each iteration performing the steps;
(1) an initial sample of (n) units to be tested is chosen,(2) parameter values are randomly generated from a set of all valid parameters as defined by the schema for the n units,(3) a validating parser is run to assure the parameters satisfy the schema constraints,(4) n widgets are instantiated using the widget template and the generated parameter values,(5) the n widgets are tested for defects to determine the sample defect rate)(0°
, wherein the sample defect rate equals the number of defective widgets found divided by n,(6) the overall defect rate is estimated by extrapolating from the sample defect rate,(7) the sample defect rate is used to calculate a new value of n,(8) steps (2)-(7) are repeated until a suitable n is determined and sampling is completed, wherein the sample defect rate)(0°
found at iteration i is used as the defect rate for computing n at iteration i+1, wherein a suitable n is determined and sample is completed if n at iteration i+1 is less than n at iteration i; and
terminating the certification process and certifying the widget template if the sample defect rate is within the acceptable defect rate.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are systems and methods of building a default set of parameters into a software application by defining a widget template having associated parameter schema and then instantiating a widget by substituting a new set of application parameters for the built-in defaults such that the new parameters meet the same constraints defined for the default parameters. Aspects of the invention also include testing the original application containing the default parameters, along with the parameter substitution process itself, using a Statistical Software Testing Methodology (SSTM) to ensure the application meets a pre-determined level of quality.
35 Citations
13 Claims
-
1. A computer-implemented method for certifying a widget template having associated schema, comprising:
-
selecting the widget template having associated parameter schema for certification; specifying a target value for an acceptable defect rate; iteratively generating, using a processor, a set of parameter values, the set of parameter values based on the associated parameter schema and varying from iteration to iteration, wherein for each iteration performing the steps; (1) an initial sample of (n) units to be tested is chosen, (2) parameter values are randomly generated from a set of all valid parameters as defined by the schema for the n units, (3) a validating parser is run to assure the parameters satisfy the schema constraints, (4) n widgets are instantiated using the widget template and the generated parameter values, (5) the n widgets are tested for defects to determine the sample defect rate)(0°
, wherein the sample defect rate equals the number of defective widgets found divided by n,(6) the overall defect rate is estimated by extrapolating from the sample defect rate, (7) the sample defect rate is used to calculate a new value of n, (8) steps (2)-(7) are repeated until a suitable n is determined and sampling is completed, wherein the sample defect rate)(0°
found at iteration i is used as the defect rate for computing n at iteration i+1, wherein a suitable n is determined and sample is completed if n at iteration i+1 is less than n at iteration i; andterminating the certification process and certifying the widget template if the sample defect rate is within the acceptable defect rate. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method for creating an instantiated widget, comprising:
-
receiving a certified widget template having associated parameter schema and default parameter values, wherein the certified widget template results from a process comprising; selecting a widget template having associated parameter schema for certification, specifying a target value for an acceptable defect rate, iteratively generating, using a processor, a set of parameter values, the set of parameter values based on the associated parameter schema and varying from iteration to iteration, wherein for each iteration performing the steps; (1) an initial sample of (n) units to be tested is chosen, (2) parameter values are randomly generated from a set of all valid parameters as defined by the schema for the n units, (3) a validating parser is run to assure the parameters satisfy the schema constraints, (4) n widgets are instantiated using the widget template and the generated parameter values, (5) the n widgets are tested for defects to determine the sample defect rate(0°
) , wherein the sample defect rate equals the number of defective widgets found divided by n,(6) the overall defect rate is estimated by extrapolating from the sample defect rate, (7) the sample defect rate is used to calculate a new value of n, (8) steps (2)-(7) are repeated until a suitable n is determined and sampling is completed, wherein the sample defect rate)(0°
) found at iteration i is used as the defect rate for computing n at iteration i+1, wherein a suitable n is determined and sample is completed if n at iteration i+1 is less than n at iteration i; andterminating the certification process and certifying the widget template if the sample defect rate is within the acceptable defect rate; providing alternative parameter values; validating, using a processor, the alternative parameter values against the associated parameter schema; replacing the default parameter values with the validated alternative parameter values; and making the instantiated widget available for use. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
-
12. A system comprising one or more computer processors configured to:
-
receive a certified widget template having default parameter values, wherein the certified widget template results from a process comprising; selecting a widget template having associated parameter schema for certification, specifying a target value for an acceptable defect rate, iteratively generating, using a processor, a set of parameter values, the set of parameter values based on the associated parameter schema and varying from iteration to iteration, wherein for each iteration performing the steps; (1) an initial sample of (n) units to be tested is chosen, (2) parameter values are randomly generated from a set of all valid parameters as defined by the schema for the n units, (3) a validating parser is run to assure the parameters satisfy the schema constraints, (4) n widgets are instantiated using the widget template and the generated parameter values, (5) the n widgets are tested for defects to determine the sample defect rate)(0°
), wherein the sample defect rate equals the number of defective widgets found divided by n,(6) the overall defect rate is estimated by extrapolating from the sample defect rate, (7) the sample defect rate is used to calculate a new value of n, (8) steps (2)-(7) are repeated until a suitable n is determined and sampling is completed, wherein the sample defect rate)(0°
)found at iteration i is used as the defect rate for computing n at iteration i+1, wherein a suitable n is determined and sample is completed if n at iteration i+1 is less than n at iteration i; andterminating the certification process and certifying the widget template if the sample defect rate is within the acceptable defect rate; input parameter schema, wherein the parameter schema is associated with the widget template; store an alternative set of parameter values; validate the alternative parameter values against the parameter schema and replace at least one default parameter value with at least one new parameter value without recompiling source code; and make the instantiated widget available for use. - View Dependent Claims (13)
-
Specification