×

Predicting software product quality

  • US 9,619,363 B1
  • Filed: 09/25/2015
  • Issued: 04/11/2017
  • Est. Priority Date: 09/25/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for predicting software product quality, the method comprising:

  • receiving, by a computer over a network from an integrated development environment (IDE) server, real-time and historic software code metrics for a software product;

    receiving, by the computer over the network from the IDE server, real-time and historic software code defect data for the software product;

    receiving, by the computer over a network from the IDE server, real-time and historic test case-related data for the software product;

    calculating, by the computer, a feature predicted fallibility that estimates the number of code defects for a new feature of the software product, based on the received real-time and historic software code metrics for a software product, and the received real-time and historic software code defect data for the software product, as determined by calculating the average, over a plurality of product versions for the feature, of the quotient of the new lines of code injected into a product version for the feature divided by number of customer reported problems for the feature requiring code changes, and determining the feature predicted fallibility by calculating the product of the average quotient and the estimated lines of code that will be injected into a new product version for the feature;

    calculating, by the computer, a product version projected fallibility that estimates the number of code defects for a new version of a software product, based on an average of all calculated feature predicted fallibilities for all new features of the new version of the software product, as determined by calculating the sum of the feature projected fallibilities for all feature updates in the new product version that will be injecting lines of code;

    calculating, by the computer, a test case related quality coefficient that estimates the likelihood of discovery of code defects in a new feature, based on a mathematical correlation between a test case related metric, and the received real-time and historic software code defect data for the software product, as determined by calculating a Pearson Correlation Coefficient, over a plurality of features in a plurality of product versions, between defects uncovered per test case and test cases per thousand lines of code;

    calculating, by the computer, a feature quality index that is a qualitative indication of quality of the new code of a feature, based on the calculated feature predicted fallibility and the calculated test case related quality coefficient, as determined by calculating the product of the feature projected fallibility, the feature projected fallibility divided by the number of test cases, and the defects discovered per test case;

    calculating, by the computer, a product quality index that is a qualitative indication of quality of the new version of the software product, based on an average of all calculated feature quality indexes for all new features of the new version of the software product, as determined by calculating the average of all the feature quality index values for a product version; and

    outputting a report that includes at least the calculated feature predicted fallibility, product version projected fallibility, test case related quality coefficient, feature quality index, and product quality index, whereby developer resources are directed to features of the software product for which the calculated values indicate likelihoods of a high defect densities.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×