Risk-based test coverage and prioritization

US9720812B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9720812-B2
Application numberUS-201715397832-A
CountryUS
Kind codeB2
Filing dateJan 4, 2017
Priority dateApr 14, 2014
Publication dateAug 1, 2017
Grant dateAug 1, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A processor receives a rule containing a first set of code statements. The processor compares the first set of code statements of the rule to a second set of code statements of a plurality of code statements of source code. The processor responds to a match of the first set of code statements of the rule and the second set of code statements of the plurality of code statements of the source code, by applying a weight modifier to the rule, which adds a weighted value to the rule, and the processor, in response to a second matching of the first set of code statements of the rule to the second set of code statements of the plurality of code statements of the source code, applies the weight modifier to the rule, which includes a weighted value, and the weight modifier adjusts the weighted value of the rule.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for indicating significance of tested code statements, the computer program product comprising: one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising: program instructions to receive a rule containing a first set of code statements, wherein the rule includes at least one of an absolute significance indicator rule and a generic significance indicator rule; program instructions to compare the first set of code statements of the rule to a second set of code statements of a plurality of code statements of a source code, wherein a comparison of the first set of code statements contained in the rule to the second set of code statements of the plurality of codes statements of the source code is performed concurrent with testing of a compiled version of the source code, and wherein determining a correspondence between the first set of code statements of the rule and the second set of code statements of the plurality of code statements of the source code is enabled by annotations applied to the source code by code instrumentation; in response to determining a correspondence of the first set of code statements of the rule to the second set of code statements of the plurality of code statements of the source code, program instructions to apply a weight modifier to the rule, wherein the weight modifier assigns a weighted value to the first set of code statements of the rule, and wherein the weight modifier of an absolute significance indicator rule additionally adjusts the weighted value by a multiplier; in response to determining a correspondence of the first set of code statements of the rule to a third set of code statements of the plurality of code statements of the source code, program instructions to apply the weight modifier to the rule a second time, wherein the rule includes a first instance of the weighted value and the weight modifier assigns a second instance of the weighted value to the first set of code statements of the rule; program instructions to apply a cumulative weight value of the rule to the second set of code statements and a cumulative weight value of the rule to the third set of codes statements of the plurality of code statements of the source code, wherein the cumulative weight value indicates a significance of the second set of code statements and the third set of code statements, and is based on accumulated applications of the weighted value to the rule by the weight modifier; program instructions to determine a priority of subsequent testing for the second set of code statements and the third set of code statements, of the plurality of code statements of the source code, based on the cumulative weight value applied to the second set of code statements and the third set of code statements; and in response to receiving a request for a test coverage report, program instructions to display the cumulative weight value applied to the second set of code statements and the cumulative weight value applied to the third set of code statements of the plurality of code statements of the source code, in the test coverage report.

Assignees

Inventors

Classifications

  • for coverage analysis · CPC title

  • for test version control, e.g. updating test cases to a new software version · CPC title

  • for test design, e.g. generating new test cases · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9720812B2 cover?
A processor receives a rule containing a first set of code statements. The processor compares the first set of code statements of the rule to a second set of code statements of a plurality of code statements of source code. The processor responds to a match of the first set of code statements of the rule and the second set of code statements of the plurality of code statements of the source cod…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3676. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 01 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).