# US 2008/0313501 A1 · Method and system for assessing and analyzing software reliability

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0313501 A1
- Document ID: US20080313501A1
- Status: Published application
- Kind: A1
- Application number: 12/013,300
- Filed: 2008-01-11
- Published: 2008-12-18
- Earliest claimed: 2007-06-14
- Assignees: National Tsing Hua University
- Inventors: CHU TI LIN; CHIN YU HUANG
- Web page: https://patentgrep.com/patent/US20080313501A1

## CPC

- G06F 11/3696: {Methods or tools to render software testable}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for assessing and analyzing software reliability comprises the steps of: collecting failure data from a software system during a testing period; providing a reliability model having a testing compression factor, wherein the reliability model is used to fit the failure data; providing an estimation function derived from the reliability model; obtaining the value of the testing compression factor in accordance with the estimation function; and using the testing compression factor to determine the efficiency of test cases.

## Claims

### Claim 1

A method for assessing and analyzing software reliability, the method comprising the steps of:
collecting failure data from a software system during a testing period;
providing a reliability model having a testing compression factor, wherein the reliability model is used to fit the failure data;
providing an estimation function derived from the reliability model;
obtaining the value of the testing compression factor in accordance with the estimation function; and
using the testing compression factor to determine the efficiency of test cases.

### Claim 2 (depends on 1)

The method of claim 1, wherein the selecting step comprises the step of:
collecting failure data from the software system during a validation phase of the testing period.

### Claim 3 (depends on 1)

The method of claim 1, wherein the estimation function is one of maximum likelihood estimation and least square estimation.

### Claim 4 (depends on 1)

The method of claim 1, wherein the obtaining step takes a partial derivative upon the estimation function to zero.

### Claim 5 (depends on 1)

The method of claim 1, wherein the reliability model includes a validation phase, field trial phase and operation phase, and the testing compression factor is used to evaluate the characteristic of the field trial and operation phases.

### Claim 6 (depends on 5)

The method of claim 5, wherein the characteristics of the reliability model are affected by parameters a and r, wherein the parameter a represents the expected number of initial faults and the parameter r represents a fault detection rate during the validation phase.

### Claim 7 (depends on 5)

The method of claim 5, wherein the software reliability model is expressed as:
{
m
1

(
t
)
=
(
a
/
α
)
×
(
1
-
exp

[
-
r


α


t
]
)
,
0
≤
t
<
τ
,
m
2

(
t
)
=
(
a
/
α
)
×
(
1
-
exp

[
-
r


α

(
t
-
τ
c
+
τ
)
]
)
,
t
≥
τ
,
wherein m1(t) represents the validation phase characteristic, m2 (t) represents the field trial and operation phase characteristic, the parameter α represents a quantified ratio of faults to failures in the software system, the parameter c represents a testing compression factor, the parameter a represents the expected number of initial faults, the parameter r represents a fault detection rate during the validation phase, and τ represents a change point when the validation phase ends.

### Claim 8

A method for assessing and analyzing software reliability, comprising the steps of:
collecting failure data from a software system during a testing period;
providing a reliability model having a testing compression factor, wherein the reliability model is used to fit the failure data;
providing an estimation function derived from the reliability model;
obtaining unknown values of parameters of the reliability model in accordance with the estimation function; and
using the parameters to analyze the software reliability.

### Claim 9 (depends on 8)

The method of claim 8, wherein the selecting step comprises the step of:
collecting failure data from the software system during a validation phase of the testing period.

### Claim 10 (depends on 8)

The method of claim 8, wherein the estimation function is one of maximum likelihood estimation and least square estimation.

### Claim 11 (depends on 8)

The method of claim 8, wherein the obtaining step takes a partial derivative upon the estimation function to zero.

### Claim 12 (depends on 8)

The method of claim 8, wherein the reliability model includes a validation phase, field trial phase and operation phase, and the testing compression factor is used to evaluate the characteristic of the field trial and operation phases.

### Claim 13 (depends on 12)

The method of claim 12, wherein the characteristics of the reliability model are affected by parameters a and r, wherein the parameter a represents the expected number of initial faults and the parameter r represents a fault detection rate during the validation phase.

### Claim 14 (depends on 8)

The method of claim 8, wherein the software reliability model is expressed as:
{
m
1

(
t
)
=
(
a
/
α
)
×
(
1
-
exp

[
-
r


α


t
]
)
,
0
≤
t
<
τ
,
m
2

(
t
)
=
(
a
/
α
)
×
(
1
-
exp

[
-
r


α

(
t
-
τ
c
+
τ
)
]
)
,
t
≥
τ
,
wherein m1(t) represents the validation phase characteristic, m2 (t) represents the field trial and operation phase characteristic, the parameter α represents a quantified ratio of faults to failures in the software system, the parameter c represents a testing compression factor, the parameter a represents the expected number of initial faults, the parameter r represents a fault detection rate during the validation phase, and τ represents a change point when the validation phase ends.

### Claim 15

A software testing system having a reliability model with a testing compression factor, wherein the reliability model includes a validation phase, a field trial phase and an operation phase, and the testing compression factor is used to evaluate the characteristic of the field trial and operation phases.

### Claim 16 (depends on 15)

The software testing system of claim 15, wherein the characteristics of the reliability model are affected by parameters a and r, wherein the parameter a represents the expected number of initial faults, and the parameter r represents a fault detection rate during the validation phase.

### Claim 17 (depends on 16)

The software testing system of claim 16, wherein the software reliability model is expressed as:
{
m
1

(
t
)
=
(
a
/
α
)
×
(
1
-
exp

[
-
r


α


t
]
)
,
0
≤
t
<
τ
,
m
2

(
t
)
=
(
a
/
α
)
×
(
1
-
exp

[
-
r


α

(
t
-
τ
c
+
τ
)
]
)
,
t
≥
τ
,
wherein m1(t) represents validation phase characteristic, m2 (t) represents field trial and operation phase characteristic, the parameter of α represents a quantified ratio of faults to failures in the software testing system, the parameter c represents a testing compression factor, and τ represents a change point when the validation phase ends.
