markovian software reliability modeling · model with imperfect debugging considering the...

205
AStudy on Markovian Software Reliab fbr Availability and Sa民ty As Jalluary 1999 Koichi Tokuno

Upload: others

Post on 09-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

              AStudy

                 on

Markovian Software Reliability Modeling

                 fbr

  Availability and Sa民ty Assessmrnt

 Jalluary 1999

Koichi Tokuno

Page 2: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 3: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

AStudy

on

Markovian So仕ware Reliability Modeling

丘)r

Availability and Safbty Assessment

Dissertation submitted in partia1制五11ment for

  the degree of Doctor of Philosophy

       (Engineering)

        Koichi Tokuno

Doctoτal PΣogτam of the Graduate School of Engineering,

     Tott◎ri University, Tottori, Japan

        January 1999

Page 4: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 5: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

 Copyrighted

     by

Koichi Tokuno    1999

Page 6: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Page 7: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

vii

ABSTRACTThis doctoral dissertation deals with software quality measuエement and assessme丑t in

dynamic environment such as the testing phase of the softwaτe development p壬ocess and

the operatioRal maint頭ance phase. h particulaエ, we pΣopose several stochastic models

for software reliabUity, availability, and safety assessmen七These Inodels are developed by

elnploying Markov processes. The dissertation consists◎f the七hree ma加partS。

    1丑the五rst part software reliability modeling is discussed. In particular, imperfect

debuggi丑g enviro丑ment is飽e central argumenI. Chapter 2 gives a so丑ware reliab血ty

model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this

mode1,0ptimal software release policies with cost factors and reliability requiτement aτe also

investigated as application to practical use. Chapter 3 proposes an imperfect debugging

model considerillg the existe丑ce of regenera七ive faults as well and presents applicatio且

examples of the model to孤actual tes七ing data set. These two models provide sever泣

stochastic quantities fbr software reliability measurement.

    In the second part software avaJlab班ty is the main issue. Chapter 4 discusses software

availability modeling by treating operational and restoration time-intervals of a system as

random vaエiables depending on the culnulative Ilumber of corrected faults. Estilnation of

unknown parameters is aJso pmvided i丑this chapter. Chapters 5 and 6 give customer-

oriented software availability models. The mode1とonsideri且g two types of software failures

in user operation is discussed in Chapter 5 and two types of restoration scenarios in Chap-

ter 6. Chapter 7 proposes a software availability model with degenerated perfbrmance.

This model can provide a new perfbrmance measure considering reliability and co皿pu-

tation sinlultaneous1)乙Chapter 8 deals with ava丑ability modeling fOr a computer-based

system, which consists of one hardware and olle software subsystem.

    The thiτd part focuses on software safety measurement and assessme由. Chapter g

gives a safety assessme丑t model describing the relatio丑ship between software f議1ure-occur-

rences and software safety Based on the software reliability/availab丑ity皿odeling discussed

in the above two parts, Chapter 10 deals with software safety modeling which takes acco皿t

of the situation where a systeエn engenders unsafe states in operation.

    In the丘nal chapter we summarize the results obtained in the dissertation and future

research woエks on software reliability modeli且g.

Page 8: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 9: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ix

ACKNOWLEDGMENTSThe author would like to express his gratitude to Pro允ssor Shigem Yamada, the supervisor

of the author,s study and the chairman of this dissertation reviewi且g committee, fOr his

introduction to research in software reliabihty, valuable advice, collti班ous support, and

warm guidance.

    The author is indebted to Professor Hajime Kawai, Profess◎r Sa七〇ru Ikeha壬a, Professor

Yutaka Fukui, and Professor Kazuhiro Sugata, the members of the dissertation reviewing

committee, for reading the manuscript alld making helpful comments.  ・

    The author wishes to particularly thankP∫ofessor Shunji Osaki of Hiroshima Univer-

sity fbr i丑variable encouragement and support

    The autho壬has also received priceless cooperation and suggestions f士oln m砲y people

for the achievement of this work. Special thanks are due to P士ofessor Naoto Kaio of

Hiroshima Shudo University, Associate Professor Satoshi Fukumoto of Aichi Institute of

Technologyl Associate Professor Mitsuhiro Kimura of Tott◎エi University, and Associate

ProfessoτTadashi Dohi of Hiroshima University

    The author would also like to acknowledge the ki丑d hospitality and encouragement of

the past and prese且t me皿bers of Profbssor Yamada,s laboratory and the staff of Depart-

ment of Social Systems Engineering of Tbttori University

    Finally, the author wants toもhank his late parents Kaoru a丑d Mitsuko,七〇whom this

dissertation is dedicated.

Page 10: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 11: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Contents

1 1ntroduction

  1.1 Softwa壬e Re五ability Engineering

  1.2 0rganizatioll of Dissertation_.

づ⊥-よrO

Part I SOFTWARE R肌IABILITY MODE口NG

2Softwafe Reliabi五ty Modeling with Imperfbct Debugging

2.1

2.2

2、3

2.4

ピOCU

2リム

Introduction  .................◆ .. .....◆........

Model Description .._............_,.....__...

Derivation of Reliabiity Measures .........。............

2.3.1 Distribution of the Fiτst Passage Time to the Spec姐ed Number of

     Corrected Faults .........................、..

2.3.2 Distribution of the Number of Faults Correcte(i Up to a Specified

     Time ..◆.今.......“..ヂ◆..◎...直...⑳......

2.3.3 Expected Number of Faults Detected Up to a Spec遣ed Time ._

2.3.4 Distribution of the Ti皿e between Software Failures .........

Optimal Software Release Pτob王ems .._..._.__.......

2.4.1 Reliability-OptimaユSoftware Release Policies ............

2.4.2 Cost・・Optimal Softwaτe Release Policies ...._.........

2.4.3 Cost-Reliability-Optimal Software Release Policies ......_.

Numerical Examples .。.“....._._.._..._.......

C…1・di・gR・m争・k・・・・・・………・・…・・・・……・

3Software ReHability Modeling with Two Types of Failures

  3.1  1ntroducti◎n  ..。.....。......... ........

  3.2 Model Description ....._.._._...◆⑨◆_.

QVQV(U5

  1丁⊥

15

37

R7

R8

Page 12: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

xii

3.3

3.4

3.5

3.6

(〕011書eヱ1古S

Derivation of S oftware Reliability Measuτes ............._..

3.3.1 DistributioII of the First Passage Time to the Speci五ed Number of

      Corrected Faults ......、.....................

3.3.2 Distribution of the Number of Faults Corrected Up to a Specified

      「1〔ime    _  .  .  .  .  ’  .  .  _  .  .  .  .  _  .  .  _  .  .  .  .  .  .  _  .  .  _  楡  _  .  .  _  ラ  吟

3.3.3 Expected Number of SoftwaTe Failures....._......._

3.3.4 Distribution of the Time between Software Failures .........

Parameter Estimation .....。...................。...

Numerical Examples................._...........

C皿cludi江g Remarks........................⑨◆奄._

41

41

(∠∩∠う緬340

Part II

4 So貴ware

寸⊥り女90

4ピ◎パ0

50perat輌ona1 Software Availability M

寸⊥(∠り0

グ◎5rO

5.4

    SOFTWARE AVAI輻ABILITY MOD肌ING

    AvailabiHty ModeUng

Introduction  . ...。◆.......... .......s . ......。、。

Modeling and Assumptions ._.......................

Derivatio丑of Software Perforlnance Measuエes................

4.3.1 Distribution of the First Passage Ti皿e to the Speci五ed Number of

      Coτrected Faults ...........。................

4.3.2 State Occupa丑cy Pτobability and So丘waτe Availability .......

Parameter Estimatio丑 ..._........................

Numerical Examples.◆..“..........。◆_.._._.._

Concludillg Remarks.._◆.........._.............

                             ode1輌ng with Two Types of Failuオes

I]at壬oduction   . . . . . . . . . . . . . . . . . . . . . . . . . . . . 念 . . . . .

Model Descτiption ......_.......................

Derivation of Software Performance Measures..。.............

5.3.1 Dis垣bution of the First Passage Time to the Speci五ed Number of

      CoΣrected Faults ............................

5.3.2 0peratio丑al State Occupancy PΣcbability and Softwaτe Availabihty

Numerical Examples ...。..........。......._.◆_..

33r◎880り臼う02

r◎(O(りCUワ4

809ピ

7‘88

Page 13: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

6

7

8

Co丑τen右s xiii

5.5 Concluding Relnarks...._....。_.......◆◆._._.. 88

0perational Software Availability Modeling with Two Types of Restora-

tions                                           89

6.1  1ntroduction  .、 ..........。守。........... ..... ...  89

6.2 Model Descriptio亘 。............_............◆◆⑨. 89

6.3 Derivation of SoftwaΣe Performance Measures。............... 92

    6.3.1 Distribution of the First Passage Time to the Speci五ed Number of

          Corrected Faults .......................、....  92

    6.3.2 0perational State Occupancy Probability、a丑d S◎ftware Availability  94

6.4 NumericaユExamples .........。_...........◆__.. 95

6.5 COncluding Remarks......_.._......._......... 99

Software Availability Modeling with Per数)rmance Degenerati位    101

7.1  1ntroduction  ..............。............、...... 1◎1

7.2 Model Descriptio五 ...._......__,..._......._ 102

7.3 So我ware Availabi且ty Analysis_.....。.........._.◆... 105

    7.3.1 Distribution of the Fi£st Passage Time to the Speci五ed Number of

          Corrected Faults .......... ........ ,. ........ 105

    7.3.2  State Occupancy Probability  ..................... 107

    7.3.3 1nstantaneous Softwa壬e Availability and Computatioll Software Avail-

          abi五ty ......◆ウ.......................…    109

7.4 Numerical Examples.....,........................110

7.5 Conc1面ing Remarks............................_ 114

AvailabiUty Modeling fbr Hardware-So我ware System        115

8.1  1ntroduction  .. . ... ... ... . .. . ..... .. . 。 . . .. .. .. . 115

8.2 Model Description _................_...∴._...116

8.3 Derivation of System Perfbrmance Measures.._......_.._.119

    8.3.1 Distribution of the Fi£st Passage Ti皿e to the Speci五ed Number of

          Corrected Faults ............................ 119

    8.3.2 0peτatiollal State Occupancy Probability and System Availability. 120

8.4 Numerical Examples..............._.._......_.121

Page 14: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

xiv Collteロ古s

8.5 Concluding Remarks..__.........._........._.125

Part III SOFTWARE SAFETY MOD肌ING

9Software Saf已ty Modeling Related to Failure Occurrences

≠↓リムOO

O」0σ0σ

4’◎

0σ0σ

Introductio互  ....................⑨....守........

M◎del Descriptio丑 ......._...................◆..

Software Safety/Av泣1abiity Analysis...._...........。...

9.3.1 Distribution of the First Passage Time to the Speci丘ed Number of

     Corrected Faults  .. ..。 ... ........ .... ...... . .

9.3.2 State Occupancy Probab伍ty .。............._ ....

9.3.3 Software Safety ......、....._.。_....._ ....

9.3.4 hstantaneous S oftware Availability ...........__..

Numerical Examples ..................._・…  一…

Concluding Remarks_..............._・・・・・・…  一

10Software ReHability/Availability ModeUng with Safety

  10.1 1nt丈oduction  ..◆...............................

  10.2So我ware Reliability Assessment Model with Safety ....。.__._

      10.2.1Model Description .._......。._.......___

      10.2.2Derivation of Safety/Reliability Measures ..,......_._

  10.3Ava且abiHty-Intensive Safety Assessment Mode1...............

      10.3.1Model Description .......。.._...............

      10.3.2 Software Availability/Safety Analysis _◆◆◆...........

  10.4Numerical Examples _..........___....._.__

  10.5Conchlding Remarks ....._._._.._.._.........

129

129

130

133

133

134

137

138

138

142

Part IV CLOSING

11Conclusion 169

Re伝ences 173

Page 15: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Pub五cation L,ist of the Author

COllteヱ1εS XV

179

Page 16: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 17: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

]List of Figures

1。1

1.2

1.3

Software reliability techn◎10gies. _ 。__......__..。._

SRE activities over the software product life-cycle phases. ._.._..

The dependabi五ty tree.  ..................◆◆◆..  ....

∩∠リム4

Part I SOFTWARE R肌IABILITY MOD肌ING2.1Asample function of(y, T).___........._........

2.2 Adiagrammaticエepresentatio丑of tr鋤sitions betwe殴states of X(¢)fbr

    software reliability mode五ng with imperfect debugging. _.。.._◆◆

2.3 Asample realization of hazaτdτate zi(τ)fbr software reliability modeling

    with impeΣfect debugging. .................・・・・・・・…

2.4 Depelldence of peτfect debuggingτateρon Glo(¢)(1フ=0.2,☆=0.9). ..

2.5 Dependence of perfect debuggingτateρon E[X(舌)120](D=0.2,え=0.9).

2.6 Dependence of perfect debugging rateρon Var[X(孟)120](D=0.2,ん=0.9).

2.7 Dependence of perfect debugging rateρon cv[X(¢)120](D=0.2,☆ニ0.9).

2.8 Dependence of decΣeaぶi丑g ratio of the hazard rate,為on Var[X(‡)120](D=

    0.2,3)=0.9). 。 . . . . . . . . . . . . . . . . . . ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ …

2.9  ルf(£130)and D(孟130)(D=0.2,え=0.9,3)=0.9).  .............

2.10Dependence of班mber of f謝uτes~o丑software reliability RJ@)(1)=

    0.2, 為=0.9,ρ=0.9). . . ヴ . . . . . . . . . . . . ◆ . . . . . . . . . . . . .

2.11Dependence of number of f垣1ures Z on hazard rateλ1(¢)(D=0.2,ん=

    0.9,ρ=:0.9). . . . . . 。 . . . . . . . . . . ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ …

3ユ Asample realizatiol1◎f hazard rate z∠ωfor softwaτe reliability modeling

    wi七h two types of f頒1ures......._.........…  一・・…

                                 

3.2 Estimated M(重)and E[X(Z)]. ......_ ..._ .._ ._ _ ._

              3.3 Estimated G26(り. ........._........:...........

12

13

4↑0ハ07・△◎

-⊥9錫9〃9柘9撫

∩U寸⊥

◎δ3

32

33

OEOρ0

xvii

Page 18: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

xviii

4セ0ハ◎

り0う0り0

Lfs舌・f Figures

           Estimated cv[X(重)L  ・.…  一 ・・_ ・一 …  ’・・・・・…  一 ・・

          Estimated R27(¢). ・・・…  一・・・・・…  一一…  ’…  一一

         Estimatedλ∫(苫)...・..・・一・・..・・一・・…  一・・・・・…

7‘(6QV

4ム44

Part II

-り4

4占4占

う04ピ0ハ07-8

4ふ444丞占4凸5.1

5.2

5.3

5.4

5.5

5.6

5.7

6.1

SOFTWARE AVA皿ABI口TY MODE口NGAsample rea五zation of y(舌). ._◆....................◆

Adiagramm&ticエepresentation of state transiti◎ns between X(¢),s for soft-

waτe availability modeling. ......◆...__ ...◆_......

          Estimated G26(τ)(α=0.8).._....._._。.,........_

Operational staもe occupancy probability P后π(τ)(DATA 1:α=0.8). ...

         Estimated.4(舌)(DATA 1:α=0.8). ......_....__.__

         Estimated.4(¢)(DATA 2:α=0.8). ........._..._.,...

          Estimated Aαカ(司(DATA 1:α=0.8). _....。_........_.

          Estimated.AαU(り(DATA 2:α=0.8). ......_....._.....

Adiagrammatic representation of state tra丑sitions between X(Z),s fbr oper-

ational software availability modeling(1). _...._..._.....

Dependence ofαon Gπ(£)ぴ=5,θ=・0.01,η=1.0, D=0ユ,為=0.8,

1ヲ=0.5,ア=・:0.9).  . 。 . . . . . . . 楡 . . . . . . . . . . . . . . . . . . . . .

Dependence ofαon.4(τ)(θ=0.01,η=1.0, D=0.01,え=0.8,万=0.5,

ア=0.9).  . . . . . . . . . . . . ◆ ◆ ◆ . . . . . . . . . . . . . . . . . . . . .

Dependence ofθo丑.4αヵ(τ)(α=1.0,η=1.0, D=0.01,え=0.8,五1=0.5,

ア:=0.9).  . . . . . . . . . . . . . . . . . . . . . . ◆ 心 ◆ . . . . . . . . ◆ . .

Dependence ofθo且ノ1卿(£)(α=1.◎,η=1.0, D=0.01,ん=0.8, E=0.5,

r・=0.9).  . . . . . . .. . . . . . ・ . . . . . . . . . . . . . . . . . . . . . .

Depelldence of r on/1(£)(α=0.9,θ=0.01,η=1。0, D=0.01ラゐ=0.8,

E=◎.5).._......。,......_._...。._.......

Dependence of D:θon.4(¢)(α=0.9,η=1.0,瓦=0.8, E=0.5,ア=0.9).

Adiagralnmatic representati皿of state tr孤sitions betwe頭.X(τ),s fO壬opeτ一

ational software availability modeling(II). .守..............“.

57

OOρ079012

5ハ◎CUρU7‘7‘7‘78

84

84

85

86

7-8

◎08

92

Page 19: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

6.2

6.3

6.4

6.5

ーロ

7

リム90

7‘7‘

4り

7

5ロ

7

-⊥リム

◎08

3ロ

8

4ひ

8

5ロ

8

6ひ

8

                                                 Ljst of FigUτes

Dependence ofαon/1(重)(ρ=0.9, Z)=・0ユ,た==◎.8, E=0.5,ア=0.9,

η==1.◎). ....................・・・・・・・・・・・・・…

Depe丑dellce ofαo丑/1α勺(τ)(ρ=0.9,1フ=0.1,☆=0.8, E=0.5,γ=0.9,

η=1.0). ...。.......。......・.・・・・・・・・・・・・・…

DependeRce ofρon.4(Z)(α=0.9う1)=0.1,た=0.8, E=0.5,γ=0.9,

η=工0). ..........◆◆........・.・・“・・・・・・・…  ◆

Depe丑dence◎fρon/1α”(♂)(α=0.9,1)=0.1,ゐ=0.8, E=0.5,ア=0.9,

η=1.0). .......................・・・・・…  二・…

Adiagrammatic representation of state transitions between X(Z),s for soft-

ware availabihty modeling with performance degeneration.___...

Dependence ofαon.4(τ)(D=0ユ,た=0.8, E=0.2,γ・=0.9). ......

Dependence ofαon zlc(¢)(D=0.1,た=0.8ラE=0.2ハγ=0.9,θ=0.1,η=

1.0, (ブ:=1.0, δ==0.5).  . . . . . . . . . . . . . . . . . . . . . . . . . . , .

Depe且dence ofδon.4c(¢)(α=0.9, D=0.1,夫==0.8, E=0.2,γ=◎.9,θ=

0.1,η=1.0,0=LO)........_.∴_........_.

Dependence ofηon/1c(¢)(α=0.9, D=0.1,☆=0.8,1ヲ=0.2,ア=0.9,θ=

0.1, 0=1.0, δ==0.5).  . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Asample behavior of haτdware-software system. ...._...,....

Adiagrammatic representation of state transitions between X(τ),s for avail-

ability modeli丑g fbr hardware-software system. ...............

Dependence ofαon Gπ(孟)(π=5,θ=0.01,η=1.0,.D=0.1,た=0.8,

」ヨ==0.5,ア=0.9).  . . . . . . . . . . . . . . ◆ . . . 。 . . . . . . . . . . . .

Dependence ofαon/1(¢)(θ=◎.01,η=1.0, D=0.01,為=0.8, E・=0.5,

ア:=0.9).  ◆ ◆ . . . . . . . . . . . . . . . . . . . . . . . . . . ψ ψ ・ ・ ・ …

Dependence ofτon.4(τ)(θ=0.01,η=1.0, D=0.01,ん=0.8, E=0.5,

α:=0.9).  . . . . . . . …   . . .. ・ ・ …   . . ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ …

Dependence ofθ:Z)on/1(の(η=1.0,1C=0.8, E=0.5,ア=0.9,α=0.9).

xix

OVO∨0ソ◎∨41⊥

∩U「⊥

T⊥-よ

り▲ (5

イ⊥ 1⊥

1 1

∠コ7

1 1⊥

1⊥ -

8 リム

丁⊥ りム

ー⊥ 

1⊥

3n∠°

1

リムリム

ー1⊥

Page 20: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

双 Lisεof Figure5

Part III

9.1

9.2

9.3

9.4

9.5

SOFTWARE SAFETY MOD肌INGAdi・g・amm・ti・・ep・e・e亘t・ti…f・t・t・t・a・・iti…b・twee・X(τ)’・f・・s・我一

ware safety modeling related to failure occurrences...._..._...

Dependence of 1)10n software safety 5(諺)(1)=0.1,た=0.8, E=1.0,ア=

0.9,α=:0.9,7=1.5). . . . . . 楡 ◆ . . . . . . . . . . . ◆ . . . . . . . . . .

Dependence ofρ10丑insもantaneous software availability.4(¢)(D=0.1,☆=

0.8,五フ==1.0,ア=・=0.9,α:=0.9,7=1.5).  . . . . . . . . . . . . . . 、 . . .

Depelldence of 70n software safety 5(孟)(D=0。1,☆=0.8, E=1.0。ア=

0.9,ρ1:=0.3,α=:0.9).  . . . . . . . . . . . . . . , . . . . . 。 . . . . . . .

Dependence of午on instantaneous software availa田ity.4(り(D=0.1,た=

0.8, 」ヲ=1.0ハ γ・==0.9,ρ1=:0.3,α==0.9).  . . . . . . . . . . . . . . . . . .

10.1Adiagrammatic repres飽tation of state transitions between X(舌)’s for the

    software reliability assessment model with safbty. ..............

10.2Adiagrammatic repres飽tation of state transitions between X(τ),s fbr the

    ava迅ability.i刀tensive safety assessment m◎de1...._...........

10.3Dependence ofθon S1(£)(D=0.1,☆=0.8,α=0.9,η=0.1)。......。

10.4Depende丑ce of兎on 51(オ)(D=0.1,α=0.9,θ=◎.01ラη=0.1). ......

10.5Behawiors of state occupancy probabilities(α=0.9, D=・0.1,た=0.8,

    E=◎.2,ア=0.9,θ=0.01,η=0.1). ........二・............

10.6DependeDce ofαon 52(重)(D=0.1ラた=0.8, E=0.2, T=0.9,θ=0.01,

    η=0.1). .........・・…  .....・.・・・・・・・・・…  ’・・

10.7Dependence ofαon.4(¢)(D=0.1,え=0.8,五7=0.2,ア=0.9,θ=0.01,

    η=0.1). ..........................…  ...・.・・

10.8Dependence ofαon/1αd¢)(1)=0.1,ゐ=0.8, E=0.2,ア=0.9,θ=0.01,

    η=:0.1). .....◆◆..,............。....・・.......

132

139

140

141

142

149

155

160

161

162

163

164

165

Page 21: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

List of Tables

Part I SOFTWARE R肌IABIHTY MODEHNG 2.1 Testing time¢アto reach the objective probabilityγ(γ==0.9,π・=10,1)=

    0.2, え=0.9). . . . . . . . , . . . . . . . . . . . . . . . . . . . . ∵. . . . .  24

 2.2 Testing time¢、 maximizing Vaτ[X(老)pVl(1)=0.2,瓦=0.9)......... 27

 2.3 Testing time孟c to reach the objective cv(c=0.1,1)=0.2,為=0.9).... 29

 2.4 MTBSF E[Xz](ρ=0.9, D=0.2,☆=0.9). ............._.. 34

 2.5 0ptilnum release time 2「*for Theorem 1(¢o=2.5, Eo=0.95, D=0.2,兎=

   0.9). . . . . . . . . . . . . . . . . . . . . . , . . . . . . . . . . . . . . . . .  35

 2.6 0ptimum release time T*for Theorem 2(c1=L◎, c2=10.0, c3=0.2, D=

   0.2, 為:=0.9,∧「=30). ◆ . . ◆ ◆ . . . .’. . . . . . . . . . . . . . . . . . . .  35

 3.1 MTBSF E[苦]............_..........._....命◆. 49

Part II SOFTWARE AVAILABIHTY MOD肌ING

 4.1 Generated da、ta sets..................。....。..

 4.2 MaDdmum-1ikelihood estimates........。...........

4ζσ66

xxi

Page 22: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Page 23: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 1

Introduction

1.1 Software Reliability Engineering

At presellt, enomlous software systems have been developed as computer systems have been

utilized in various五elds. The ability or utility of existing computer systems are greatly

in且uenced by performa丑ce/quality◎f their software systems. Therefore, once system fai1-

ures due to defects or faults lateRt in software systems come to the su∫face, the systems

are entirely useless and ma町people sustain great damage. Moreove£, they may cause

serious accidents af琵cting people’s lives[24]. Under the backg壬ouIld like this, the software

p丈oduction technologies fOr the pu叩ose of pエoducing quality software systems ef登ciently,

systematically, and economically have been developed aRd researched餓ergetically Among

these, software management technologies have recently ris飽in importallce[14,63].

    Comprehensive use of technologies and methodologies in software engineeri且g is needed

for improving softwaエe quality/reliability Figure 1.1 summarizes the represe丑tative soft-

ware reliability technologies[57].5ρヵωαアe丑el‘αわ‘1‘勿Eη/g‘ηeeππg(SRE)is a subdiscipline

of software engineering and the quantitative study of how well the opeτational behavior

of software-based systems三neets customer requiτemellts[27,32]. Figu壬e 1.2 shows SRE

activities in the respective software life-cycle phases[4,57].

                                             Fault Avoidance

                            Technology       Systematic Specification Technique

                                             Fai畑re Modes and Effects Analysis

    Softvvare Reliability

                                             Measurement and Assessment

                                             Techniques                            Management

                                             Data Collection Procedure

Fig.1.L So琵ware reliab坦七y七echnologies.

1

Page 24: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2 ヱ.1ロtroductfo丑

DEVELOPMENT STEPS SRE ACTIVITIEiS

Feasib‖ity

RequirementsDevelopment@  Plan

一     一      一     一      一     一 一     一      一     一      一      一

Design

lmplementation

一一一一一一一      一      一      一      一     一

System Test

         トeield Trial

一     一     一     一     一     一 一     一      一      一     一      一

Operation Maintenance

・Determine functional profile

●Define and classify failures

・ldentify customer reliability needs

●Conduct trade-off studies

●Set reliability objectives

・Albcate reliability among components●Engineerto meet reliab‖ity objectives

●Focus resources based on functional prof‖e

・Manage fault introduction and propagation

●Measure reliability of acquired software

・Determme operational profile

●Conduct reliability growth testing

.Track testing Progress

・Prolect additional testing needed

●Certify reliab川ty objectives are met

●Prolect post-release staff needs

・Monitorfield reliability vs. oblectives

・Track customersatisfaction with reliab目lty

・Time new feature introduction

by monitormg reliab‖渡y

・Guide product and process improvementwith reliabi蹴y measures

Fig.1.2. SRE act三vities over the soj逢ware pro duct life-cycle phases.

    There exist two funda皿ental ways to improve software quality/reliability:允μZ紘αuo猛

αηce andカz%π‡oZeγrα7τce. Fault avoidance is the more traditional apProach and attempts

to ellsure a fault-fτee system by equipping methodologies for fault preventioII and fault

removal in the software development process. Fault tolera丑ce techniques are based on the

pτelnise that a system will conta桓residual design fau1もs, no matter how carefully designed

and validated, and attempt to limit perfbrmance degradatioD and failure occurrences due

to such faults to a minimum. The 2V-version programming[2]and the recovery block

Page 25: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ,1,50允W訂eRe∫iabjlj砂E丑91mee地9 3

scheme[45]are the represe丑tative software fault-toler孤ce approaches. The software-fault-

tolerant architecture cons輌sts of plural uαπαπτ5, which are different sysもems produced from

acommon speci丘cation, and a 4ec掘er, which monitoτs the results◎f va壬ia丑七executi◎n[20].

    We de丘ne the following technical terms in SRE[25,35,57]:

   o s{栃ωα陀力‘1μre

    Asoftware failure occurs whe丑asoftware system ceases to deliver the expected

    outputs and does not function in accordance with a software specification.

   ● s(ぴ参ωα7℃1観£~古                                  ”

     Adefective statement or a set◎f defective statements in a software program which

     may cause a software f泣1ure. A software fault is also referred as a 5φωαre 6%g.

   ● 50]だψα陀eη07’

     Ah芝【man intellectual action that results in a softwaτe system contai丑illg a softwaτe

     fault. A software error introduces a software fault into a system.

1丑this dissertation the teτms 3(埆ωαアe允嘘and 30ヵ拠アεe搾or are used as the same

meaning since a software fault is a mallifestation of a software er士or. Hereafter a software

fault is referred as a fault。

    The de丘nitions of dependability and the software attributes of dependab旦ity handled

in this dissertation are given as follows:

    Dep飽dability is de丘ned as the trustwo壬thiness of a system and is a compτehen-

sive teτm to describe the attributes such as reliability, availability, safety, con五dentiality,

integrity, and maintainability[25].

   ●Software reliability is the attribute that a software system will perform without

    causi丑g a software failuτe over a given time period, u丑der spec述ed operational envi-

    ro丑ment.

oSo{℃ware av誠lability is the attribute that a software system wiU perfbrm and be

  available at a given time poinも, under speci五ed operaもional enWo夏ment.

oSoftware safbty is the attribute that a software system wilhot induce any hazards

  whether or not the system is function垣g in accordance with the speci丘cation, where

Page 26: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

4 ヱ. 1五trodUC古fo刀

     a九αzαアdis defined as a state or a set of c◎nditions of a software system that, together

     with other conditions in the斑viTonme丑t of the system, will lead inevitably to an

     acci(iellt [23].

The maill characteristics of dependabili七y aTe summarized in Fig.1,3[25].

                                                     AVAlLABlUTY

                                                     REUABIUTY

                             A↑TRIBUTES        CONFIDENTIAUτY

                                                     lNTEiGRITY

                                                     MAINTAINABILITY

DEPENDABII」TY MEANS

lMPAIRMENTS

FAULT PREVENTION

FAULT REMOVAL

FAULT TOLERANCE

FAULT FORECASTING

FAULTS

ERRORSFAILURES

Fig.1.3. The dependabi五七y tree.

    One of the above software∫eliability tech且ologies is a quantitative technique fbr soft-

ware quality/re五ability measurement, and maDy mathematical models for the purpose of

measuτmg aロd assessぬg software re五ability reasonablyl which is a so-caユ13(沸ωαアe竹el‘α6‘Z-

Z彦ymo4el, have been proposed and apPlied to practicaユuse because it is considered that

softwareτeliability is the main quality characteristic in a software product. A mathematical

so銑waエe reliability model is◎ften called a 5(泣ωαアeアeZ‘α6砺勿groω6んηzo∂eZ which describes

asoftware fault-detectio且or a software failure-occurrence phe江omenon duri簸g the testin.g

phase of the software development process and the operation phase[1,26,35,44ラ56,57].

    The existing softwa壬e reliability models are classi五ed fごom vaτious view points by

several researchers such as Mellor[28], Musa et aL[35], Romamoo曲y&Bastani[441,

Sha丑thikumaτ[49], Xie[54],鋤d Yamada[56|. Yamada[56,57]classifies the softwaτe

reliability growth models i丑to the following three categories:

Page 27: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

1.2. 0τganfzaτio刀of Disserカa右fo丑 5

(1)♂九e允τ1批e-occ征アeπce彦乞me mo∂el:astochastic model taking notice of the time-interval

    between software垣ilure-occurrences.

(2)♂んe∫己%1か∂e舌ecZZoπco肌‡η104el:astochastic model taking notice of the cumulative

    numbeτof faults detected or software failuτes occuΣring over a speci五ed time period.

(3)仇eαヵατ1α碗鋤ηzo4eZ:astochastic model describing the tilne-depende加behavior of a

    software system which alternates betweeII up and down state.

    The above models are utilized foτmeasuring and assessing the degree of achievement of

software reliability, deciding the time to software release fbr operational use, and estimating

the maintenance cost for faults undetected during the testing phase.

1.2 Organization of Dissertation

This dissertation studies software rehability modeling for availabi五ty alld safety assessment

by employi丑g Markov pエocesses. The dissertation is divided into the three main parts:Part

Ion softwaτe reliability modeling, Part II on software availabihty modeling, and Part III

oll software safety modeling. The three paτts are complemented by this introduction and

aconclusion i丑Chapter 11.

一Pαアτ五S(沸ωαアeRel‘α6‘ZπyルfαleZ仇9

  1n the丘rst part software re五ability modeliエ1g is discussed. In particular, i皿peτfect

  debugging environment is the cemral argument。 Chapter 2 gives a software reliability

  model with imperfect debugging consideri丑g the uncertainty of fault removal. Based

  ◎nthis mode1,0ptimal software release policies with cost factors and reliability re-

  quirementεLre aJso investigated as apPhcation to practical use. Chapter 3 PΣoposes

  an imperfect debugging nlodel considering the ex輌stence of regeneTative faults as well

  and presents application examples of the model to an actual testing data se輻

一Pαアε∬:SOカωαreノ動α‘Zα玩1碗1」1イ0〔lel仇9

  Chapter 4 discusses software availability modeling by tτeating opeTational and restora-

  tion time-intervals of a system as ralldom variables depending on the cumulative

  丑umber of corrected faults. Estimation of unknow丑parameteτs is aユso provided in

Page 28: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

6 1. 1htrodUCむO口

this chapter. Chapters 5 a丑d 6 give customer-oriented software availab丑ity]models.

The model collsideri丑gもwo奄ypes of software f垣1ures in user operation is discussed

in Chapter 5 and two types of restoratio丑scellarios in Chapter 6. Chapter 7 pro-

poses a software avaUability model wiもh degenerated perfbrmance. This model ca丑

provide a new perf6rmance measure considering reliability and computation simu1-

taReously Chapter 8 deals with availability modeling for a computer-based system,

which consists of one hardware and one software subsystem.

一Pαr云五τ:5(沸ωαwe 5ぴ勿λfo4e励9  ,          .

  The thiTd part focuses◎n software safety measurement and assessment. Chapter g

  gives a safety assessment model describing the relationship betwee丑software failuτe-

  occurrences and software safety、 Based on the software reliab伍ty/ava丑ability mode1-

  ing discussed i丑the above two parts, Chapter 10 deals with software safety mode1垣g

  which takes account of the situation where a system engendeτs unsafb states m op-

  erat1011.

    Chapte士11 summaエizes the£esults obtained in the dissertatio且. We concludeもhe

dissertation with prospects fbr the futureτeseaτch works on software reliab血ty modeling.

Page 29: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Part I

Page 30: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 31: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 2

Software Reliability Modeling with

Imperfect Debugging

2.1 Introduction

As computer systems g士ow i丑size and complexity, quality software systems are mcre re-

quired for a higher degree of system reliability. Therefore, quality control approaches are

indispensable to developi丑g qua乱y softwaτe systems e伍ciently. S oftware reliability, i.e.

皿eof representative so£tware quality characteristics, is caled one of the taken-fOr-granted

quality or must-be quality fbr a software system. Accordinglyラit is great important fbr

the software development managers to estabhsh a£eliability obj ective and its reliability

assura丑ce procedures precisely[14,59,63]. Generally, a Inathematical model is very useful

for evaluating and assessing毛he degree of achievement of software reliability. A mathemat-

ical software∫eliability model is called a software reliabi五ty growth model which describes

asoftware fault-detection or a software failure-occurrence phenome丑on during the testing

phase ill the software development process and the ope士ation phase{55,561. A software

falure is de五ned as a蕊ullacceptable depa∫ture from program operation caused by a fault

remailli丑g i丑the software system. Using the models, we can estimate several qualltita-

tive measures such as the initial fault c皿tent, the software reliability, and the mean time

betwee鼓so丘ware failures.

    M◎st software reliability gエowth models proposed so far are ba3ed on the assumption

of perfect debugging that all faults detected during the testing and the operation phase

are correc七ed and removed perfもctly. However, debugging actions i玖actual testing and

operation environments are not always performed perfectly For exalnple, typographical

errors invalidate fault-correction activities oτfault removal is not cεし貫ied out p∫ecisely due

9

Page 32: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

10 2. Soffware Re五ab∫五砂Mode1加g wユ’ε五1五1peヱr企c£Debug9ヱ’丑9

to wrong analysis for the◎btained testing resulもs[50], That is, they are in imperfect debug-

ging enviro丑ment. Therefbre, the faults are not always correc七ed and relnoved perfectly

when they are detected. Then, it is interesting to develop a software reliabiity growth

model c◎nsidering impeΣfect debuggi且g e丑vironment(c£[38,48,64D. Such an imperfect

debugging model is expected to estimate reliability assessment measures more accurately

    In this chapter, we discuss a software reliability growth model with imperfect debug-

ging that faults are not corrected/removed certainly whenもhey are detected. De丘ning a

ra丑dom variable represellt輌11g the number of faults corrected by a given time point, this

model is formulated by a Markov process[10,42|. We derive various interesもing quantities

おrsoftware rehability measurement. Fuτthermore, based on this mode1, we discuss optimal

software release proble皿s by introducing software cost and reliability criteria[7,17,401.

Finally, we show丑umerical illustrations of softwaτeτeliability measurement孤d optimal

software release problems.

2.2 Model Description

For imperfect debugging environment, tlle software reliability model developed ill this

chapter is based on the following assumptions:

A1. Each fault which causes a software failure, when detected, is corrected perfectly with

    probability p(0〈ρ≦1), while it is not corΣected with probab姐ty g(=1一ρ)[48].

   We call 1)the perfect debuggingτate.

A2. The hazaエd rate is constant betwee丑software failures caused by a fault i丑もhe software

    system, and geometrically decreases whenever each detected fault is corrected[311.

A3. The probability that two oΣmore so銑ware failu£es occur simultaneously is negligible.

A4. No new faults are introduced duエi丑g the debuggi蕊g. At mostのe f汕1t is removed

    when it is corrected and the correction time is not considered.

    We c・nsideτast・chおtic pr・cess(Y, r)whe∫e観t c・unt vect・τy={γ(Z);Z=

1,2,_}and time series vector T={田;~=1,2,_}[42,471. Let Z=0,1,2,_be the

state space, whereτrepres頭ts the cu王nulative number of corrected faults. Then,もhe events

Page 33: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                                 2.2.Model Desc亘p老fon   11

{γ(Z)=‘}t丑ea丑s that‘faults have been corrected at the Z-th software failure-occu∬ence

and男represents the Z-th software failure-occurrence time-point, whereγ(0)=Oand

田=0.Asample function of(Y, T)is shown in Fig.2.1. For example, Fig.2.1shows that

afault is detected at 2るbut the fault coτrection fails(i.e. the fault is i皿perfectly debugged).

恥rthermo雲e,1et{X(り, Z≧0}be a random variableエepresenting the cumulative number of

faults corrected up to the testing time f. Then,{X(‘),舌≧0}forms a Markov process[10|.

That輌s, fごom assumption A1, when i faults have been corrected by arbitrary testing time

τ,after the next software faihlre occurs,

                     x(舌)一ピ1{蕊1嘉1㌶    (2・)

(see Fig.2.2). Furthermore, from aβsumptioll A2, when‘faults have been corrected, the

hazard rate fOr the next software failuτe-occurrence is given by

石(τ)=Dた2 (‘=0, 1, 2, ...; 1フ>0, 0<1ヒ<1), (2.2)

where 1)a丑d☆are the initial hazard rate and the decreasing ratio, respectively A sample

function o培(τ)is shown in Fig.2.3. We see that the hazard rate 2‘(りdecreases when

the coτrection of a de七ected fault succeeds, but whQ failing in the fau1七c◎エrection it does

not decrease. Equation(2.2)describes the software failure-occuτrence phenomenon where

asoftware system has high f士equency of software failure-occurrence during the early stage

of the testing or the operation phaぶe and it gradually decreases after then[35]. This model

has high applicab班ty in pract輌cal software reliability modeling. For example, Gaudoin et

a1.[8]and Musa&Okumoto[33,34]have discussed software reliability modeling based

oll this mode1、 Early software rel輌ability models such as those of Goe1&Okumoto[10]

and Jelinski&M◎randa[13]o我en assume that the hazard rate decreases by a constant

amount with perfect debugging. Then, the distribution functioll fbr the next software

failure-occurrence time is given by

即)=1一ビD腕. (2.3)

    1/et(2‘,ゴ(ア)denote the one-step transition probability that after making a transiもion

into stateτ, the process{X(り, f≧0}makes a transition into state元by time¢. Then,

Page 34: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

12  2.So髭ware Re11ab茄女γMode五取g w琵力丘nperfεc右Debu頭丑g

Qi,ゴ(ア)representi丑g the probability that if‘faults have been corrected at time zero,元

faults are corrected by timeアafter the next fa↓lure occurs is given by

                        Q、,ゴ(・)=君ゴ(1-・-D☆tり,      (2.4)

where君ゴare the transition probabilities from state乞to sta七eゴand given by

君ゴ=

q(ゴ=り

P  (元=τ一F1)  (Z,元=0, 1ラ2, ...).

0(・therWse)

(2.5)

γ(5)

γ(4)

}7(2)=:}ノ(3)

γ(1)

0

Testing Time

Fig.2.1. A sample func七ion of(γ, T).

Page 35: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.2. Mode11)esc]元Pε元oヱ1 13

●  ■  ●  ●

●  ●  ●  ●

●  ●  ●  ●

●  ●  ●  ◆

 ●

  ■

Fig.2.2. A diagra㎜atic represe五tat三〇n of transi七ions between states of X(老)for software Teli-

       abiHty modeling wi七h imperfect debugging.

Page 36: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

14 2.Sofヤware Reliabi1ゴ砂IMode五丑g w1’ε力Imper允ct Debug夢i刀9

z(τ)

0 1 2 3 4 ●     ●     ●

                      Testing Time

      (▲:perfect debugging,▽:imperfect debugging)

Fig.2.3. A sample realiza七io丑of hazard壬ate zi(孟)for software rehabi批y mode㌦g with imperfect

      debugging・

Page 37: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.3

2.3. De」ロ’va6元on of Re1輌abili勾γMeasu「es

Derivation of Reliability Measures

15

2.3.1 Distribution of the First Passage Time to the Speci丘ed

        Number of Corrected Faults

Suppose thaれfaults have been corrected at some testing time. Let G‘,π(Z)denote a

distribution fu丑ctio丑of the first passage time丘om stateパo stateπ. In other words, Gi,π(£)

is the probability thatπfaults are corrected in the time interval(0,εl on the condition that

‘faults have been already corrected at time zero. From(2.4)the probab述ty of making a

transition丘om state◎to state l inもhe small time interva1(ち舌十虚]is∂Qo,1(τ). Then,

since the process{X(諺),¢≧0}restarts onもhe condition that o丑e fault has been corrected

at timeμ(i.e. the fault has been perfecも1y debugged), the distribution fUnction of the丘rst

passage time from state O to stateηis givell by

                    ∫G・・⑭∂卿一硫・*G・ρ(り・  (2・6)

where*dellotes a Stieltjes convolution. Similarly, fヒ)r the case of imperfect debugging

at the fiτst software failure-occurrence, the distribution functio丑of the first passage f士om

state O to stateη・is given by

                    ズG・・い)6⑭一Q・・*卿・  (2・7)

Since the events descエibed in(2.6)and(2.7)are m、utuaユly disjoint, we get仇e fbllowing

renewal equatio丑:

                    Go,π(¢)=:Qo,1*(D1,π(Z)一ト(20,0*Go,π(τ)・               (2・8)

In geneTa1}we have

     (3i,π(‡)=(2i,ε+1*(鍵i+1,π(透)十・(2乞,‘*G乞,π(了)   (乞=0, 1,2,...,γL-1),     (2.9)

where Gπ,九(¢)=1(π=1,2,...).

    We use Laplace-Stieltjes(L-S)transforms[42]to solve(2.9), where the L-S transform

of Gる,π(りis defined as

                         亀・(・)≡ズ゜°・一・顕♂)・   (2・1・)

Froエn(2.9)we get

    (Dε,π(3):=(2‘,‘+1(3)G‘÷1,π(s)十(g‘,i(3)(完,九(8)   (‘=0, 1,2, ...,π一1).    (2.11)

Page 38: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

16   2. 50丘ware Reヱial)ili奴Modeヱing wiεhヱmpe㎡ct Del)ug9コ’η9

From(2.4)the L-S trans負)rms of Q{,ε+1(¢)alld(2‘,‘(¢)are respectively giv飽as

                         o研・(・)一嘉、,

                          卿一、鑑・

Substituting(2.12)and(2。13)into(2ユ1)yields

           ⑭一,器6山・)(Z=0, 1, 2, ..◆, η,-1)・

Solving(2.14)τecロsively, we obtai丑the L-S tエansform of Go,π(τ)as

                      輌一顯芸厚

                            一シ、鑑,

where

;≡1

障=止(π一・)-i

れ ユ

H(ゼーめ1こ1

(η==2,3, ...,元:=0, 1,2, _.,?z-1)

(2.12)

(2.13)

(2.14)

(2。15)

(2.16)

By inveτting(2.15)and rewriting Go,π(りas Gπ(τ), we have the distributioll function of the

五τst passage time whenηfaults are corrected

                            れ エ                      G。(/)一Σ卿一・一典),     (2.17)

                            ‘=O

wheエe G。(¢)≡1.

2.3.2 Distribution of the Number of Faults Corrected Up to a

       Speci丘ed Time

Let 5π (7τ== 1, 2, ,..) be r皿dom variables represe且ting the 7τ一th successful correctio丑

time of detected faults. Since X(τ)is a count短g process[53](see Fig.2.1), we have the

fbllowillg equivalent relation:

                      {Sπ≦τ}⇔{X(舌)≧π}.                   (2.18)

Page 39: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.3.De亘va6jo且of Reliab茄砂Measures 17

Therefore, we get

                       Pr{5π≦孟}:=Pr{X(‡)≧7τ}.               (2・19)

Let亙(‡)dellote the probabi五ty thatπfauRs are corrected up to testing time¢. From

(2.17)and(2.19), we obtain the probability Inass function鳳(Z)as

                 鳳(¢)=Pr{X(司=π}

                      =Pr{X(Z)≧π}-Pr{X(‡)≧η十1}

                     =・Pr{5π≦¢}-Pτ{5π+1≦τ}

                     =Gπ(重)_(7⑳+1(τ).                      ’     (2.20)

    Suppose that the initial fault content in the systeln prior to the testingラ1V, is known.

Then, we can derive the expected numbe∫of faults corrected up to test輌ng time舌using

(2.20)品

                               

                    E区(£)IN]=Σ凪(τ)

                             ㌃゜

                            =Σπ{G。(孟)-G。+・(τ)}

                             π三゜

                           =ΣGπ(τ).         (2.21)

                             π=1

1t is noted that」『~v(¢)=GN(重)since GN+1(£)=0・

   Furもhermore, the second moment of X(¢)is given by

                                ガ

                     E[x(舌)21N]=Ση2鳳(τ)

                               π;°

                              =Σ(2π一1)G。(τ)・     (222)

                               π=1

Theτefore, the varia丑ce of X(¢)is calculated by

              [X(      Nオ澗=Σ(2π一1     π=1)ぽ(τ)一{書脇(¢)}2・ (2・23)

2.3.3 Expected Number of Faults Detected Up to a Speci丘ed

       Time

We introduce a Ilew丈andom variable Z(舌)representing the cumulative numbeT of faults

detected up to testing timeτ. Let吃(Z)be the expected number of faults detected up to

Page 40: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

18 2. Soflware Reヱiabゴ1f砂Modeli1ヱg wfεhヱ血pelr允c右1)ebugging

time紘on the condition七hat‘faults have been already corrected at time ze士o, i.e.

                          M(τ)=E[Z(f)IX(0)=‘],                   (2.24)

which is caled a Markov renewaユfunction[42]. Supp◎sing that the initial fault collt飽t IV

is know丑, we obtain the following reIIewaユequatio皿s:

   1レfi(孟)=民(諺)十(2ε,ε*嘱(オ)一ト(9ちi+1*砥+1(¢)   (i=:0, 1, 2, ..., ハ「-1),   (2.25)

where M」v(τ)=0. Using the L-S tra丑sfbrms of M(オ)(‘=0,1,2,_,2V-1), from(2.15)

we get

                          妬(・)一捻亘、鴛芸陪

                               一!£6。(、).    (2.26)

                                 ρπ=1

1nverting(226)and rewriting 1偽(¢)as M(τμV), we have the expected number of faults

detec七ed up to timeτas

                                     l lv

                           M(£11v)=一ΣG。(z)

                                    ρ=1

                                    1

                                  =-E[X(¢)12V].               (2.27)

                                    ρ

    We consider that a11ねults deもected by the testing are divided int◎two types. One

are the faul七s which are successfully corrected, the other are the faults detected again due

to imperfbct debugging[64]. Then, the expected number of faults debugged i]瞼perfectly is

givell by

                        D(¢IN)=」レf(司N)-E[x(τ)1ハ「]

                              一皇E[X(重)INI.      (2.28)

                                ρ

2.3.4 Distribution ofもhe Time between Software Failures

Let X~(Z=1,2,_)be a random variable representing the time interval between the

(1-1)-st and the『-th software failure-occurrellces andφ」(¢)be a distribution functi◎n of

X1. It is noted that XI depends on the nuエnber of the faults corrected up to the(Z-1)_st

software failure-occurre丑ce, however, this is not explicitly kn◎wn.

Page 41: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

23. 1)e1コ’vatjon of ReliabiliξアMeasu「es 19

    Here, leも01 be a random variable representing the number of faults coエrected up to

the(1-1>-st so銑ware]』ilure-◎ccurre丑ce. Then,0~fbllows a binomial distribution having

the following Probabihもy mass functi◎n:

            P・{・+(∵)ρ・g1…・(即・2,…,Z-・),(2・29)

wh・・e(~:1)≡(Z-・)!/[(τ一・一り!τ!]d・n・t・・abi・・mi泣…伍・i・n・・F・・m(2・29),・もth・

(Z--1)-st software failure-occur£ence, the expected number of corrected faults is given by

ρ(1-1).

    FurtheΣrnore, it is evident that

                        Pr{x~≦佑loF元}・=君(¢),               (2.30)

which is given by(2.3). Acc◎rdingly, we can get the distributioll fu豆ction for XI as

                   φ∫(¢)≡Pr{X1≦¢}

                          仁1

                        =ΣPr{Xl≦¢IO=‘}Pr{Ol=‘}

                          ε=0

                        一曇(∵)ρ・q・一・一・(1-・-Dぬ)・  (23・)

Then, we have the rehability functio丑for Xz as

                      R∫(¢)≡Pr{X~〉虚}

                           =1一φ~(¢)

                           一曇(∵)ρ・ql-・一・・  (232)

Furthe∫more, the hazaΣdエate foLX∫is given by

                            ∂

                     λ1(・)≡鷲)

                             ~-1

                           DΣ(~二1)(励4-1㌔一Dぬ

                         =㌣1    ・    (2・33)                             Σ(」:1)が91-1-‘・一臓

                             《=O

   The expectation of random va士iable X~is de§ned by

                           E昨/°°R・(輌    (2・34)

Page 42: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

20 2.50flwaτe Re五abi1元奴Mode五ng wf功Impeτfbc¢Debuggi丑9

We ca11(2.34)the mean time between so我ware瑚ures(MTBSF). From(2.32), we can

derive E IXz]as

                            E[XI]一(ρ/兎;4)~一ヱ・   (2・35)

Appaτently, the following i丑equality holds for arbitτary natural number~:

                      E[XI]〈E{X∫+1]  (Z=1,2,...).            (2.36)

That is, a software reliability growth occurs wh銀ever a software failure is observed.

2.4 Optimal Software Release Problems

One of the most interesting problems fOエsoftware development managers is deciding when

to deliver a software system to customers, This decisio皿problem is called an optimal

software release one. Considering evaluation cri七eria such as achieved software reliability,

cost, delivery time and so on, we need to estimate a testing terminaもion time. Based

on the software reliability Inodel discussed above, we invesもigate optimal software release

problems introduciDg total expected software cost and software reliability criteτia[60,62].

2.4.1 Reliabi五ty-Opti〕mal Sof竃ware Release Policies

We consider an optilnal softwareτelease proble]〔n that decides the to七al testing time required

to attain a softwa士e reliab姐ty objective. Suppose that we deliver a software system at the

time point when m faults have been detected by the testi頁g.「Then, f士om(2,35)the皿ean

time to software release is giveII by

                          善E昨1毒讐/寄・  (2・37)

A丑dfごom(2.32)so靴ware reliability R(鞠;m)長)r speci五ed◎peratiollal time¢o is given by

                      ⑳一曇(m戊)ガー・・-DU鋤・  (2・38)

    Letting Ro be a software reliability objective fbr the opeτational tirne忽o, the minimum

integer m which satis五es R(¢o;ητ)≧Ro is the optimum number of detected faults,η1*,

since R(¢o;ητ)in(2.38>is a m◎notonicaUy increasing fuDctio豆with respect to the Rumb鋸

Page 43: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                 2.4.0μfmal So鋤are Release、Problems  21

0f detected faultsηz. That is, if」R(¢o;0) 〈 Ro, then there exists a fhite and unique

m=η10(1≦mo<oo)which satis五es the following inequalities:

                R(¢o;η±)≧Ro   and   R(¢o;ητ一1)<丑o.           (2.39)

Thus, we have the fOllowing theorem fbr a reliability-op磁mal sof乞ware release problem.

Theorem 15仰ρoseτ九α勧o≧0α閲0<脳く1.

   (1)∬e-D¢o<馬,Zんeη‘九e oρ翻mt↓ητπ勉m6eア〈ザ(lefecfe(9」侮μZ舌s‘5ητ*=mo,αη〔れ~Le

    O頭m%?η8(元加αアeアeZeαseτmeτ8

                                1-(ρ/た十く~)m°

                           T*=                                 ρD(1-1/た) ,

    ωんereητo ‘sα7λ㌘λτ巳7erημητ6eτ・ωん乞cんsα古乞頭es(2.39).

   (2)∬e-D¢・≧R。㌦e川ゐe・励ημmη%ηz6e・・r∂e¢ec古ed勉~舌s乞s m*=0,απ肋んe

    oρ励拠mso輌αアeアeleαse励λe‘5τ*=0.

2.4.2 Cost-Optimal Software Release Policies

The following cost-parameters are de五ned:

    c1:debugging cost per fault during the testing phase,

    c2:debugging cost per fault duri丑g the ope∫ation phase(c2>c1>0),

    c3:testing cost per皿it七ime(c3>0).

Suppose that the expected number of faults detected eventually is.M=「JV/司since

.M(Oo l/V)=JV/ρfrom(2.27), where同denotes the least integer that is not smalleτthan

ω.Then, the total expected softwaτe cos七is given by

         ・(m)一・・m+・・(M-)+・・1あ讐/寄(・≦m≦M)・(2綱

TheTefore, the integerητminimizing O(m)in(2.40)is the optimum number of detected

faults, m*.

Page 44: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

22 2.So島ware Re五abflf砂Mode五皿g w琵h工mperfεct Debug夢i刀9

For五丑ding m=ηz*minimizillg O(m)in(2.40), we de五且e the following equation:

             γ(m)=0(m十1)-0(m)

                  一一(・・一・・)+;(蜘q)m(・≦m≦M-・)・ (2・4・)

It is noted thatγ(m)is&monoto丑ically increasi丑g fUnction with respect to the number

of detected faults,η1, si灘ceρ十g=1and O〈たく1. Ifγ(0)<0, then the皿inimum

mwhich holds y(m)≧Osatisfies inequalities O(m十1)≧0(m)a盈d O(m)<0(ητ一1).

Accordingly, the optimum numbeΣof detected faults, m*=m1, is given by

                        …「’n{綜1;lc3}1・  (242)

Thus, we have the follow輌11g theoτem for a cost-optimal software release problem.

Theorem 25ψpo8e古九αεc2>c1>0α閲c3>0.

   (1) 4ア1:) > c2竺c1 ≧ (P/ゐ三9)M_1) εんeη・が↓e o1)ε乞η1%?7z η・μητbeア o∫ ゴe‘ec‡e〔1 ∫窃t61‘s ‘s

    m*=m、(1≦7π1≦M-1),απdεんe・頭m%m30加αmeleα5e重励eゼs

                                 1-(3)/え十9)mユ

                             τ*=                                  ρD(1-1/1り ,

    ?〃んeγrem1 乞59τηeηLわ3ノ(2.42),

(2)ぴ(ρ論一、〉,,≒・ε九・・オん・・』-6・・㎡4・‘ec¢・輌・‘・㎡一

    ハ4,απd‡んeO頭mμm 8〔栃ωαアe邪eleα3e亙meτ3

                             T・=1-(ρ/糾q)M.

                                  ρD(1-1/兎)

   (3)五D≦c3,f九・硫・鋤m耽・・励・耐∂・亡ecτ・4輌Zε・‘・m・-0,α痂ん・             C2-Cl

    oρ伽Lμms(元鋤α獅eアeleα3eれmeτ3 ZT*=0.

2.4.3 Cost-Reliability-Optimal Software Release Policies

We discuss an optimal software release problem which evaユuates both so丘ware cost a丑d

reliability criteria simultaneously Consider decision p◎1icy on the optimum number of

抗ults to be detected by the release time which minimizes the total expected softwaエe cost

Page 45: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.4. (カP古jmal Soflware Release Problems 23

0(m)in(2.40)subject to the condition that softwaτe reliabihty R(¢o;m)in(2・38)satisfies

re五ability objective Ro. The optimal software releaぶe problem can be formulated as follows:

For a speci{ied opeエationaユtime¢o(¢o≧0),

                   ㌻ぷ)≧み。<R。<、}・ (243)

This problem is caユ1ed as a cost-reliability-optilnal software release problem{60]. From Sec-

tions 2.4.l and 2.4.2, we ha万e the following theoΣem for a cost-reliabi五ty-optimaユscftware

release problem.                             、

.Theorem 35砲pose 6んα孟c2>c1>0, c3>0,¢o≧0,απ∂0<Ro<1.

(・)万D>。,≒≧(ρ/晶M.、αη4・-D・・<購漁・・』一剛

     4eτec¢e∂輌1オ3‘s m*=m①({ητ0,m1},αηれんe・頭mμm SO加αアeアeleα3eετmετS

                          T・一・一(ρ/た+9)max{m°’mユ}.

                                   ρD(1-1/瓦)

(2)∬(ρ/志一・〉、、警,、α・d・-D・・d・脚』紘一一b・輌重ec城

     麺1τ5乞5m*=m①({m。, M},αη4舌九・・麺m%mSO㌦α・e・・1・α・eετmε乞S

                          T・一・一(ρ声9)max{m°’M}.

                                   pD(1-1/兎)

(3)万D>。,警。、≧(P誌M.・απ∂・-D・・≧馳π舌九・・輌…励司

     4eεecτe∂㌦1‡S‘57π㌔m1,α励εんe O頭m顕3《栃ωα陀アeleαseεεme‘S

                             T・-1-(ρ声4)mユ.

                                   ρD(1一碑)

(4)∬(ρ=…〉、、≒α・∂・-D・・≧R・・¢九・』£一輌輌亡・d

    輌Z亡5is m*=Mαπ4τんe oρ舌乞m拠50輌αre releαse‘‘meτS

                             τ㌔1-(幻声9)M.

                                   ρD(1-1/瓦)

    (5)∬D≦c3・η6・-D・・d。,舌九・・τん・・頭……6・吋4・♂・・‡・d輌1τ・乞・

             C2-Cl

    m*=mo,απ∂舌んe oψm醐s(元畑αreアeleα3eτ乞meτ3

                             T㌧1-(ρ声9)m°.

                                   ρD(1-1/為)

Page 46: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

24 2,Sofヤware Relfabゴ1iサMode五11g wf舌h血pe㎡bc6 Debugging

(6)∬D≦c3α・4・-D・・≧丑。,τん・硫・・麺m・m…6・耐4・舌・c舌・∂輌・‘・

          C2-C1

7π*=0,αη∂舌んeoψmμm 3〈沸ωαre releα3e翻me乞s T*=0.

2。5 Numerical Examples

Usmg the software reliab伍ty model discussed above, we show some numerical illustrations

fbr software reliability measurement and its application.

    The(iistributio丑functions of the 6rst passage七ime to the speci五ed且umber of correcもed

抗ults, Gπ(£), in(2.17)are shown in Fig.2.4 fbr vaエious perfect debugging rates, p,s, where

π=10,D=0.2, andゐ=0.9. We can c{Uculate the testing time¢. toτeach a丑objective

probab迅ityア (0 ≦ γ・≦ 1)such that Gπ(τ)=ア. 1丑case ofア=0.9, the values of£?fbΣ

various per允ct debuggmg ratesρ,s are sho岨in Table 2.1. We can see that the smaller

perfect debugging rateρbecomes, the more dif五cult it is to coτrect faults.

Table 2・1・Testing七imeちto reach the objective probabilityγ(ア=0.9,τL=10, Z)=0.2,た=

         0.9).

ρ

1.0

0.95

0.9

0.85

0.8

120.9

127.3

134.4

142.3

151.2

Page 47: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

G1。@)

   ユ

0.9

0.8

○.6

0.4

0.2

0

2.5.Numerfcal Examples

ρ=1.0

O.95

O.90

O.85

O.80

50 ユ00 150

Testing T

  200

 

1me

250 300

25

      Fig.2.4. Dependence of perfect debugg捻g rateρon Glo(老)(D=0.2,☆=◎.9).

    The expected丑umbers of faults corrected up to testing timeちE[X(重)μV], in(2.21)

五)rvariousρ,s are shown in F輌g.2.5 where 2V=20, D=0.2, and☆=0.9.

    The variances of the number of faults corrected up to test桓g time孟, var[xω1明, in

(2.23)for variousρ,s are shown Fig.2.6 where 2V=20, D=0.2, andえ=0.9. As shown

in Fig.2.6, Var[X(孟)12V]is a co五vex function w輌th respect to testing time Z with

var[X(0)12V]=Var[X(oO)μV]=0. (2.44)

This means that the correctabi五ty of faults in debugging is unstable durillg the early stage

of the testillg, and asもhe testillg is in progτess, it becomes stable. Thenハwe c鋤calculate

testing timeτ、 ma」dmizing Var{X(の12Vl, which is regarded as a mini皿um testing time

required to stabihze the fault-corΣectabiity. The values ofオ、 fと)士variousρ’s are shown in 、

Table 2.2. As shown in Fig.2.6 and Table 2.2, we can see that the smaller the perfect-

debugging rateρbecolnes, the more dif五cult it is to stabHize the fault-cor∫ect&bility

Page 48: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

26 2.Sofεware Reliab茄方Modelf刀g w1’¢力血1perfbct Debug伊ing

E[X@)120]

   20

ユ5

10

5

0 200     チ゜°.

Testlng Tlme

600 800

Fig、2.5. Dep田dence of perfもct(1ebugging rate p o丑E[X(£)120](D=0.2,瓦二〇.9).

Page 49: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.5. Nロ刀コe1元caヱExamples 27

Var[Xω120]     5

4.529

     4

     3

     2

     ユ

ρ=1.0

@0.9@0.8・

@0.7

    0    100   200  300   400   500   600   700                        Testing Time

Fig.2.6. Depende丑ce of perfec七debuggingτaeρon Vaτ[X(¢)120](1)=0.2,☆=0.9).

    Table 2.2. Testing time重、皿a戊dmizi丑g Var[X(£)11Vl(D=0.2,瓦=0.9).

   ρ

m1.0 0.9 0.8 0.7 E[x(ち)i」v]vaτ[x(♂、)12v]

10

Q0

R0

45,193

P62.55

S62.23

50,217

P80.62

T13.59

56,491

Q03.19

T77.79

64,561

Q32.22

U60.33

6.385        3.346

P4.26        4.529

Q2.74        4.744

Page 50: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

28 2. Soffware Re五ab茄ξアMode五ng wfth加perj飴c亡Debuggi丑9

    Fuτthermore, the coef五cients of variation(cv)of X(‡), cv[X(孟)1」V], defined as

                       ・v{X(卿当淵1,  (2・45)

fbr various p,s are shown in Fig.2.7 where 2V=2◎, D=0.2, and☆=0.9. As shown in

Fig.2.7, cv[X(‡)11V]is a monotonicaUy decreasing function with respect to testing time£.

We can calculate the testing timeτ、 to reach an objective cv, c. In case of c=0.1, the

values ofτ。 fbr variousρ’s are shown in Table 2.3 alollg with E区(重c)1∧「]alld Var[X(¢c)μV].

cv[X@)120]

0.4

0.3

0.2

0.1

0 200 400 600 800

Testing Time

Fig.2.7. Dependence of perfεct debuggi且g ra七e p on cv[X(¢)120](Z)=◎2,ゐ=0.9).

Page 51: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.5.N覆me王fcal Examples 29

Table 2.3. Testillg time老c to reach the oblec七ive cv(c=0ユ, D=02,兎=0.9).

   ρ

m1.0 0.9 0.8 ◎.7 E{X(£。)11V] var[X(ち)μVI

10

Q0

R0

97,342

Q69.03

S13.04

108.16

Q98.92

S58.93

121.68

R36.28

T16.30

139.06

R84.32

T90.05

9,500

P7.95

Q1.77

0.9019

R,222

S,740

    Var[X(τ)INps fbr various た’s壬epresenting the decreaぷing ratio of the,hazaエd rate

are show垣n Fig.2.8 where lV=20, D=◎.2, andρ=0.9. We can see that the

smallerんbecomes, the smaller the maximum of Var[X(¢)11V]becomes, while the層longer

time Vaτ[X(重)IN]takes t・c・nverge・

    The expected number of faults detected up to testillg timeτ, M(τIJV), in(2.27)is

shown i且Fig.2.9 along with the expected numbeΣof imperfect debugging fau1もs, D(/pV),

i丑(2.28)whereハ「=30,1)=0。2,☆=0.9, an.dρ=0.9. In this case,

                  M(。。130)-33.3,D(。。130)一旦・30-33.34.   (2.46)

Then,(100q)%of the cu皿ulative nuエnber of faults detected eventually is imperfectly de・・

bugged.

    The reliabHity fUnction, R~(¢), in(2.32)and the hazard rate,λ1(¢),in(2.33)for various

Z,s are shown in Figs.2.10 and 2.11 where D=0,2,た=0.9, andρ=0.9, respectively,

and the values of MTBSF for various Z,s are shown in Table 2.4. Figs.2.10,2.11, and

Table 2、4 show that a so畳ware reliability growth during the testing occurs whenever a

SO我Ware捻ilUτe OCCUrS.

Page 52: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

30 2.Sofモware Re五abjlj砂Modelf刀g wi舌h lmper企cカDebug9ユmg

Var[X(τ)20]

5

4

3

2

1

0 500    1000      1500

Testing Time

2000

F輌g.2.8.Dependence of decreasing ratio of the h&zard ra七e,兎on Var[X(τ)120](Z)=0.2,ヵ=0.9).

Page 53: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.5. ヱVume]〔元cal ExamPles 31

5    0    5    0    ⊂」   0    5

3   3   2   2   1   咋⊥

の〉一つ目匹Φ細ぼ≧ζOの]O』ω〔口q5Z

0 500   1000      :L500

Testlng Tlme

Fig.2.9.2㌧∫(舌13◎)a且d D(司30)(ヱ)==0.2,瓦=0.9, pニ0.9).

2000

Page 54: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

32 2, 50f1τmre Reliabj五砂Modeling w1’t五1エロperfεc古Debuggiη9

R1(

1

0.8

○.6

0.4

0.2

0 5 -o 15 20

Fig.2.10. Dependence◎f number of f亙1ures I on softwa苫e reliab正ty RI(¢)(D=02,先=0.9,ρ=

       0.9).

Page 55: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.5. Nume16ca互Examples 33

λ/(x)

0.25

0.2

0.15

0.1

0.05

0 5 -o 15

1=1

つ」く」η/0ノー⊥

    1

20

Fig.2.11. Depe且de丑ce of number of failures~o且hazard rateλ~(¢)(D=0.2りた=0.9,」ρ=0.9).

Page 56: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

34 2,Soffware Re五abjli敬.Mode」翫丑g w1’右五1mpe王企cεDebug苗i丑9

Ta1)1e 2.4. MTBSF E[X~](ρ=0.9,1)=0.2,☆==0.9).

z E[.x声」]

5.000

5.500

6.050

6.655

7.321

8,053

8.858

9.744

10.72

11.79

    Next, we show皿merical examples of the optimal software release problems. Tables

2.5and 2.6 show relationships between the perfect debugging rateρand the optimum

softwa士eエelease time T*for Theorem l and Theorem 2 wheτe¢o=2.5,丑o=0、95, c1=

1.0,c2=10.0, c3=0.2, D=0.2,た=0.9, and lV=30, respectively We can see that

improvillg七he perfect debugging rate is more ef五cient to quicken the optimum software

release time when the perfect debugging rate is low.

    Furthermore, we show a numerical example on the cost-reliability-optimal software

release pτoblem. Consider the optimal software release problem fb∫mulated as follows:

                         嘉#2;m)≧α95}・ (247)

The minimum satisfying R(2.5;m)≧0.95 is mo=25 a丑d the optimum number of detected

飽ults, m minim輌zing O(m), is m1=24. From Theorem 3(1), the optimum number

of detected faults is m*=max{25,24}=25, i.e. though the total expected software

cost O(m)is minimized when m=24, the software reliability objective is not satis五ed.

Accoτdingly, the optimum software release time is given by

                         T・-1-(ρ/た+q)25-49、.74.

                               2)D(1-1/兎)

Page 57: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

2.6. Collcludfllg Rema「ks 35

’Table 2.5. Optimum release t輌me 7’*fOr Theorem 1(¢o=2.5,丑o=0.95, D=0.2,た=0.9).

m* T*

22  411.96

25   491.74

28   554.22

32   642.11

37   741.82

45   935.40

56  1ユ71.99

75   1604.38

113  2471.52

226  5017.14

」Table 2.6. Optilnum rel㊧se time T*fbr Theoエem 2(c1=1.0, c2=10.0, c3=0.2りD=0.2,ゐ=

         ◎.9, 2V=30).

P ητ* T* 0(ηz*)

(UOσ

∩UO∂

て⊥ -

366.26

442.49

458.62

543.84

642.90

735.98

920.99

1245.57

1801.35

3607.86

184.25

212.50

237.72

268、77

313.58

378.20

475.20

636.92

960.27

1930.37

2.6 Concluding Remarks

In this chapter, we have developed an software reliability model collsidering the imperfbct

debugging environment where software faults detec毛ed by tes桓11g are not always cofrected/

Page 58: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

36 2.Soflware Re五abi五砂Mode∫i丑g wfεlb Imperfbct Debug亘丑9

relnoved. This model has been described by a Mark◎v process. Various interesting stochas-

tic qua丑tities for software reliability measureme丑t and assess皿ent have been derived from

the model and theimumerical examples are沮ustrated. Application of this model to several

optimal software release problems has bee丑also discussed.

Page 59: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 3

Software Reliability Modeling with

Two Types of Failures

3.1 Introduction

Many software reliability models have been developed foτthe purpose of estimating software

reliability quantitatively Among these, it is said that software reliability growth models

have high validi毛y and usefulness. These models can describe a software fault-detection or

asoftware faaure-occurrence phenomellon duτing the testing phase in the software develop-

ment process and/or the operation phase. A software f泣lure is de五ned as a丑unacceptable

departure from program operatioll caused by a fault remai且i丑g in the system.

    Most of representative software reliabi五ty growth models are based o皿the fbllowi丑g

assumptions:

●The debuggi盆g is perfect.

●The hazard Tate fbr softwa壬e faihlres is proportiona王to theτesidual curr頭t fault

  COnte]【1t.

The above assumptions i皿ply that all of faults latent in the system are corrected and a

hazardエate converges to zero. However, in genera1, it is impossible to remove aユl faults

from the system and deliver a fault-free software systeln to the cusもozneエs. Pro丘cie夏t pro-

grammers recognize the existence of the regenerative faults[50]. Accordingly, the sofもware

system may show the same failure-occurre丑ce phenome丑on as a hardware system du童ing

the last stage of the七esting Phase。 Furthermo£e, debuggmg activities contain human-eτror

factors such a⑮typographical errors o£misunderstandings about the test results・ That

37

Page 60: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

38 3,50鋤are Re五ab重1均・Mode1晦w輌古力Tw・ユンpes of E亘lures

is, the actual debugging e且vironment is the imperfect one. SeveraJ imperfect debugging

models have been proposed[18,38,48,52].

    In this chapter, modifying and exte丑ding the model of Chapter 2(hereafter referred

to a£the basic mode1), we discuss a software reliability model with the existe丑ce of the

two types of software failures. One is due to the origillaユfaults remaining in the system

prior to testi丑9. The other is due to faults ra丑domly introduced or regenerated during the

testing phase. The fbrmer and the latter types of s◎ftware f砿ure-occurrence phenomena are

described by a geometrically decreasing and a constant hazard rate, respectively. De丘ning a

random vaτiable representing the cumulative nuInber of faults successfully corrected up to a

speci丘ed time point, we use a Markov process to formulate this m◎de1[42]。 From this mode1,

several i丑teresting quanもities for software reliab且ity assessment are de£ived. Furtherm◎re,

the method of ma」drnum-1ikelihood estimation of model parameters is presented. Finally,

numericaユexamples of software reliability measuτement and assessm飽t based on the actual

testing data are illusもrated.

3.2 Model Description

In this chapter, we assume that the fbllowing two types of software failures exist:

F1:software failures due to faults originally latent in the system prior to the testing.

F2:software f亘1ures due to faults randomly introduced oΣregenerated during the testing

    phase.

    The extended software reliability growth皿odel constructed here is based on the fol-

10wing assumptions:

A1. The debugging activity is performed as soo丑as the software faihlre occurs.

A2. The debuggi蕊g activity forもhe fault which has caused the corresponding s◎ftware

   飽ilure succeeds with probability幻(0<ρ≦1), alld f謝s with probability g(=1-p).

   We cal1ρthe perfect debugging rate.

Page 61: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

3.2. Mode1ヱ)esc1元P6∫01ヱ 39

A3. The hazaτd rate for FI is constatlt betwee丑software failures and deαeases geomet一

    工icaUy a慮each fault is corrected. The haza£d rate fbτF2 is constant throughout the

   testi丑g phase[311.

A4. The debugging activity is perfbrmed without distinguishing betwe殴FI and F2.

A5. The probability that two oΣmore software failures occur simultaneously is negligible.

A6. At most one faul☆s corrected when the debuggillg activity is performed,

    fault-corτectio丑time is not co丑sidered.

and the

    From assumptions A3 and A4, whe丑‘faults have been corrected, the hazard rate fbτ

the next software failure-occurrence is given by

(Z=0, 1,2,

    麹(づ=Dた2十θ

...GD>0,0〈たく1,θ≧0,丁≧0), (3ユ)

where Z)is the initial hazard rate for F1,瓦is the decreasing ratio of the hazard rate,

a丑dθis the hazardΣate fbr F2. In the actual testing environment, it is difHcult to specify

輌mmediately whe丑the faults are in七roduced or Tegenerated a丑d whether the software failure

is due to the regellerative fault or no輻Therefζ)re, we assume that the faults are illtroduced

randomly in the system and that the so銑ware failures caused by the introduced faults

◎ccurτandomly during the七esting phase。 Accordingly, the hazardΣate for F2 is on average

constant竈rough the testi且g phase. FurtheΣmore, we consider that increase in the hazard

rate by intr◎ductio丑of other丑ew faults du亘11g debuggillg c鋤be neg玉igible{91. A sample

functio丑of z《(ア)is shown in Fig.3.1. We c鋤see that the hazardτate z{(γ)decreases when

the debuggi丑g succeeds, but remams constant when debuggi旦g fa丑s.

    The expression of(3.1)comes f士om the point of view that software rehability depends

皿the debugging e狂orts, not the residual fault c◎ntent. We do not note how many faults

remain in the softwaエe sysもem. Equaもion(3.1)desc曲es a softwaτe failure-occurrence

phellome丑on where a software system has high frequency of software failure-occurrence and

perfect debugging contributes large玉y to the improvement of softwareΣeliability duΣ誼g the

eaτ1y stage of the testing phase;later in the testi丑g phase, the decrease i丑the hazard rate

is s1◎wer even if debuggillg is peτfect[35,56,57].

Page 62: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

40

      z

   D+θ

Dk+θ

Dk2+θ

D1(3+θ

Dk4+θ

        θ

3.S・伽are Reliabi1均・Mode五ng wf古力Two Types of肱ilures

    1(τ)

          01 2 

                           Testing Time

     (▲:perlect debugging,▽:imperfect debugging)

Fig.3.1. A sample rea五zatio丑of hazard rate 2i(ア)fOr so丘ware reliabili七y modeling with毛wo

       七ypes of failures.

    From(3.1), the distribution fロnction for the next software failure is g輌ven by

                         現(・)1-・一(D凝+θ)ア.      (3.2)

Fuτthermore, let(2《,ゴ(づdenote the one step tτa丑sitioユpTobability that after making a

transition into state Z, the process{X(¢〉,¢≧◎}makes a tra丑sition into state元byもimeア.

Page 63: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                          3.3.De亘vaカjon of Soflware Reliabilf砂Measロres  41

Th頭, Q‘,ゴ(7-), which represents the probability that if‘faults have been correc七ed at ti][ne

zero,元faults are corrected by timeアafter the next failure occuτs, is given by

                      Q・,・(・)一君・[・一・一臨θ)ア輻    (3・3)

where烏are the transitio丑probabilities丘om sもate‘七〇state元and given by

君ゴ=

9(」=り

ρ(」=↑+1)

0(otherwise)

(τ,ゴ=0, 1, 2, ...). (3.4)

3.3 Derivation of Software Reliability Measures

Using the simHar procedures to the basic mode1, we can derive several quantitative Ineasures

for software reliability measu士ement.

3.3.1 Distribution of the First Passage Timeもo the Speci丘ed

       Number of Corrected Faults

Recall that亀de狂otes the random variable representing the time spent in removingπ

faults, which is de五ned in Chapter 2. Then, the distributioa function of 5πis given by

            Gπ(τ)…≡Pr{3π≦¢}

                  れ ユ

                ーΣ紳一・一ρ(D詞z](¢≧0;π一・,2,…),  (3・5)

                  ‘=O

whe壬e

        場≡1

     ・A7一鷲当』2・3・…;‘一・,・,2,…,一・)

             」≠{

Furthermore, the mean and the vari砲ce of 5πare given by

                        E閲一碧ヵ(D±+θ)・

                              π一1   1                      W「閣=蔦ρ・(D☆τ十θ)・,

respecもively

(3.6)

(3.7)

(3.8)

Page 64: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

42  3.50琵ware Re五abi]ばアMode1桓g wゴεh Twx)野pes of斑1ures

3.3.2 Distribution of the Number of Faults Corrected Up to a

       Speci丘ed Time

Recall that X(/)denotes a counting pτocess王epresenting the cumulative Ilumbeエof faults

corrected up to testing timeちwhich is defhed ill Chapter 2. Using(3.5), we caII obtain

the expectation and the variance of X(Z)a慮

                          

                 E[x(舌)1=ΣG。(り,         (3・9)

                        れニユ

               V・・[X(τ)]一曇(2-・)G・(¢)一[書吋・ (&1・)

エespective1)ら

3.3.3 Expected Number of Software Failures

The expectation of the丑umber of software f姐ures up to testing time諺are given by

                         姉)一迂G。(τ)

                               ρπ=1

                             -1E[X(£)],     (3.・・)

                               ρ

where(3.9)is used as E[X(t)].

3.3.4 Distribution of the Time between Software F垣1ures

Recall that X∫(1=1,2,_)dellotes the r&ndom vaτiable representing the七ime interval

between the(Z-1)-st and the I-th software failuτe occurren.ces. Then, the reliability

fU丑ction and the hazardτate◎f X~are given by

                  R~(コワ)≡Pr{X~〉¢}

                       一曇(1:1)〆9・-e-(加・命,  (3・・2)

λ1@)≡

  ∂

一瓦R~(¢)

R1(¢)

鍵瞬寒襲慧無$\〉

Page 65: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

3.4. Parameτer」E)s6ima舌fon

                      曇(∵)〆q←・一・(D緬)・一(D鞠戸

                          曇(∵)P・9・一・ザe・・μ’

respectively Furthermore, the expectation of X~, i.e. MTBSFラis obtained as

                       E岡一曇(∵)芸認・

3.4 Parameter Estimation

43

(3.13)

(3.14)

hthis section, we discuss the estimation method of the unknown paralneters D and瓦.

    The hazard rate fbr X~can be regarded as a random variable depending on the cu-

mulative且umber of the corrected faults. Letting∬~(1=1,2,_)be the random variable

representing the hazard rate for.X~, we have

               P・{q+昨D醐一(∵)猷・づ

                         (‘==0, ユ,2, .◆., ~-1).                     (3.15)

Then, the expectation of』¥~is give且by

                    E囲争・+θ)・(Z:1)ρ・ナ・一・

                        =D(擁十q巨一1十θ.               (3.16)

Accordingly)using(3.16), we approximate the hazaエd rate foτX~expressed by(3.13).

Then, the probabili七y de丑sity f宣nction for X~is apProximated by

                  φ,(・HD(沸+q)~-1+θ]・一[D(・☆+・)z一ユ+θ]2.   (3.17)

   Suppose that the daもa set on m software failure-occurrence time-intervals鋤, i.e. the

realizatio刀of X払轣iZ=1,2,...,m)is observed during theもesting Pha」se・The simulta丑eous

probability density fUnction, i.e. the likelih◎od function, is given by

               れ           五=]口[φ1(¢~)

               ~=1

             =菖[D(輌)ト・+θ]・・xp[一曇[D(輌~-1+θ]司・(3・8)

Page 66: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

44 3.So鋤are Re∫iab雌γMode五刀g m’姐Twoユ>pes of斑1ロre5

Taking the natural l◎garithm of(3.18)yields

                    れ

              M=Σ{1n[D(P糾q)~-1+θ卜[D(坤+9)~-1+θ1姑   (3・19)

                    Z=1

                                          The maximum-1ikelihood es七imates D and為for the unknown parameters D and為can be

obtained by solving the s輌mult鋤eous likelihood eqUations∂1n五/∂Z)=∂1n L/∂た=0, i.e.

                 書[D(鏡裂;≒θ+qy-・弓一・・  (3・2・)

              墓[‘諜)培一(Z-1)(声q)㌦ト  (3・2・)

which can be solved numericaユ1)た

3.5 Numerical Examples

Applying the extended s◎ftware reliability model discussed above to the actual testing-data,

we show severahumerical illustrat輌ons of softwaτe reliability measurelne丑t and assessment.

    The data set consists of 26 software failure-occurrence time-interval data功(days;

Z=1,2,_,26)cited by Goel a丑d Okumoto[11]. The testing termination time is 250

days, i.e.Σ2皇1¢~==250.

    For these data, we assume that nユodel parametersρandθcan be prespecified. Let

∂=θTbeもhe expected number of F2 in the testing time-inteτva1(0, T]. Assuming that

10%of the cumulative nu皿ber of softwaτe failuエes at the testing teτminati◎n timeτ=250

are F2, we can determine thatθ=0.0104. In case ofヵ=0.9, the ma⊃dmum-1ikelihood

estimates of unknowll paτameters D and☆aτe estimated as

                ム                                        D=0.189,  ☆:=0.947    (θ=0.0104,∫):=0.9),

                                                           respective1)た The estimated expected numbers of softwaエe failures M(¢)i丑(3.11)and

                corrected faults E[X(τ)]i丑(3.9)are shown in Fig.3.2.

Page 67: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

3.5. Numeエユ’cal Exaヱェ1ples 45

らづ   へづ             エ   ィ 

oり煤ス㊦」 』Ooり①』う口d」 』O』ωρ已]づ之

50 100 150 200 250

Testing Time(Days)

                                 Fig.3.2. Estim,a七ed 2レf(りand E[X(老)].

300 350

               バ   The estimated G26(¢)in(3.5), whichτepresents the distribution functioD of the time

spent in correctiエ1926 faults, are shown i丑Fig.3.3. Though 26 so我ware failures are obseエved

at the testing terInination time, the probability that 26 faults are cor壬ected is estimated as

O.266.Letting the objective of this probability be O.9, we can estimate tha七about 120-day

testing time must be added.

Page 68: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

46 3.S・鋤are ReljabfliウModeljηg wヱ’£力Tw・野pes・f E蚕1ures

G26ω ユ

0.9

0.8

0.6

○.4

0.2660.2

0

100 200250      300

370     400 500 600

Testing Time(Days)

                 バFig.3.3. Estimated G26(τ).

The coef五cie丑t of variation(cv)of X(τ), cv[X(£)], is defined as

cv[x(‘)]≡

var[x(τ)]

E[叉(‘)] ’

(3.22)

                             Figure 3.4 shows the estimated cv[X(¢)]. As shown in Fig。3.4, cv[X(重)]is a monot◎ne

decreasing function with respect to testing time重. cv[X(τ)]is can be regarded as a m.easure

of stability of the fault correction. The cv at the testi五g termi丑ation time is estimated as

O.131.Letting the objective cv be O.1, we can estimate that about 200-day tes七ing time

must be added.

Page 69: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

3.5.Numeロ’ca1 Examples 47

cv[xω]

0.4

0.3

0.2

0.131  0.1

0 100      250          300200

Testing Time

    449          500400

(Days)

600

                  ■ig.3.4. Estimated cv[X(τ)].

                                       The estimated rehability function R27(¢)in(3.12)fbr the next software failure-

occurre丑ce time-interval X27 is shown in Fig.3.5 along with that in the case where F2

is not considered, i.e.θ=0. The value of MTBSF for various Ps are shown in Table 3.1.

These figure and table indicate that the consideratioll of F210wers software reliabiiもy

                                 The estimated hazardτatesλ1@)expressed by(3.13)fbr vaτiousτ,s are shown in

Fig.3.6. From (3.13)and (3.16), it is noted that λ1(0) = ]E[1ヨ~]fO£arbit£ary natural

nu皿ber I. Since this flgure illdicates that(3ユ3)is nearly constant with respect to¢, the

apProximation of the hazard rateλz(¢)by using(3.16)is valid.

Page 70: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

48 3.So鋤are Reliabf1竣アM・de五刀g m’亡力Two野pes of 1磁1ure5

R27(x)

1

0.8

0.6

0.4

0.2

0 10 20 30

x(Days)

                F輌g.3.5.Estimated R27(¢).

Page 71: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

   λ》(x)

0.25

0.2

0.15

 0.1

0.05

  0

3.5.Nume亘α泌ExamPles

1=1

P=5

P=10

A/=15

z=29

/=27

10         20

    x(Days)

              Fig.3.6. Es七i皿a七edλ∫(¢).

 Table 3.1. MTBSF E[X1].

30

94

52=

θ1

0 0.01◎4

27

Q8

Q9

R0

18.99

P9.94

Q0.95

Q2.00

15.84

P6.50

P7.18

P7.88

Page 72: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

50 3.80flware Reliabf1均・Mode五刀g m’6h Two野pes of盟1ure5

3.6 Concluding Remarks

In this chapter, we have developed a softwaΣe reliab姐ty growth model considering the

software failuエe-occurrence due to the faults introduced during debuggi且g of the testing

phase. This model can co丑sider the impeエfect debugging ellvironment in which both fault

苫emovahs u皿certain and debugging may introduce other new faults. Accordingly, this

imper允ct debugging model is supeτioτto the eaτ五eτo丑e discussed in Chapter 2. Several

quantities fbr softwareエeliability measurement have been derived from this model and the

丑ulnerical examples of software rehability anaユysis based◎n the actual testing-data have

been illustrated.

Page 73: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Part II

Page 74: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 75: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 4

Software Availability Modeling

4.1 Introduction

It is often reported that un.expected system accid頭ts have occurred due to defects or faults

remainillg in software systems. Since today,s social life dep飽ds on computer systems so

much, their breakdowns do great damage. Furtheτmore, they may give r輌se to serious

accidents menac垣g human life[43,57]. Under the background like this, the software

pエoduction technologies fbf the purpose of producing qua工ity software systems ef五ciently,

systematically, and economically have been developed and researched energe七icaユ1y

    The software failure-occurrence process is primarily systematic since softwaΣe systems

are the sets of logic. But it is impossible to recognize all of inpu七domain i丑advance.

Furthermore, even if we were toΣecognize input domain, we could Ilot specify which data

are inputted in execution[24]. In addition, software faults, which are the causes of soft-

waτe failures, are more lat飽t and mo壬e di伍cult to be isolated than hardware defects.

Accordingly~the description of the failure-occuτrence ph飽omenon fbr software systems

needs the stochastic approach as weU as fb∫hardware systelns. Many mathematicahnod-

els foτthe pu∫pose of reaso且able software reliability meaぷurement a簸d assessme丑t have

been proposed and applied to practical use since it is considered that software reliab且ity

is the main quality characteristic in software products. A mathematical software reliabiL

ity model is often called a so我ware reliab丑ity gτowth model which describes a software

fault-detection or a software血ilure-occurrence phenomenon durillg theもesting phase of

the software development process and the operation phase[35,56L A software fai1服e is

de五11ed as an unacceptable departure from program opeτation caused by a fault remaining

in the software systeエn. This model is utilized fOr measuring and assessing the degree of

achievement of software rehability, deciding the time to softwareτelease fbr operational

53

Page 76: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

54 4. Sof乞ware/1va1日abilf砂Modelfヱ19

use, and estimating the maintenance cost for faults undetected during the testing phase.

     Software developlnent mallagers and customers have taken a growing interest in the

software performance measure such as the possib三e ut血zation factor as wel as in the

hardware pΣoduct. h particular, foτtelecom皿u丑ication software systems, i☆s one of

the software qualiもy chaτacteristics to be considered. Accordingly, it is very important

to measure and assess so貴ware availability, which is de丘ned as the probabilityもhat the

software system is perfbrmiIlg successfully, acco士ding to the speci丘cations, at a speci五ed

tilne p oi五t[50]. However, few quaRtitative znodels for measuring software availability are

proposed.

    It is often assumed that the hardware systems are rQewed by repair or replacement

of fa証ed parts. Then, the hardware failure-characteristic is described without concernmg

with the number of failures. OII the other hand, whe丑software fa丑ures occur, debugging

activities t◎エemove faults are perfbrmed and software reliab伍ty improves. Accordingly,

it is necessary to consider the software reliability-growth process in software availability

Inode五ng.

    In this chapter, we discuss so丑ware availab正ty m◎deling[16,19,21,39]. It is assumed

that the Inean times to the softwaτe failure-occurrence and the restoration times become

longer geometrically with the progress in fault coτrection. This assumptionτeflects that

the fault c◎mplexity becomes higheエas the debugging activity proceeds[35,36]. Furもher-

more, we c◎11sider the assumption of imperf6ct debugging. That is, it is assumed that aU

detected faults are not corrected and removed certai丑1y Aimillg at the cumulaもive number

of faults corrected perfectly, we desαibe the time-dependent behavi◎r of the system, which

alternates between the operatio丑al state(up state)that a system is opeτating regularly

and the restoration state(down state)that a system is inoperable, with a Markov口o-

cess[47]. SeveraJ stochastic qua丑tities fbエsoftwaτe availability measurement in dynamic

envirollment are derived from this mode1. Estimation of u蕊known parameters in this model

is also discussed. Finally, nulnerical illustrations fbr sof七ware availabiliもy measurement a丑d

assessment based on this model are presellted.

Page 77: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

4.2

4,2. ]匠odeliヱ1g alld Assumptioヱ正s

Modeling and Assumptions

55

The followillg assumptioRs are made for software availability modeli丑g:

A1. The so我waτe system is unavailable and starts to beτestored as soo丑as a so我ware

    捻ilure occurs, a丑d the system call not operate until the restorati◎n action is complete.

A2. The restoration action implies the debugging activity, which is perfbrmed perfectly

    with probabilityα(0<α≦1)and imper允ctly with pτobability 6(=1一α). We ca11

    αthe perfect debugging rate. One fault is corτected and removed from the software

    system when the debugging activity is peτfect.

A3. The hazaτd rate is constant between softwaτe failuτes caused by faults in. the software

    system, alld geometrically decreases whenever each fault is corrected perfectly[311.

A4. The next restoration time whenπfaults have been already cor丈ected f士om the system,

    量)Uows an expo丑ential distribution with皿ean 1/μπ.

A5. The probabiUty that two or more software failures occur simultaneously is negligible.

    Consider a stochastic process{X(£),言≧0}with the state space(W, R)where

up state vector漸γ={碗;π=0,1,2,_}and down state vector R={馬;π=

0, 1,2, ...} [42,47]. Then, the eve丑ts{X(¢)=Vγπ}and{X(¢)=・Rπ}mea丑that the

system is operat桓g and illopeΣable due to the restoration action at time pointτ, wh頭π

faults have been aheady corrected, respectively

    From assumption A2, when the restoration action has been complete in{X(舌)=Rπ},

                    x(¢){㍍蒜:㌫lll ;. (4・)

    Furthermore, ffom assumption A3, whenηfaults have been corrected, the hazard rate

fOr the neXt SO我Ware faUUτe-OCCUrrenCe iS giVe丑by

                λπ=」り為π  (?↓=0, 1,2, ...;1)>0,0〈X<1),           (4.2)

where D and為are the initial hazard rate and the decreasingΣatio of the hazard rateハ

Σespective1)たThe expression of(4.2)co皿es丘om the point of view仇at software reliability

Page 78: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

56 4.So鋤are Ava1αabiliεy Mode1元ロ9

depends o丑the debugging e猛orts, no杜he residua1ねult conte丑t. We do noぬote how many

faults remaill in the software system. Equation(4.2)describes a software failure-occurrence

phenomenon where a software system has high frequency of so丑ware failure-occurrence

during the early stage of the testing or the operatio丑phase and it gradually decrea£es after

then[35]. Early software availability models such as those of Kim et a1.[16]and Okum◎to

&Goe1[39]often assume that the hazard rate is proportional to theτesidual fault content

and decreases by a constant amount with the perfect debugging.

    Next, we describe the time-depe丑dent behavior of the restoration action. The restora-

tion acti◎丑fbr software systems includes not only the data recovery and the pr6gram reload

but also the debugging activiもies fbr manifested faults. Fro茎n the viewpoint of the fault

complexity, theエe are cases where the faults detected during the eaτ1y stage of the testing

or the operation phase have low complexity and are easy to correct/士emove, and as the

testing is in progress, detected faults have higher coエnplexity and are more di伍cult to cor-

rect/remove[35,36]. In the above case, it is appropriate七hat the mean res七〇ration-time

becomes longer with increasing the cumulative number of corrected faults. Accordingly,

we expressμπas folows:

μπ==五1アπ  (η =0, 1,2, ._; 1ヲ>0,0〈ア≦1), (4.3)

where』ヲandγare the initial restoration rate and the decreasing raもio of七he restoration

rate, respectively In case ofγ=1, i.e.μπ=Emea丑s tha杜he comple)dty of each fault is

random.

    Let隅and[㌦(η=0,1,2り_)be the random variable representing the next software

血ilure-occurエence and the next restoration time-interval whel1πfau1七s have been corrected                                                                         ,

respectively Furthermore,1et y(τ)be the random variable representing the cumulative

五umber of corrected faults up to timeオ. The sample behavioT ofγ(¢)is illustrated in

Fig.4.1. It is noted that the cumulative number of corrected faults is not always coincident

with that of software faihres orτestoration actions.

Page 79: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

4.2. Mode1えロg and Assump古fo丑s 57

羽(τ)

3

2

1

(up state)

(down state)7「3

τ2

τ1 σ1

  …

伍…

  エ

乃[  ⇔

ひ…  ●

▲ノ、

----+’

「1ーーーーー

一一鋼●一一≡

1

τo ぴ…

0 1 2 3 4 5

Time

×:software failure-occurrence

▲:perfect de|)ugging

▽:imperfect debugging

Fig.4.1. A sample rea五zation ofγ(Z).

   Let QAβ(ア)(ノ1, B∈(]レγ,丑))denote the one-step tra丑sition probability that afteτ

making a tτansition into state.Aラthe process{X(f),¢≧0}makes a tra丑sition into state

Bby time T. The expエessio丑s for(2A,B(丁),s are give丑as fo110ws:

                        Q阪,Rπ(丁)=1-e一λπγ,                     (4.4)

                       (2R川玩+、(τ)=α(1-e一μ九っ,                   (4.5)

                        (9Rπ,w㌦(ア):=b(1-e一μ九γ).                    (4・6)

The salnple state transition diagram of.X(¢)is illustrated in Fig.4.2.

Page 80: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

58 4.So鋤aτe Aw’1abj1話y Modeling

1_λo△τ 1_λ1△τ

λo△τ

Lμo△τ

bμ1△τ

    αμ1△τ

1_ん△τ 1_λη+1△τ

w謀

1一μ訟τ

●μπ+1△τ

        ●

    αμ・+1△τ

R  れ+1

Fig.4.2. A diagramma七ic represen七ation of s七ate七ransitions between X(£),s for software avai1-

      ability皿ode五ng.

4.3 Derivation of Software Perfbrmance Measures

4.3.1 Distribution of the First Passage Time to the Speci丘ed

       Number of Corrected Faults

Let 5π(η=1,2,_;50…≡0)be the random variable represellting the time spent in

correctingπfaults a丑d Gπ(¢)be the distribution ftlnction of 3九,respectively 恥rther皿ore,

let G乞,π(£)be the distΣibution functioll associated with the probability thatηfaults are cor-

rected in the tilne interval(0,司on the condition that‘faults have been already corrected

at time zeτo. Then, we obtain the fbllowing renewal equatioll with respect to Gε,π(孟):

         Gi,。(り=Qw、,R、*QR珊、+、*G‘+・,。(オ)+Q隅,&・0是,泥・Gi,。(τ)

                (Z=0, 1,2, ...,7L-1),                          (4.7)

where*denotes a Stieltjes convolution and Gπ,π(舌)=1ぴ=1,2,_). Then, the

Laplace-Stieltjes(LS)transfbrm of(4.7)is obtained as follows(see Sect輌on 2.3):

        G‘,。(5)=Q慨,是(5)QR汲.、(5)G‘+・,。(・)+Q脚、(8)Q&,慨(5)G‘,。(5)

               (τ=0, 1,2,...,η一1).                           (4.8)

Page 81: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                      4.3.De加aτioヱ10f So允ware Peエfbrma丑ce Measぴres

Fτo皿(4.4)一(4.6),the L-S transfbエms of QAβ(重),s are respectively given as

                       』(・)一、:’λノ

                      ㌫孤・(・)一、篭,

                       ζ〉」ちぽ(8)-8警1;i・

Substituti丑g(4.9)一(4.11)into(4.8)yields

         6垣(・)一、,+(λ器熾μ、6・ (・)  『

              一(   ω挑3+叫(5+跳)6山・)(‘一・,・,2,…,一・)・

where

               :}一;[剛土(入w一輌]

                    (double sig丑s iユsame order).

Solvi亘9(4.12)recursively, we obもain Gπ(3)as

                        π一1                  ζ・(・)一璽(、+慧+跳)

                       一曇(:雲i+欝)・

wh・・e c…t・・t…証・・t・鴫and嶋a・e啓…by

                   π一1                    H醐

         礼一。.1ゴ=°。.1  (Z==0, 1,2, ..,,η,-1),

              鵡H(¢」一勾H(防一9∂

               ゴ=o     ゴ=0               ゴ≠元

                   π一1                    rl醐

         A㌻=。-1 ゴ=≒-1   (τ;0,1>2,.◆.,η一、1),

              ぴH(防一跳)H(¢ゴー祐)

               ゴ=o     j=0               ゴ≠《

  59

(4.9)

(4ユo)

(4.11)

(4.12)

(4.13)

(4.14)

(4.15)

(4.16)

Page 82: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

60 4. Soflware/1 vaflal)f1輌εy Modeli119

τespectively By inveエting(4.14), we have the distribution function of the first passage ti〕【ne

whenπfaults are corrected

            Gπ(孟)≡Pr{5π≦£}

                     れ ユ

                 =1一Σ(A,、e-¢‘¢+鴫e-yつ(π=1,2,…),

                     i=0

               む

where we postulate II・=1. It is noted that

              舞:

                        れ ユ                         Σ(場,汁鴫)=1,

                         ε=O

fb士arbitraryπ≧1.

   Furthermore, E[5π]and Var[5π]are given by

                       E岡一簑ぽ),

                      w・岡一岩(か±),

respectively

(4.17)

(4ユ8)

(4.19)

(4.20)

4.3.2 State Occupancy Probability and Software Availability

Lret p4β(¢)(ノ4, B∈(W, R))be the conditio丑aユstate occupancy probability that the

system is in state B at time point f on the condition that the system was in state.A at

time point zeエo, i.e。

                   以β(τ)≡…Pr{X(τ)=BIX(0)=A}

                            (ノ4,1ヲ∈…(W,丑)),                   (4.21)

and 2ヤπ(孟)≡昂o,阪(Z)and P脇(£)三…P〃b,&(重)are called the operational and the restora-

tion state occupancy probabihty, respectively.

   We obtain the fbUowi且g renewal equations with respect to P彫冗(オ)a丑d Pげ九鑑(τ):

                昂九(Z)=(3π*Pレ隔,肌(¢),                          (4.22)

              Pげ。,呪(オ)=・一λ・‡+Q蹴,。。*Q馬,鬼・Pぽ。,蹴(り.   (4.23)

杉』

Page 83: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                            43.De1ゴvaカ∫o丑of So丘ware Pe£fbmlance Measures

恥om(4.23), the L-S transform of P阪,肌(¢)is giv斑by

                 戸鳳(・)一(、荒1ζ吉)

                          一(        2 3     3   十αλπ αλπμπ)(,+慧+仇)・

Substituting(4.24)into the L-S tτansform of(4.22)yields

61

(4.24)

                     ~        8 ~         S2  ~

                           =。λ。G・+・(5)+。λ。μπ                                              Gπ+1(3).              (4.25)                    P肌(8)

By inverting(4.25), P耽(¢)is obtained as                     ,

                     品烏(¢)≡Pr{x(¢)=ゾ}

                           一。1。9・+・(τ)+。λiμ。9;・・(£),  (4・26)

wheエe gπ(‡)is the probability density function associated with Gπ(のand g;(り≡…吻π(τ)/〔1£。

    UsiIlg the similar procedure fbr the derivation◎f P慨(τ), we obtain the fbllowing

renewaユequations with respect to P&(りand jP&,&(τ):

                   P再(£)=Gπ*(2呪,馬*PR九,R九(¢),

                 a。,R。(τ)=e一μ九¢+鯉,玩・Qw。,R。*P&,R。(¢).

Fエom(4.28), the L-S transform of PRπ,馬(Z)is given by

                       転&(       3(3+λ。)8)=    (5+脇)(3+yπ)・

Substituting(4.29)into the L-S tra丑s五)rm of(4.27)yields

                   玩(・)一(、㍍)・(、荒支鐸脇)亀(・)

                         = 56九+1(8).

                           αμπ

By inverting(4.30), P&(τ)is obtained as

                          P馬(舌)≡三Pr{X(£)=Rπ}

                                   1                                =   9π+1(τ).

                                  αμπ

    The following equation holds£or arb治ary ti]me Z:

                                                      Σ[Pw。(オ)+P・。(孟)1=1.

                          π=0

(4.27)

(4.28)

(4.29)

(4.30)

(4.31)

(4.32)

Page 84: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

62   4. So島ware Ava!’1abi∫f砂Modeliロ9

    The instantaneous software availability[50]is defined as

                                     

                             A(老)≡ΣPw。(重),       (4・33)

                                   π=O

which represe丑ts the probab伍ty that the software『 唐凾唐狽?香@is operating at specified time

point/. Furthermore, the average software availabiHもy over(0,¢][41]is defined as

                           A-(t);∫輌,   (4・34)

which repτese丑ts the ratio of system,s operati且g time to the time-interva1(0,毒1. Using

(4.26)and(4.31), we can express(4.33)and(4.34)as              ・

                    A(¢)一曇[。1。9・+・(τ)+。λiμ。9;・・(τ)]

                        一・一£1                                   9π+1(;),                            (4.35)

                             π=oαμ九

                  繊1曇[。;。G・+・(z)+。λiμ。9・+・(£)]

                        一・一;獣G・÷・(τ),   (4・36)

respectively.

4.4 Parameter Estimation

Applying the method of ma)dmum likelihood, we discuss the estimation of the unknown

p砲meters D,た, E, andア.

    Let U(1=1,2,_)be the random variableΣep£esenting the time i丑terval betweell

the(1-1)-st and the I-th software f㎝1ure-occurrences. It is noted士hat巧is not always same

as random variableτ}_1(see Fig.4.1). Then, the hazard rate of巧can be appro>dmated

as fbllows(see Section 3.4):

                            ん1(コじ)=1)(α兎_{_~))z-1.                     (4.37)

Suppose that m software failure-occurrence time-intervals u~(Z= 1, 2, ..., γπ), i.e. the

reahzatio丑of M, are observed. The simultaneous probability density fu丑ction, i.e. the

likelihood function, is given by

                一菖⑭一1expLD曇⑭一…]・ (4・38)

Page 85: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                               4.5.Nume亘cal Exampヱes  63

Taking the natural loga]dthln of(4.38)yields

             h五一1・D+m(m-12)1・(・兎+6)ヨ曇(・刷㌦ (439)

                                          へThe maDdmum-1ikelihood esti皿ates D and肩br the u丑known parameters Z)and X can be

obtained by solving the simultaneous likelihood equatio丑s∂1n L/∂Z)こ∂ln L/∂兎=0, i.e.

                          D=mm ,      (4.40)

                               Σ(αえ十b)鵠~

                               』1                               、

                                れ

                      一・一蕊(1-1m)(α刷1-2”~,  (4.4、)

                     2(α⑭ Σ(。兎+肺I

                                  I=1

which can be solved numerically.

    Similarly, we can discuss the estimation of the ullknown parameters E andア. Let

Z∫(Z=1,2,_)be the random vaτiable representing the restoratio丑t輌me fbr the 1-th

software f誠ure-occurrence. Suppose thatηL rest◎ration times zz(1=1,2り_,m)are

                                            observed. Then, the maコdmum-1ikelihood estimates万andデfbr the unknown parameters

Eandγca丑be obtained by solvillg the following simultaneous likehhood equati皿s:

                          万=mm ,      (4.42)

                              Σ(αr十b)1-1・・

                               ∵

                      m-・一蓬(~-1m)⑭~-2z~,  (4.43)

                     2(α『 Σ(。。+6)1-・。~

                                  ~=1

which can be solved numericaUy.

4。5 Numerical Examples

We show several applicatio丑examples of the so我ware availability model discussed above.

Page 86: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

64 4. Soflware」4vai!abf1元毒γMode」~iヱ19

    We use the data set consisting of 26 so丘ware捻ilure-occurrence time-interval data

2〃z(days;1=1,2,_,26)cited by Goel&Okumoto[11L HoweveΣ, restoration times

are not explicitly shown ill these data. Therefore, we assume thatω~includes both the

software f泣1ure and the∫es七〇ratioll time, i.e.ω~=匁~十z~(~=1,2,_,26). Accordingly,

we generate u~,s and z~,s for respectiveω~,s, using the following procedure:

Step 1:Geneτate a random numberξ~(0≦ξ~≦1)f6110wing the beta distribution

    BET/1(α,β)[42]having the fbllowing density function:

∫(ξ)=

B(α,β)

ξα一11一ξβ一1

       Bα,β)

       元㌦・一・(1-z)β一・d・

(α>0,β>0,0≦ξ≦1)

Step 2:Let物=ξ」勒and z∫=(1一ξ~)宜々.

(4.44)

We call the data set generated by別ヲ盟(8,2)DATA l a丑d generated by別D以(5,5)

                                                                      DATA 2, respectively The generated data sets and the maodmum-likelihood estimates D,

         

た,』ヲ,andデfbr various values ofαaτe shown in T㌦bles 4.1 and 4.2, respectively For

exa皿ple, i丑case ofα=0.8, the maximum-1ikelihood estimates are obtained as:

                                                        ハ

         D=0.246,為=0.940,」D=1.114,デ=0.960 (DATA 1:α=0.8),

         バ                      ヘ                       ハ

         D=0.365,☆=0.956,E=0.500,デ=0.954 (DATA 2:α=0.8).

                       Table 4。1. Ge丑erated da七a sets.

~ 1 2 3 4 5 6 7 8 9 10 11 12 13

祖~ 9 12 11 4 7 2 5 8 5 7 1 6 1

DATA1 吻z~

6.8

Q.2

11.1

O.9

8.0

R.0

3.0

P.0

6.0

P.0

1.8

O.2

3.8

P.2

6.6

P.4

4.2

O.8

6.9

掾D1

0.8

O.2

4.9

Pユ

0.9

O.1

DATA2η~

噤`

6.1

Q.9

5.5

U.5

7.2

R.8

2.1

P.9

4.1

Q.9

0.4

P.6

2.3

Q.7

3.0

T.0

2.5

Q.5

4.2

Q.8

0.6

O.4

3.8

Q.2

0.4

O.6

蒙娑箋×Cξ〉メペ\了W×\再

Page 87: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

4.5. NI1ヱ丑e1輌cal Examples 65

Table 4.1.(Co江七inued)

~ 14 15 16 17 18 19 20 21 22 23 24 25 26

{ω~ 9 4 1 3 3 6 1 11 33 7 91 2 1

DATA1砂~

yI

8.7

O.3

3.5

O.5

0.9

O.1

2.6

O.4

2.9

O.1

5.3

O.7

◎.9

Oユ

9.3

P.7

24.1

W.9

5.3

P.7

82.8

W.2

1.5

O.5

0.8

O.2

DATA2 物z1

5.2

R.8

1.7

Q.3

0.5

O.5

1.9

P.1

L2

P.8

3.6

Q.4

0.5

O.5

6.7

S.3

18.6

P4.4

2.6

S.4

49.5

S1.5

1.4

O.6

0.4

O.6

Table 4.2. Ma口d皿um-1ikehhood estima七es.

DATA 1

α

コ  ひ  の  じ     ロ     の     プ

DA工A 2

〈D

(L~

〈〈ア α

0.246

0、246

0.246

◎、246

0.246

◎.246

0.246

0.246

0.246

0。246

0.952

0.947

0.94◎

0.931

◎.920

0.904

0.880

0.840

0.760

0.520

1.114

1.114

1.114

1.114

1.114

1.114

1.114

1.114

1.114

1.114

0.968

0.964

0.960

0.954

0.947

0.936

0.92◎

0.893

0.840

0.680

ひ  ロ     ロ     ひ     む     る

A (ゐ

A(γ

0.365

0.365

0.365

0.365

0.365

0.365

0.365

0.365

0.365

0.365

0.956

0.951

0.945

0.937

0.927

0.912

0.890

0.853

0.780

0.560

0.500

0、500

0.500

◎.500

0.500

0.500

◎.500

0.500

0.500

0.500

0.954

0.949

0.943

0.934

0.923

0.908

0.885

0.847

◎.770

0.540

                                     Figure 4.3 shows the estimated G26(¢),s in(4.17)in case ofα=0.8, which represent

the distribution functi◎ns of the time spent in correcting 26 faults where 26 software faihlres

are observed at the testing termination tilne, which is 250 days. Letting the objective of the

probability that 26 faults are corrected be O.9, we can estimate th&t 213-day testing time

for DATA l and 172-day testing time fbr DATA 2 must be added. Furthermore, we can

         バ                                                                       

estimate E[526]=369.1(days)fbr DATA l aDd E[S26]=346.2(days)for DATA 2, respec・・

tively Therefore, we can see that the case of DATA 2 is more stable iIl fault correctability

than the case of DATA 1.

Page 88: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

彩又《

66 4, Sofεware Avaflabfli勾r Mode1元ng

G26@) :L

0.9

0.8

0.6

0.4

0.2

0.034    0

DATA 2

DATA 1

50   200   250   300         400         500         60

42ユ.5 462.9

Time(Days)

                Fig.4.3. Es七imated G26(¢)(αニ0.8).

   Figure 4.4 displays the operational state occupancy probabilities Pw九(t),s in(4.26)

fbr variousπ,s輌n the case of DATA l. Figure 4.4 indicates that the maximum pエobabilities

tha杜he system is in each state make transitions with the lapse of time.

   Figures 4.5 and 4.6 show the estimated installtaneous software availabilities.4(/),s

in(4.35)fbr DATA l and DATA 2, respectively. Furthermore, Figs.4.7 and 4.8 show

the estimated aveエage software avaUabilities.4αヵ(¢),s il1(4.36)for DATA l and DATA 2,

respectively.

Page 89: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

4.5, Nume]ゴca∫Examples 67

P砺θ0.6

0.5

0.4

0.3

0.2

0.ユ

  0       25      50      75     100     125     150

                  Time(Days)

     Fig.4.4. Operatiollal s七a七e occupancy probability聯π(Z)(DATA 1:α=0.8).

   We de丘ne the inheエent avaHabi五ty丘)rもhe next up-down cycle whenπfaults have bee丑

corτected as follows[55]:

                       E阻]               ん(π)≡                     E[2㌦]十E[乙㌦]

                       1/λ。

                     1/λπ十1/μπ

                       1                   「+ρ。(π゜,1,2,…),   (4・45)

                  ρπ…≡…λπ/μπ

                   =C7π  (0≡D/ロフ,7≡≡』C/ア),              (4.46)

Page 90: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

68 4. 50flware A valilal)ilf勾アModeliz19

wheτe we ca11ρπtheエnailltenance factor and O and 7 the initial maintenance factor孤d

the availability i董nproveエnent parameter, respec七ively For DATA l and DATA 2, C and 7

are given by

                    へ                   0=0.221,『}=α979 (DATA 1:α・=0.8),

                    へ                   0=0.730,∂=1.002 (DATA 2:α=0.8),

respectively As shown in Figs.4.5-4.8, in case of 7〈1and 7>1, the software availability

imp士oves and lowers with the lapse of time, respectively Th飽,7can be regarded as an

index to de毛er〕〔nine whether or not the software availability grbws and reflects the degree

of dif五culty of the software perfbrmance improvement.

    The initial inherent availabihty, i.e. A∫(0)= 1/(1-F O)depends on only the initia1

皿aintena丑ce factor O..4τ(0),s fbr DATA l and DATA 2 are given by

                                              .4∫(0)=0.819 (DATA 1:α=0.8),

                                              .4∫(0)=0.578 (DATA 2:α=0.8),

respectively We can see that(フdetermi丑es the so丑ware avaUability in the early stage of

operation.

Page 91: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

A(τ)

 0.9

0.88

0.86

0.84

0.82

0.8

   0

4.5.Nume亘ca1 Examples 69

100  200     300

Time(Days)400 500

           Fig.4.5. Es七imated.A(¢)(DATA 1:α=0.8).

Page 92: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

70 4.So鋤are Availabf垣y M・deli刀9

A@)0.65

0.63

0.61

0.59

0.57

0.55

   0 100      200       300       400

      Time(Days)

             Fig.4.6. Estim.ated/1(¢)(DATA 2:α=0.8).

500

Page 93: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Aαv(∫)

 0.9

0.88

0.86

0.84

0.82

0.8

   0

4.5.Nume亘cal Examples 71

100  200     300

Time(Days)400 500

           Fig.4.7. Es七imated.4α”(¢)(DATA 1:α=0.8)。

Page 94: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

72 4・S・伽are Aw’1abjlity M・de五ng

んv@)

○.65

0.63

0.61

0.59

0.57

0.550 100 200 300 400 500

Time(Days)

                 Fig.4.8. Es七ima七ed.Aα勿(¢)(DATA 2:α=0.8).

4.6 Concluding Remarks

In this chapter, we have developed a so我ware availability model considering a situation

where the debugging activity is not always performed perfectly and the fault complexity

increases with the progress of fault correction. Several useful stochastic quantities for soft-

ware reliability/availab血ty assessment have been derived from this model. Furthermore,

the estimation of unknown paramete壬s has been discussed. Numericaユillustrations for soft-

ware availab伍ty measu’ement have been also presented to show that these quantities are

very usefu1食)r software performa丑ce assessment.

Page 95: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 5

Operational Software Availability

Modeling with Two Types of

Failures

5.1 Introduction

In complex computer systems, it is丑ot too much to say that the ability of softwaτe com-

pのents, which is a maj◎r one in computer systems, determines the perfOmlance of the

oveΣall system. It is crucial to achieve an appropriate level of software reliability ef丘ciently

and eco丑omicaUy since softwareエeliabili七y isもhe Inost ilnportant aspect of software quality

Many analytical models have been developed and studied in order to captureΣeliability of

implemented software products quantitatively[43]. A mathematicaユreliability assessment

model is a software reliability growth model which describes a software fault-detectio丑oΣa

software f泣lure-occurrence phenomenon in dynamic environment such as the testi且g phase

in the software developmenもprocess and the operation phase[35,5司. A software failure is

de五ned as an unacceptable departure丘om program operation caused by a fault remaining

in the software system. This modehs utilized fbr measuring the degree of achievement

of softwareエeliability, deterlnining the testing time duration fbr softwaτe release, and esti-

mating the mai丑tenance cost for faults undetected du∫ing the testing phase.

    Software development ma丑agers and customers have take且agrowing interest in the

software perfb∫mance measures such as the possible utilization factor since today,s com-

puter systeエns have required nonstop operation,工b construct a software reliability model

mcoτporati丑g recoverability is an interesting matter. This model can measure and assess

software availab丑ity, which is de五ned as the pr◎bab丑ity that the software system is per一

73

Page 96: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

74 5.Operaεio翻So鋤are A閲日ab砒y Mode∫塊“η’th Tw・野pes of斑1ures

fbτming successfully at a speci6ed time point[25]. In particular, fbr telecommunication

and swiもching systems, software availabiユity is one of the software quality characteristics

Ilot to be negligible. Though ext頭sive reseaτch has been done on perfbrmance evaluation

techniques fOr hardware systems, few analytical models fbr measuring software availability

are proposed[19,21].

    In this chapter, we construct a so丘waTe availability model collsideΣing two types of

software failures during the operation phase, based on the][nodel discussed in Chapter 4.

The causes of so{、ware failures include not皿1y the faults that could Doもbe detected/

correc七ed during the testing phase but also operatio丑皿isses of customers or unexpectable

operatio丑al conditions not described in the requirement and desig丑speci五cations. Recently,

iもhave been oftell reported that computer systems are down because situa七ions Ilot sup-

posed in the system speci五cation have occurred. Since software availab伍ty is a customer-

or輌ented metric, it is interesting to consider such software failmes in software availability

modeling. The occurrence phenomena of two types of software failures mentioned above

are described by a geometrically decreasing and a constallt hazard rate, respectively Fur-

thermore, this model co丑siders the imperfect debugging environment where faults are not

always corΣected and removed f士omもhe system when debugging activities aτe peτfbrmed.

    The time-dependellt behavior in which the system altemaもes between the operational

state(up state)that a system is operati丑g regularly and theτestoratioll state(down state)

that a system is inopαable and restored can be modeled by a Markov process[47]. The

description of software ava且ability modeling is discussed i丑Section 5.2. Seveτal stochastic

quantities for software availability measurement are derived in Section 5.3. Numer輌cal

illustrations fbr software reliability/availability a丑alyses are pres飽ted in Section 5.4.

“脚ぼwC膨※人ぷまぎヒ

「×※M凡凡内「 さぐハ×へ\ξZζぺ㍗き㍉タ(V岱ミペ委(ミへぺ×乳くぺ「S隠く〆『Z需「さ呼W《“W〈Z×詫∨ハ Wぐぺ《ぺ兎

5.2 Model Description

In this chapter, we assume that the fbllowing two types of software f誠1ures exist during

the operation pha£e:

F1:software failures caused by the faults that could not be detected/corτected during the

    testing phase.

r《i・…\》診・ξさ〉・・きき乞シ》又・ξ:e-x㌻《シヒ多ε※郵炎s夕忽謹五

Page 97: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                                 5,2. Mode1工)escヱゴP♂io11    75

F2:software血iluτes caused by the faults introduced by deviating f士om the expected op-

    eratiOI1ξLI use.

The fbllowing assulnptions are made fbr software availability modeling:

A1. The software system breaks down and starts to be restored as soon as a software

     failure occurs, and the system can not operate until the restoration action is complete.

       ’

A2. The restoration action fbτFl implies the debugging activity and softwareΣeliab丑ity

     growth occurs if a debugging activity is perfect、 The restoration actiOn for F2 has

     丑oeffect on software£eliability growth.

A3. The debugg垣g activity fbr Fl is perfect with probabilityα(0〈α≦1), while

     imper允ct with p∫obability 6(=1一α), We caユ1αthe per允ct debugging rate, A

     perfect debugging activity corrects a丑d re皿oves one fault f士o皿the system.

A4. Whenπfaults have been corrected, the next occurrence ti皿e-interval and the restora-

     tion time fbr Fl fbllow expo丑ential distributions with mealls 1/λπa簾dヱ/μπ, respec-

     tively.

A5、 The occurrence time-inte壬val a且d the restoration time for F2 follow exponentiaユdis-

     tributions with means 1/θand 1/η, respective1)乙

A6. The probability that two or more software failures occur simultaneously is negligible.

    We introduce a stochastic process.{X(¢), Z≧0}represeRting the state of the software

system at tilne point重. The state space of the process{X(τ),τ≧0}is de丘ned as follows:

碗:the system is operatingラ

1ぴ:the system is inoperable due to Fl a皿d restored,

1㍑:the system is inoperable due to F2 and restored,

whereπ=0,1,2,...denotes the cumulative丑umber of faults corrected during the

operation phase.

Page 98: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

76 5. Opera古」θ丑al Soflware Ava1’1abi五‡y Modelmg w戊’古h Two Typ es of jF厨1ures

From assumption A3, when a restora七ion action for FI is complete in{X(孟)=壕},

x(オ) o巖臨;:盤13 (5ユ)

    Next, we descエibe the softw&re faU田e-occurrence phenome丑皿fbr F 1. hもhis chapteエ,

we use Moranda,s mode1[31], i.e. the hazard rateλπis given by

λπ=Dたπ  (η==0,1, 2, _.; D>0, 0<兎くヱ), (5.2)

where D a丑dんare the initial hazard rate and毛he decreasing ratio of the hazaTd士a毛e fbr F1,

respectively The description of(5.2)comes from the point of view that software reliability

depends on the debugging ef』rts, not the residua1抗ult co丑tent. We do not W attention to

the number of faults remaining i丑the software system. In cowentioIlaユsoftware availability

modeling, e.g. Kim et al.[16]and Okumoto&Goe1[39],it is often assumed that the hazard

rate is proportional to the residual fault co雄ent砲d decreases by a consta丑t amoullt with

perfect debuggmg. Equation(5.2)describes a software f瓠1ure-occurrellce phenomenoll

where perfect debugging corτesponding to software failuΣes occurring in the early stage

of the operation phase con廿ibutes largely to improvement of softwareΣeliability[25]. It

is pτobable that(5.2)五ts in with the operational environment where several functions

executed witll high丘equellcy areτelatively spec伍ed. This reaso丑isもhat faultsユatent in

modules with high frequency of executi◎n are detected early a丑d reHability of correspondillg

modules ixnproves rapidly. In the above operational envi士onment, reliabiHty of the overall

system also improves rapidly even if reliability of modules with low frequency of execution

is IOW.

    Furtheτmore, we describeもhe restoration characteristic for F 1. Generaユly,七he faults

detected later tend to have higher comple⊃dty, i.e. it takes more time to isolate the faults

and to check the fault correction[3司. Accordingly, it is appropriate that the restoration

time for F l becomes longer with increas短gπ. The且, we assumeμπas fbllows:

μπ=Eアπ

where E and r are the initial

rate for F 1, respectively

 (π=0, 1,2, ...; ヱリ>0, 0<γ≦1),            (5.3)

restoration rate and the decreasing ratio of the restoτatio丑

Page 99: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

5.2.M「odel Desc亘p6iαn 77

    Finaユ1y, we describe the failure a,nd the restoration chaエacteristic for F2. During the

testing phase of the software developm斑t process, the implem頭ted system is tested to

verify whether or not the system operates ill accordance with the specification and software

reliability growth occurs with debuggi丑g activities. However, it is often that the operational

co且ditions not described in the specifica垣ons occur during the operation phase;for instance,

many transactions have rushed at some time point oτthe loads into some specified system

resources have concentrated.、lt is assumed that the software failures due to the condition

mentioned ab◎ve occur randomly throughout the operation phase. Furthermore, for the

above software failures, the system is often restored without the debugging activity when

it is moτe important to shorten illoperable time tha丑to adapt the systeln to operaもional

飽vironment dif琵r銀t ffom the specifications. Eve且if七he debugging activity is perfbrmed,

iもis often makeshift and the similar software failures may recuL Since there are various

restoration pτocedures fOr F2, it is assumed that the restoration time-interval is also random

and the restoration action for F2 has no bearing oll software reliability growth throughou七

the operatioxl phase.

    1・et(2A,8(ア)(ノ1, B∈{泥,1Z;, Rl;π=0,1,2,...})denote the one-sもep transiti◎n

probabihty that after making a transition into state.4, the process{X(£),オ≧0}makes a

transitio丑into state B by timeア. The expressions fOr QA,8(ア),s are given as follows:

                       Q鳳(・)一θ㍍[・一・一(θ 戸1,  (5・4)

                       Q噸(・)一θ』λ。[・イ(θ+㌔)・],  (5・5)

                     (2R蓋,w三÷ユ(γ)=α(1-e一μ九丁),                       (5・6)

                       (2Rも肌(7)==b(1-e}μπア),                      (5.7)

                       QR繊ω=1-e一ηア・        (5・8)

The sample state transition diagram of X(¢)is illustrated in Fig.5.1.

Page 100: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

78

θ△τ

5.Operaεiσna1 S・鋤are.AvailabiliDy M・delj刀g w・’紘Tw・野pes・王斑1ures

R2

ηムτ

   わμo△τ

λo△τ

R1

R2

w

αμo△τ

η△τ

●μ1△τ

R1

αμ1△τ

θ△τ

η△τ

ゐμ・△τ

R η+1

  /1十

αμ・△τ

η△τ

わμ・+1△τ

   αμ・+1△τ

R1 η+1

Fig.5.1. A Wa㎜a七ic representation of sta七e七r孤sitions betwe⊇£)》s for operational so我一

      waエe avaiabi五ty]田odeling(1).

5.3

5.3.1

Derivation of Software Perfbrmance Measures

Distribution of the First Passage Time to the Spec姐ed

Number of Corrected Faults

Let 5πぴ=1,2,_;5b≡0)be the random variable representing the time spent in

coτrectingπfaults and Gi,π(£)be the distribution]hnction associated with the probability

thatπfaults are corrected in the time interva1(0, Z]on the condition that Z(<π)faults

have been already co士rected at time zero. Then, we obtain the followingτenewal equation:

       G・,・(¢)=o泥,・}・QR泌。、*G・+・,・(¢)+o蹴}・9R},慨・G・,・(τ)

               +Q呪,R…・QR恒・G・,・(り (‘=0・1,2,…,π一1), (5・9)

where*deno七es a Stieltjes convolution and Gπ,π(り=1(Z)(unit fullcもion)ぴ=1,2,_).

The且, we get the Laplace-Stieltjes(L-S)tエansform[42]of(5.9)as

       G・,・(・)=Q曜(・)QR~,泥.、(・)G鞠(・)+Q鵬,母(・)QR~,泥(・)G・,・(・)

               +Q泥,Rξ(・)Q鯉(・)Gち・(・) (‘=0,1,2,…,η一1)・(5・10)

粂×\婚いノ《ミ早導\「\ 

ミ「ぺ「ク「-◇WF蹴

:ぐド2勾タ@9《ーバタ葵蒙ξご289多〃ぶ※ぴ甑シ(陽㌘タ蒙診発

Page 101: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                     5.3.De亘va右ioヱ10f sof乞ware Perfbτmallce Measures

Fτom(5.4)一(5.8), the L-S transforms of QAβ(‡),s are respectively given a慮

                     』(・)一、+1≒λ、,

                     ~        θ                     Q嘱(・)=、+θ+λ、,

                    奄銚・(・)一、篭,

                     毒R汲(・)一、警云,

                     』(・)一、:η・

Substituting(5.11)一(5.15)into(5.10)yields

      6鍋(・)r、+鴛欝+ろ)呑・ (・)⑭・,2・…,π一・),

79

(5.11)

(5.12)

(5.13)

(5.14)

(5ユ5)

                                                     (5.16)

where一賜,一筑, and-zεaエe the distinct roots of the fbUowing third order equati◎n:

     33十(θ十η十λ《十μ∂32十(θμi十ηλ元十ημ‘十αλzμ∂3→一αηλ乞με・=0.    (5.17)

Solving(5.16)エecursively, we obtain毛he L,-S transform of Go,π(τ)as

               δ・・(・)一冨(,+劣1瓢+。、)

                    一曇ぽi+鷲+窯i), (5・・8)

where constant coef五cients/1弘,ノq元, and・46,i a壬e given by

                      れ ユ               [・(η一副¶λゴμゴ

      A;,に。-1 。.、ゴ=°  (i=0, 1, 2, ...ラπ一・-1),(5・19)

          訂1(・・㌍叫rl(yブ⇒(・ゴー鋤

            ゴ=o     ゴ=0            ゴ≠《

                      カ ユ               [・(η一y∂]¶λゴμゴ

      嶋一。.1 。.、ゴ=°  (τ=0} 1, 2, ...,7z-1),(5.20)

           防H(yゴー抗)rl(・ゴーy∂(・ゴーyリ

            ゴ=0     ゴ=O            j≠《

Page 102: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

80    5. Opera亡ioヱ1al Soflware A vailab」ili£y Modeljng wコ’重」1 Tw●コ【》!p es of万b匡1ures

                           れ ユ                  [・(η一・・)]πHλゴμゴ

        鴫一。.1 。.、グ=°  (‘-0,・,2,…,η一1),(5・2・)

             石H(・ゴーろ)H(・」一・∂(y」一・∂

               元=o      ゴ=0               ゴ≠元

respectiveiy By inver七ing(5.18)and rewriting Go,π(孟)as Gπ(舌), we◎btai丑施e dis垣bution

function fbr 5πas

               Gπ(£)≡Pr{5π≦オ}

                         れ ユ                    =1一Σ(ノ輪,、e-¢‘¢+A…,、eづ‘‘+A[,、e-zつ

                         ゼニむ

                       (7λ:=1, 2, ...; Go(τ)≡1(舌)),                  (5.22)

               む

where we postulate II・=1.1もis noted that

               莞:

                       ひ ユ

                       Σ(弗+尾,汁鴫)ニ1・     (5・23)

                       i=O

FuΣthermoτe, E[5⊆]and Var[Sπ]are given by

                    E剛一曇ぽ÷;),  (5・24)

                   蹴]一曇(記±+晶),  (5・25)

respectively.

5.3.2 0perational State Occupancy Probability and Software

       Availabil託y

Let 2隅,π(舌)be the conditional state occupancy probabUity that the sysもem輌s operating

at time pointτwhenπfaults have been corrected on the condition that the systeln was

operating at time point zero when乞faults had been already corrected, i.e.

          ∫膓,π(τ)i≡Pr{X(f)=1阪IX(0)=隅} (i=0,1,2,.“.,π),     (5.26)

and珠(舌)≡召),π(¢)is called the operational state occupancy probabili触Then, we obtain

the following rellewal equations:

                 孔(¢)=(Dπ*1㌦,π(り,                              (5.27)

霧懇欝鯵膨藝彩※灘蒙忌撚Z※ぴ多※◇彩ぶ蒙ジS影ヌ忽SX\◇㌘V㍉多s蒙∀.災.

.・ぺ選掠彰㌢◇凝ムジ斜◇芯肌WC凝S〆タ乞敏ぶ◇きぐ《火ぶ@配珍奪Wシタ多ρ「髪《「診・タ・念.\×ξぐ.シ窪ミ、ぺ.

Page 103: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

5.3.De1元va古元oηof So丘ware 1)erfbrmance Meas口res 81

                  亙,。(重)・一(θ+λ・)z+Q鬼,。1・QR緬活,。(¢)

                          ’ 十(2耽,RZ*Q」RZ,w三*王㌦,π(¢).                 (5.28)

From(5.28), the L-S traDsform of j㌦π(£)is give丑by

                兵・(・)一(、蓋1芸)㍍2み)

                      一(        2 5     3   十αλπ  αλπμπ)(、+鴛馴+み)・ (5・29)

Substituting(529)into the L-S trallsform of(5.27)yields

                      ~      3 ~         32  ~

                          =。λ。G・+・(3)+。λ。μ。G・+・(3)・   (5・3°)                     亙(8)

By inverting(5.30),七he operational state occupancy pτobability is obtained as

                      孔(オ)三≡Pr{X(¢)=・Wπ}

                           一。;。免・・(τ)+。λiμ。9;・・(Z),  (5・3・)

wheτe gπθis the probability density function of the random variable 5三and g;(舌)≡

dgπ(ε)/∂£. Equation(5.31)is the same fbrm as derived in Chapter 4.

    The instantaneous software avaHab迅ty is de611ed as

                                     

                              A(¢)≡Σ馬(り,        (5・32)

                                    九=O

which represents the pτobability that the so丘ware system is opeτable at specified ti〕【ne

pointτ. Furtherln◎re, the average software availability in the time intewa1(0,¢]is de五ned

鵠                           品¢)≡1∫⑭,   (5・33)

which represents the ratio of system,s operating time to the time interva1(0,重]. Using

(5.31),we can describe(5.32)鋤d(5.33)as

                       A(¢)一書[9畿τ)+瓢1,  (534)

                      鋤}書[漂)+瓢・  (535)

respectively

Page 104: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

82 5. Opera舌fonal Soflware.A栩日abi五tアMode∫fヱ1g w琵11 Two正ypes of jF垣1ures

5.4 Numerical Examples

Using the software avajlability m◎del discussed above, we show丑umeエicaユil111strations fbr

software avaaability measurement.

    The distribution functions of the first passage time to the speci丘ed number of corrected

捻ults, Gπ(¢),s in(5.22)are shown i且Fig.5.2 for various peτfect debugging rates,α,s, where

π=5,θ=◎.01,η=1.0,D=0.1, E=0.5, andγ=0.9. Figure 5.2 shows that the smalle壬

αbecomes, the longe∫もime it takes to remove faults加m the system.

    The instantaneous software availabilities, A(舌),s in(5.34)are shown in Fig.5.3 for

various values ofαwhereθ=0.01,η=1.0, D・=0.01,た=0.8, E=0.5, andア=◎.9.

In practical calculation of A(重)and.4αη(孟), we needもo specify the supremum ofπinstead

of in五nity We denote this value as N. Figure 5.3 displays the time-dependent behavior

oL4(諺)in tilne interva1[0,800]. In this case, G20(800)=2.38×10-12 whenα=1.0.

That is, the probab通ty thaも20 faults are corrected up to timeτ=800 are suf五ciently

sma11. Accordingly, we set N=20. Fig服e 5.3 indica毛es that software availability is low

imlnediately after the operation and輌11creases gΣadually with the lapse of the operation

time and that(5.34)can measuτe the degree of unstableness of the system in the early stage

of the operatio丑phase. This figure also shows thaもthe higher certainty of the debugging

activity becomes, the larger software availability becomes.

    .4(ぢ,s and the average softwaτe availab姐ties,ノLψ(τ),s in(5.35)aエe shown in Figs.5.4

and 5.5 fbr various values ofθ, whereα=1.0,η=1.◎, D=◎.01,兎=0.8, E=◎.5,

andγ=0.9, respectively The hazardエate foエF2,θre丑ects the specification quality;i.e.,

the speci五cation covers the user requ輌remellts well with decreasingθ. Figures 5.4 and 5.5

indicateもhat the utilizat輌on of the software system becomes larger asθdecTeases.

    攻Z),s for various values ofγ泣e shown in Fig.5.6, whereα=0.9,θ=0.01,η=LO,

D=0.◎1,☆=0.8,and E=0.5. As shown in Fig.5.6, in case ofア〉ゐandア<κ,

software availability improves and decreases with the lapse of time, respectively, and in

case ofア=瓦, this is constant. Then, the ratio ofγ七〇たcan be regarded as an index to

determine whether◎r not the software availability gΣows duri丑g the operati◎丑phase.

The hazardτate fbτthe next software failure, which is n◎もdistinguished betwe斑F1

Page 105: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

5.4. NロmeヱまcaヱExamples 83

alld F2, whe丑πfaults have been already corrected is denoted as

                       απ=・λπ→一θ 伝=0,1,2,_.).              (5.36)

ノ1(孟),s in the cases of(i) 1) :θ = 1 :5and (ii) 1) :θ = 5 :1 0且the condition that

αo=D十θis the same value are shown in Fig.5.7, whereα=0.9,η=1.0う☆=0.8,

E=0.5,andア=0.9. Figure 5.7 shows as follows:hthe case of(i), software availability

is stable when debugging is perfbrmed enough and the hazard rate fOr Fl is low. In the

case of(ii), though software availab姐ty is lower than(i)in the early stage of the ope士ation

phase, it increases with the lapse of七ime a丑d is larger than(i). The behavior shown in

Fig.5.7輌s due to whether伍e system has much room fbr reliability growth or not. For

・x・mp1・,α・=0・06伽b・th・f(i)・nd(ii), b・tα・・=0・0510わ・(i)孤dα・・=0・0154 f・・

(輌i).Then,(ii)has more room fbr reliab丑ity growth than(i).

G5(τ)

1

0.8

0.6

0.4

0.2

0 100    200 300 400

Fig.5.2. Dependellce ofαon Gπ(f)(η=5,θ=0.01,η=1.0, D=0.1,☆=0.8, Eニ0.5,

       7=o.9).

Page 106: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

84 5. Op era6元onal SO丑ware Ava1日ab伍tアMode』ing Wコ’亡」1 TwOエンp es of斑1ures

A@)

O.99

0.985

0.98

0.975

1.0

0 ユ00 200 300 400 500 600 700 800

Fig.5.3. Dependence ofαol1/1(¢)(θ=0.01,η=1.0ラD=0.01,先=0.8, E=0.5,ア=0.9).

Page 107: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

5.4.Nume鷹’ca1 Examples 85

A@) ユ

0.99

0.98

0.97

0.960 200 400 600 800

Time

Fig.5.4. D・p・nd・丑ce・fθ・n A。。(古)(α一1.0,η一LO,1)-0・01,瓦一〇・8, E=0・5,・=0・9)・

Page 108: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

86 5・〈』aε」・蝿S・鋤aτeAwユ・b塒M・d・1ゴ丑g m’舌力Tw・野pes。王斑1ures

Aαγ(τ)

    ユ

0.99

0.98

0.97

0.96

0.95    0

θ:0.005

0=0.01

θ=0.02

                 200       400       600       800

                          Time

Fig・5ふD・・飽d・・ce・fθ・崩・・(・)(・一…,・一…,D-・曝一・.8, E-・.5,。一・.9).

Page 109: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

5.4.Nume亘C㎡Examples87

A@)

0.99

0.985

0.98

0.975

0.970 100 200 300 400 500 600 700 800

Time

Fig.5.6. Depelldence ofアon∠4(£)(α=0。9,θ=0.01,η=1.0, D=0.01,☆=0.8, E=0.5).

Page 110: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

88 5. Opera古iona∫Sof乞ware Ava1日abi五ξγModelillg wコ’舌h Twoエンp es of F⊆元∫ures

0.98

0.96

0.94

0.92

0.90 ユ00 200 300 400 500 600 700 800

Time

Fig.5.7. Dependence of D:θo遼.4(毒)(α=0.9ハη=1.0,☆=◎.8,1ヲ=0.5,ア=0.9).

5.5 Concluding Remarks

In this chapter, we have developed a software ava丑ability model i批egrating two different

types of software failure-occurrence phellomena during the opeτation phase:the one caused

by the faults remaini且g in the system is desc亘bed by a geometrically decreasing hazard rate

and the other caused by those introduced by deviating from the speci丘cation is described by

aconstant hazard£ate. The dynamic behavior of the system has been modeled by a Markov

μocess。 Several quantitative皿easures fbr software perfoτmance assess皿ent have been

derived from this model. Numerical illustrations f6エsoftware availabi批y measure皿ellt have

been also presented七〇show that these measuτes aτe very双seful fbエso合ware performance

evaユuation.

Page 111: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 6

Operational Software Availability

Modeling with Two Types of

Restorations

6.1 Introduction

1エ1this chapter, we discuss another software availability model for operational use, takillg

notice of restoΣati皿sc飽arios duri丑g the operation phase. Debugging activities correspond-

ing t◎software failures which occuτduring the operati◎丑phase aτe not aユways pe£fbrmed

because protracting an inope£able time may much affect the customers. This is a dif[erent

policy from the testillg phase. Since software ava元1ability is one of the customer-oriented

metrics, we need to re丑ect o丑opeエational environment in software ava丘1ability modeling.

Traditionaユsoftware availab伍ty models[16,39]do not reflect o丑the above situation very

much. We c◎nsider two kinds of restoration act輌ons during the operation phase:one in-

volves debugging and the other does not.

    The time-dependent behavior in which the system aユternates between the operational

state(up state)that a system is operating regularly and the restoration state(down state)

that a syste皿is inoperable and restored ca且be modeled by a Markov process[471. Several

stochastic quantities fbr softwaτe availability measurement are derived f∫om this mode1.

Finally, mlmerical illustratioIls for software availability analyses are pτesetlted.

6。2 Model Description

The fbUowing assumptions aTe made fbr operational software availabilityエnodeling:

89

Page 112: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

90 6. Opera古fonaZ Sof伽are Ava10abf1ほy Modelmg wi右h Twoユyp es of Re5加ratiolls

A1. The software sysもem b£eaks down and starts to be restored as soon as a software

     f副ure occurs, and the system can not operate until the restoratio丑actioll is complete.

A2. Whe且aso鍮are failure occurs, the restoration action with the debugging activity is

     perfbrmed with probabilityρ(0〈ρ〈1), while without the debugging activity is

     peτfbτmed with probab輌1ity g(=1一ρ).

                                                  へ

A3. The debugging activi七y is perfect with probabilityα(0<α≦1), while imperfect

     with probability 6(=1一α). We caUαthe perfect debugging rate. If the debugging

     activity is perfect, one fault is coτrected and removed from the system.’

A4. Whenη鋤1ts have been corrected, the time to the登ext so我ware failuエe-occurrence

     and the festoration time with the debuggi丑g activity follow expo丑ential distributions

    with mealls 1/λπand 1/μπ, respectively

A5. The restoratio丑time without the debuggmg activity foUows an exponentiaユdistribu-

    tio丑with Inea且1/η.

A6. The probability that two or more software f誠ures occur simultaneously is丑egli亘ble.

    Recall that the process{X(τ),τ≧0}represents the state of the software system at

time point 6. The state space of{X(孟),τ≧0}is de五ned over again as fbHows:

Wがthe system is operating.

R;:the system is inoperable and restored with the debugging activity

R;:the system is輌noperable andτestored without the debugging activity,

whereπ=0,1,2,...denotes the cumulativeエ1umber of corrected faults.

    From assumptio丑A2, when the next softwaエe fa丑u∫e occurs i丑{X(τ)=

                     x(τ){竃麟;:麗1㍑

Furthermore, froln assumption A3,

is c・mplete in{X(オ)=碍,

                    x(τ)一ご麗::蕊1㍑.

耽},

(6.1)

when aτestoration action with the debugging activity

(6.2)

Page 113: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

6.2.Mo del Desc亘P古fon 91

    We use Mora丑da,s model[311 to desc曲e the so我ware観ure-occurrence phenomenon,

which is the same as the descriptioll in Chapter 5, i.e. the hazard ra七eλπis given by

λπ=D兎π  (η=0,1,2,...;1)>0,0〈たく1), (6.3)

where D andえare the initial hazard rate and the decreasing ratio of the hazardτate,

respectively

    We turn to七he desc玲tion of the restoration characteristic. There are va£ious restora-

tion sce丑arios according to various types of software failures du亘ng the operation phase。

In this chapter, we pay attention to whetheΣoτnot the restoration action includes the

debugging activity The res七〇ration Tateμ九fbr the restoration time with debugging as

follows:

                μπ=2三)γπ  (↑τ==0, 1,2, ...;25)>0, 0<γ≦1),            (6。4)

whe主e E aadアare the initial restoration rate and the decreasingτatio of the restorationτate,

respectively a丑d this descrip七ion ha慮already been discussed i丑Chapter 5. O丑the other

hand, there are cases where the system is often restored without debugging when it is Inore

important to shorten inoperable time than to adapt the system毛o operational e丑vironment

We assume that it is probabiistic whether or not debuggi丑g activity is performed and that

theエestoration action without debugging is complete rand◎mly throughout the operation

phase。

    Recall that QAβ(γ)(A, B∈{Wπ, R;, R募;π=0,1,2,_})denotes the one-

step tra丑sition probab伍ty that after makmg a tr孤sition into state∠4, the process{X(τ),

τ≧0}makes a transitio丑i五to state B by tilneア. The expressions for QAβ(丁),s are given

as fol10WS:

9肌,R義(・)=ρ(1-・一λ・つ,

Ow。,R三ω=4(1イλつ,

9Rも阪、(丁)=α(1-・一μπり,

 Q硯,肌(ア)=6(1-e一μ九ア),

9R繊(丁)=1一ビηア・

The sample state transiti◎n diagram of X(∋is illust∫ated in Fig. 6.1.

(6.5)

(6.6)

(6.7)

(6.8)

(6.9)

Page 114: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

92

4λo△τ

6.Opera古加a1 So鋤are Ava・日abj醒γModelmg wzφτ力Tw・野pes・f Rest・raεio刀5

R2

w

η△τ

4λ1△τ

ゐμo△τ

クλoムτ

R1

R2

w

η△τ

わμ1△τ

  ρλ1△τ

αμo△τ

RI

9λぬτ

■   ●

αμ1△τ

w

η△τ

9λ・+1△τ

わμ・△τ

クλ必τ

R2 η+1

w

η△τ

bμ・÷14τ

クλ・+1△τ

αμ・△τ    αμ・+1△τ

R1 π÷1

Fig.6.1. A diagram皿atic representation of sta七e七rallsitions beもween X(¢),s for opera七io丑al soft-

      ware avaUab正ty modeling(II).

6.3 Derivation of Software Perfbrmance Measures

6.3.1 Distribution of the First Passage Time to the Speci丘ed

       Number of Corrected Faults

RecaJI that 5竺(π=1,2,...;50≡0)denotes the random variable representing the time

spent in correcti丑gπfaults atld that G元,π(¢)de丑otes a distributio丑function associated with

the probability thatπfaults are corrected in the time interva1(◎,司on伍e condition that

Z(<7L)faults have been aユready corrected atもime zero. The丑, we obtain the fbllowing

renewal equation:

        G・,・(¢)=Q願}・QR泌.、*G・+・,・(孟)+Qw、,・}・QR},慨・G・,・(¢)

               +Q泥,増・QR諏・G・,・(τ) (‘-0,1,2,…,π一1), (6・10)

where*dellotes a Stieltjes convolution andσπ,π(り=1(£)(unit functio取)(η=1,2,_).

   Substituting the Laplace-Stieltjes(L-S)transfbrms of(6.5)イ6.9)i丑to that of(6.10)

yields

      呑・・(・)一(、+慧詰(隠)δ ・(・)(‘一・,・・2,…,一・),(6…)

Page 115: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                        6,3.De五va力拍110f SofXware Peτfbrmance Measures  93

wh・・e-・・,、一雛,・・dづa・e th・di・ti・・t…t・・f th・旬1・唖g価d・・d・・equati…

        53十(η十λε十μ∂32十[ρηλi十ημ‘十(1一ρ6)λ《μ‘]3十ραηλiμε=0.     (6.12)

Solving(6.11)recursively, we obta蕊the LS transfbrm of Go,π(孟)as

                6助(・)一亘(、+繋嶽(1)+。∂

                     一碧ぽi書+鷲), (6・・3)

wh・・e c…t・・t…伍・i・・七・鴫,尾,・・d場・・e gi…by

                れ ユ                 nρ・λ」μゴ(η一・り

      4,、一_、ゴ=°_1    (Z-0,1,2,…,π一1),(6・14)

           ・JI(・ゴー勾n(坊一・・)(・ゴー・リ

             フ=o      元=0             ゴ≠元

                れ ユ                 Hρ・λゴμ元(η一y∂

      鴫=。.、ゴ=°。.1    (乞=0,1,2,…,η一1),(6・15)

           跳H(yゴー筑)H(・グーyづ(¢ゴーy∂

             ゴ=o      ゴ=0             ゴ≠《

                カ ユ                 Hρ・λゴμ元(η一・∂

      鴫一_、ゴ=°_1    (‘-0,1,2,…,仁1),(6ユ6)

           迂1(・ゴー・∂H(・」一麹)(yゴー・∂

            ゴ=o     ゴ=O             j≠{

respectively By inveエtillg(6.13)and rewriting Go,π(t)as Gπ(¢), we obtain the distribu毛io丑

function fbτ5!πas

              Gπ(¢)≡Pr{5元≦τ}

                       れ ユ

                  =1一Σ(AUe一吋+A募,、e一汐‘£+A㌻e一之つ

                       ゴニむ

                    (ク乙:=1ハ 2, ...;Go(ε)≡≡1(τ)),                   (6.17)

              む

where we postulate II・=1. It is丑oted that

             舞1

                  れ ユ

                  Σ(場,け鴫+鴫)=1(η≧1)’      (6・18)

                  ‘=0

Page 116: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

94   6. (功pera力元o丑al Sofεware.A・皿~abflf奴Modelf皿g wユ’古力Twroコ肋)e50f Rest◎ra右foηs

6.3.2 0perational State Occupancy Probability and Software

        Availability

RecaB that吾,π(オ)denotes the conditional state occupancy probability that the system is

operating at tilne poi丑t¢whenπfaults have been corrected oll the condition that the

system was operating at time poillt zero when‘faults had be飽already corrected, i.e.

          鴉,π(り…≡Pr{X(舌)=WπIX(0)==死}   (乞=0,1,2,..,,π),     (6.19)

and that亙(孟)≡Pb,π(¢)is caユ1ed the operational state occupancy probability Then, we

obtain the fbllowing renewal equations:

        鳳(¢)=Gπ*亙,π(¢),                                       (6.20)

       孔,。(Z)=・一λ・‘+Q耽,R1・0。繊・鳳,。(τ)+Q肌,。Z・Q暗,w。*島,。(τ).(6・21)

F士om(6.21), the L-S transform of 1㌔,π(τ)is givell by

              兵・(・)一(,デ㌶)㌶。。)

                   一(          2  5       3     十ραλπ ραλπμπ)(、+慧(㌶。。)・ (622)

Substituting(6.22)into the L-S transfbrm of(6.20)yields

                   ~       3  ~         52  ~

                       =ρ。λ。G・+・(3)+ρ。λ。μπ                                           (穿。+、(3).              (6.23)                   珠(3)

By inverting(6.23), the operational state occupancy probability is obtai丑ed as

                        亙(り≡Pr{X(¢)=1阪}

                            -9蒜£)+瓢,  (624)

where gπ(‡)is the probability density fuRction ofτandom variable 5πand g;(£)≡∂gれ(¢)/∂τ.

    The instantaneous software availab且ity is defined as

                                   

                           姻≡Σ亙(孟),       (6.25)

                                 π=O

which represe丑ts the probability that the software system is operable at specified ti皿e

poi丑tτ. Furthermore,七he average so丘ware availability in the time interva1(0, f]is defined

as

                         A-(¢)≡1仁(輌    (6・26)

獄ぽ】§]§§総S妻萎萎》w箋§]ε÷《診iiーー‖ー∂》」菱き巾ーマ〉メ肝〉『ド呼ーs『ぺ-ーi、。奎{.:.,、、

Page 117: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

6.4,Numeη’α迂Examμe5 95

which represents the ratio of sys七em}s operating time to the time interva1(0,¢|. Using

(6.24),we can describe(6.25)and(6.26)as

                       却)一誉[9琵髪)+瓢],  (6幼

                     ㊨i篇陰)+瓢]・  (6・28)

respectively.

6.4 Numerical Examples

Using the operational software availability model discussed above, we show numeric瓠i1-

1ustrations for softwaエe availabi五ty measuエement and assessInent.

    The instantaneous software availab鎖ities, A(孟),s in(6.27)atld the average software

availabili七ies,ノ1α。(¢),s in(6.28)fbr various perfect debugging rates,α,s are shown i丑Figs.

6.2and 6.3, respective1)た These figures indicate that software availab伍ty drops rapidly

immediately a我er operatio丑and gradually mcτeases after. This tells us tha枕hese measures

can show unstable限ss of system peエfbrmance in the early stage of the operation phase

quantitatively. These figures also indica七e that the increase of the certainty of debugging

bri丑gs high software availability

    .4(τ),s and.4α.(¢)}s f〈)r vaτious values ofρ, whichτepresents the probability that a

debugging activity is perfbrmed when a software failuτe occuτs, are shown i丑Figs.6.4

孤d6.5, respectively. We can see that so丑ware availabihty is lower inもhe early stage of the

operation phase but more iエnproves with the lapse of time asρincreases. Th輌s reason is七hat

software reliability growもh occurs even during the operation phase though the restoration

time tends to be longer.

Page 118: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

96 6・ (カ)eraτ輌Ona150f乞Wa匪e/1Val[lab輌∫iξy MOdelfηg Wヱ’舌力TWOエンp e50f ReStOraカfOηS

A(τ)

0.98

0.96

0.94

O.92

0.9

0.880 100 200 300 400 500 600 700 800

客鳶㊨-蒙診撚忽聯慈ジ彩影裟診S蒙@@彩※該κ]、診隊彰㍍多◇ー髪彩影きぞε蛍◇彩》c套彦》き§彩げ・s§》…1…\毒ーーー

Fig.6.2. Depe丑dence ofαon A(¢)(ρ=0.9, D=0.1,為=0.8, E=0.5,ア=0.9,η=LO).

Page 119: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

6.4.Nume亘ca1 Examples 97

んv@)

0.96

0.94

0.92

0.9

0.880 100 200 300 400 500 600 700 800

Fig.6.3. Dependence ofαon Aα砂(¢)(ρ=0.9,ヱ)=0.1,た=0.8, E=0.5,ア=0.9,η=1.0).

Page 120: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

98 6・Operaτ元・丑a1 S・鋤are Aw°1abfli{y M・de五皿g w・’τ力Tw・野pes・f Resε・ra古i・η8

A@)

0.96

0.92

0.88

0.840 100 200 300 400 500 600 700 800

Time

Fig.6.4。 Depelld飽ce ofρol1.4(オ)(α=0.9, D=0ユ,た=0.8, E=0.5,ア=0.9,η=1.0).

Page 121: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

6.5. Colldudillg Remarks 99

んv@)

0.96

0.94

0.92

0.9

0.88

0.86○ ユ00 200 300 400 500 600 700 800

Time

Fig.6.5. Depende丑ce ofヵon.4α⑳(£)(α=0.9,ヱ)=0.1,髭=0.8, E=・0.5,ア=0.9,η=1.0).

6.5 Concluding Remarks

hthis chapter, we have developed a software availabaity model co且sidering two dif丘rent

kinds of restoration acti◎ns performed during the operation phase. The dynamic beh皿or

of the software system has bee丑.described by a Maτkov process. Seveτahseful quantitative

measures for softwa士e perfbrmance assessment have been deτived. Numerical illustrations

for so我waτe availabihty measurem飽t and assessment have beell als◎presented to show

that these measures are very useful fbτoperational software perfbrmance evaluation.

Page 122: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 123: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 7

Software Availability Modeling with

Performance Degeneration

7.1 Introduction

Software reliability is one of the most important software attributes in measuring software

quality characteristics. A mathematical model fbτsoftware reliabihty measurement is called

asoftware rel輌ability growth model which describes a software fault-detection or a software

捷1ure-occurrence phenomenon duτing the testing phase in the software develop皿ent pro-

cess and the operati◎n phase. A software failure is defined as an uRacceptable departure

froIn program operation caused by a fault rema諏ing in the systeIn. A number of software

reliability grow七h models have been proposed fbr the last a few decades[25,26,43].

    The t士adiもional s◎ftware reliab垣ty assessInent measures, such as the expected residual

f&ult content and the mean time between software failures, are the developer-oriented ones.

However, the customers take a gτeat interest in the perfomance-related reliabiity mea-

sures of software systems. For the pu∫pose of deri、dng such measures, we need to construct

software reliability growth models incorporating maintainability and/or perfbrmance. One

of the customer-oriented me七rics is the so貴waΣe availab垣ty which is defined as the proba-

bility that the software system is perfbr皿ing successfully at a speci五ed time point. Several

stochastic models fbr measuring so銑waτe availability have bee丑proposed[19,21]. Several

reliability/performance eva1Uatioll measuτes fbr computer systems f士omもhe viewpoi11もof

haτdware con五gurations have also been proposed. Beaudry[3]has proposed the computa-

tion availability and the mean computation between failures for fault-tolerant computing

systems. Meyer[29]has prop◎sed the perfOrmability taking accou泣of accomplishment lev-

els f詑m customer,s viewpoint. Sols[51]has i蕊troduced the concept of degraded avaUabiliもy

101

Page 124: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

102 7 Soflware A vailabili方Modeヱ」ηg w光h Perfbmla刀ce Degelleratioη

These studies consider that systems have several dil艶τent perfbrmance levels. However,

允wquantitative measures considering sim旦1taneous software reliability and perfbrmance

have been proposed.

    hthis chapter, we develop a plausible software availability model co丑sidering the

degeneration of system performance in user◎peration. Software availability Inodels pro-

posed so far assume o亘1y up a丑d d◎wn state,七aking software reliability growth p⑮cess

in coDsideration. But so我ware syste皿s could not always display their fuU performance

when they are ava↓1able in actual opera磁onal environment. Though systems do Ilot fall

into operation stoppage outwardly, some intemal parもs of systems may b6 unfavorable

states. For instance, the system throughput decreases due to the co丑centratio丑of loads

into solne speci五ed syste皿resources and some parもs of system functions aτe ullavailable

due to mainte且ance of the corresponding so愉are subcomponents. We assume that the

softwaτe system has two operational states during the operation phase:one is providing

with full perfbrmance and the other is with degenerated performa丑ce。 The time-dependellt

behavior of the software system, which aユtemates between the operational and restoration

state, is described by a Markov process. Then software reliability growth process is aユso

incorporated into this mode1. Several quantitative ava三labUity/perfbrmance measures are

derived analytically from this皿ode1. In particular, this model can derive computation

software ava元1abi五ty which is a meaβureねking account of reliability and performance si-

multaneously This metric is de丘ned as the expected amount of possible computation

per u丑iもtilne at a speci五ed time poi滋. Finally,11umerical examples are presented fbr

illustration of software availabi蹴y/perfbrmance measureme丑t and assessment

7.2 Model Description

The following assumptions are made fbr software availability modeling:

A1. When the so加are system is operating, the time-interval of operation wi七h full per一

    景)rmance and the holding time of performance degeneration follow exponential dis-

    tΣibutions with means 1/θand 1/η, respectively

A2. The software system breaks down and starts to be restored aβsoon as a software

    皿1ure occuエs, and the system ca丑not operate until the res七〇ration action is complete.

Page 125: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

7.2.Model DescrlP亡jo皿 103

A3. Theτestoration actio丑implies the debugging activity and softwaτe reliab出毛y growth

    occurs if a debugging activity is perfect.

A4. The debugging activi七y is perfect with probabHiもyα(0<α≦1),while imperfect with

    probability 6(=1一α). We ca11αthe perfect debugging rate. A perfect debugging

    activity corrects and removes one fault f士om the system.

A5. Whe丑πfaults have been corrected, the nexもso貴ware failure.occurrence time.interval

    and the restoration time fbllow exponential distributions with mealls 1/λπand 1/μπ,

    respectively

A6. The probabHity that two or皿ore software failures occuτsimultaneously is negligible.

    We de丘ne the computati◎n capacity as the amount of useful computation per unit

time[31. It is assume that七he computation capacities are C(>0)and Oδ(0<δ<1)

when the systeIn is operating with斑and degenerated performance, respectively We call

δthe decreasing ratio of systeln,s computation capacit)た

    W・i・t・・duce a・t・・h・・ti・p・・cess{X(τ),孟≧0}・ep・e・e・ti・g th・もt・t・・fth…卵・・e

system at tilne pointτ. The state space of the process{.x(τ),オ≧0}is de五ned as follows:

Wがthe system is operating with full perfbrmance,

Lがthe syste皿is operating with degenerated perfbrmance,

Rが the sysもem is inoperable and restored,

wheτeπ=0,1う2,...denotes the cumulaもive number of faults corrected during the

operation phase.

    Fro皿assumption A4, when a resto主ation action is complete in{x(の=R。},

                    x(オ){蕊鴎霊1; (τ・)

    The descriptions ofλπandμπare given by

                λπ=Dたπ  (π=0, 1, 2, ...; Z)>0, 0<え<1),           (7.2)

                μπ=五)γ九  (π=0, 1,2, ._; E>0, 0<T≦1),           (7.3)

Page 126: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

104 7 Sof乞ware A皿αabilf砂Modelfllg w1’力力Peエfbrmance Degeneratゴo刀

respectively where D azld k aτe the initial hazard rate and the decreas桓g ratio of the

hazard rate, respectively a丑d E andアare the i丑itial restoエation rate and the decτeasing

ratio of the restoration rate, respectively The details ofλπandμπhave beell discussed in

Chapters 2,4, and 5.

    Let QA,」B(ア)(ノ1,」B∈i{Wπ,1シπ,」Rπ;π・=0,1,2,...})denote the o丑e-step tra丑sition

pτobability that afteエmaking a transition into state.4, the process{X(τ),τ≧0}makes a

tτansition into state B by timeア. The expressions fOr(2A,β(ア),s are giveII as fbllows:

              θ                  [1-・一(λ・+θ)ア], Qw九,Lπ(ア)=            λπ十θ

              λ九                  [1-e-(λ・+θ)ア|, Q呪,&(ア)=            λπ→一θ

Q蝋(・)一λ芸η[・イ(λπ+η)ナ],

              λπ                  [1-・一(λ・+・)ア],  Q五π,Rπ(ア)=

            λπ十η

(2&,玩+ユ(ア)=α(1-e一μπア),

Q&,鬼(ア)⇒(仁e一μπナ).

(7.4)

(7.5)

(7.6)

(7.7)

(7.8)

(7.9)

The sample state tΣansition diagram of X(重)is alustrated in Fig. 7.1.

wθ△τ

L

λo△τ

η△τ

μo△τ

λo△τ

Rαμo△τ

w

Lλ1△τ

R

●   ■

αμ1△τ

w        w                  〃+]

      わμπ△τ     θ△τ      bμη+1△τ

                               ■    .

   λぬτ        λ打÷1△

  η△τ     αμη△τ   η△τ     αμη+1∠1τ

L    R    L    R                  〃+1                           η+1                    L.1△    λ必τ

Fig.7.1. A diagrammatic represeロ1七ation of state transitiolls between X(¢),s fbr software avai1-

        ability modeling wi七h perfbrmance degenera七io丑.

Page 127: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

7.3

7.3.1

7.3. 5ioflwa「e A「陀亘1abi1元ξアノ1ヱ1alysfs

Software Availability Analysis

Distrib頑on of the First Passage Time to the

Number of Corrected Faults

105

Specified

Let鶉,‘+1 and Gi,i+1(£)be the rand◎m variable represent短g the time spent in makiエ1g a

transition from state慨to state]レ陥+1 and the distribution fUnction of鶉,‘+1, respectively

Then, we obt泣丑the followillg renewal equations:

σi,ε+・(り=疏,是・QR汲+、(£)

         +亙泥,是*QR照*G乞,ε+・(τ)

亙慨,是(τ)=繊,民(オ)+Q鳳、*QL魂(舌)

         +ow、*QLエ・H隅,是(/)

         (‘=0, 1,2, .。チ)

(7.10)

where*denotes the Stieltjes convolution a丑d亙階,民(¢)represents the probab迅ty that the

process X(りInakes a transition f士om state泥to sta毛e昆in an amount of time less than

or equal to¢.

    Substituting the Laplace-Stieltjes(L-S)transforms of(7.4)一(7.9)into that of(7.1◎)

yields

             ¢磁Gε,i+、(3)=

         (3+⇒(5+銚)’(7.11)

where

:}

  1

=ラ

(dou

[(λ副±(λ減・-4・λ・μ]

ble signs in same order). (7.12)

    Let 5πand Gπ(¢)(π=1,2,...;50≡0)be the random variable representing the

time spent in correctingηfaults and the distribution fu丑ction of 5π, respectively Then,

the following relation are obtained:

                                れ ユ

                            5。=Σ宅,、+、.         (7.13)

                                 i=0

Page 128: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

106  7.Soflware.Ava元1ab元1f砂.Modelfng wi右11 Pe㎡brma丑ce Degellera力三〇n

Noting that鶉,6+1,s are mutually independent, we can get the L-S tτansfbrm of Gπ(りas

                           れ ユ

                     G。(・)=rlG紺(・)

                           二1

                          一墓(、講+y∂

                          一岩ぽi+驚),  (7.14)

Where C…tant…伍・i・nt・屍and鴫a・e giV・n by

                                カ ユ

                                 rl醐

                     4,に_1ゴ≒.1

                          陽H(・ゴー⇒H(坊一⇒

                           」=o      ゴ=0                            ゴヂメ

                          (‘=0, 1,2, ...,7τ一1),                 (7.15)

                                 れヘユ

                                 rl働

                     A2,=     ゴ=o

                           れ ユ       れ ユ                      π,2

                          ダJI(yゴー銚)H@ゴー抗)

                            ゴ=0      戸0                            ゴヂ

                          (‘:=◎, 1,2, ...,7τ一1),                 (7.16)

respectively By invertillg(7.14), we have the distribution ftmcti◎n of乳as

                   G。(オ)≡Pr{亀≦孟}

                             れヘエ

                        =1一Σ⊃(A弘e-¢揚+ノ11,、e-yつ

                             ‘=0

                 (7τ=1,2, ...; Go(Z)≡≡…1(/)(ullit fuction)),            (7.17)

                む

where we posもula毛e H・=1forπ=1. It is noted that(7.17)is identical to the mode1

               ゴ=0        ’               ゴゆ

discussed in Chapter 4 and has no bearing on paτametersθandη, which are related to

per欽)rエnance degeneration and that

                   ひ ユ

                   Σ(・4し+・鴫,)=1ぴ=1,2,…)・      (7.18)

                   乞=0

Page 129: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

7.3. Sofヤwa「eメ>val日abj1元CγAllalysis

   Furtheτmoエe, the meall and the var輌ance of&are given by

                       E岡一曇ぽ),

                      剛一誉(±+±),

respective1)㌧

107

(7.19)

(7.20)

7.3.2 State Occupancy Probability

Let島β(りbe the conditional state occupancy probability that X(りis in sもate B at time

poilltτon the condition that X(τ)was輌n state.4 at time p◎int zero, i.e.,

                   1『Aβ(τ)≡Pr{X(¢)=・召IX(0)=ノ1}

                 (ノ1,B∈{肌,.乙π, Rπ;↑λ=0,1,2,...}),        (7,21)

and Pレγπ(¢)≡P蹴。,㌢㌦(τ),花π(‡)≡瑞o,1}九(¢), and P&(老)≡Pジワro,Rπ(¢)be the state occu-

pancy probabilities that X(‘)is in states鵬, Lπ, and Rπat time point孟, respectively

   At五rst, we◎btai丑the following renewaユequa七ions with respect of Pピ九(£):

               1ヤπ(τ)=(7π*聯π,鬼(£),                            (7.22)

             P汐識(τ)=・一(λ・+θ)£+Q聴,。。*Q。ぷ・Pぽ。,聴(¢)

                      +Q耽,&・Q馬,阪・Pw 耽(£)

                      十(2肌,」Lπ*QLπ,Rπ*(2Rπ,鬼*んπ,阪(τ).         (7.23)

Then, the L-S t宝allsfOrm of P駆π(¢)is obtai蕊ed as

                 転(・)r、+ξ岩漂㌶)+y。)

                          れ ユ                        ・纂(  ¢激3+¢∂(5+銚)・   (7・24)

By iwerting(7.24), we have P彫π(¢)as

              Pwπ(重)…≡Pr{X(τ)=1阪}

                                 れ                   =Bπビ(λ・+θ+η)¢+Σ(B;,、e⊇+場eづ{¢)

                                をニ 

                     (7τ=・0, 1ハ2,...),                           (7.25)

Page 130: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

108  7.Sof乞ware A vaflabi1輌方Modelf且g wfεh Perfb㎜allce Degenera施η

where constant coef五cients Bπ, B;,i, and B』,‘are given by

                                   れ ユ                      ーθ(μ。一λバθ一η)n働

                                   ゴ=O               Bη=

              B;,‘=      。   π

                  (λ。+θ+η一・りH(・ゴー・∂H(yゴー・・∂

                             ゴ=o     ゴ=0                             ゴ ま

                  (乞=0, 1,2う ...,π),

                                    カ ユ                      (λπ十η一跳)(μバy∂H・ゴ防

              B元,‘    。 ゴ=:

                  (λπ十θ十η一一抗)H(防一跳)H(・ブy∂

                             ゴ=o     ゴ=0                             ゴヂう

                  (‘=0ハ 1, 2, ...ハπ)ラ

respectively. It is noted that

              ㌶㌫1)一_..〕}・

   Next, we obtain the following renewaユequaもions with respect of 1)」監(舌):

               P&(孟)=G。*H阪,R。*玩β。(‡),

             P尾,&(£)=・一μπ¢+鯉,碗・∬w徒・P」㌦,&(‘).

Fエom(7.30)and(7.31)ラthe L∫-S transfbrm of P」ち(¢)is obtained as

                転(・)÷(、+雛y。)・δ・(・)

                     -3δ。+、(・).

                      αμπ

H(¢ゴーλ。一θ一η)(y一λ。一θ一η)

ゴ=0

(7L=0, 1, 2, ...),

                 れ ユ   (λπ十η一陽)(μ。一・∂rl・」坊

                 ゴ=0

(7.26)

(7.27)

(7.28)

(7.29)

(7.30)

(7.31)

(7.32)

⑫旅蒙蒙§蒙ヌ萎ー∀診§菜多sー乏診zタ杢彰ー ーー・zーー多ー ーーーーー ーーーーーーー・ーー ーーラメzメ肝-肝×x蒙 ペーz杉M>κ診ーざ ぺ・ぷ ㎏シメーーぴ診Kぺ÷〆、ぺ㍉WMぴ彰×火ー◇窪冨εぷジーー※ざ昏wざ。ぺ,あぶジジ。メ※息ー帆^。》ーー葺s、ぶーぷぞー〉ー…ーー芯ぶz蒸肝罪ー亭ーーxΣど◇さ甲.※.。多づでづ「ーゴ.えシ〆…

Page 131: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                 7.3. So丘ware A・卿日abili砂A刀aZysi5    109

Then, we h訂e P&(£)as

                 馬π(τ)……三Pr{叉(¢)==馬}

                        1                      =    gπ+1(/) (7L=◎,1,2,...),             (7.33)

                       αμπ

where gπ(¢)denotes the probab丑ity density function of 5π, i.e. gπ(¢)≡dGπ(オ)/(1τ.

   Considering the stochastic process{γ(Z),τ≧0}representing the cumulative number

of faults corrected up to tilneちwe have七he fblowing equivalent relation:

        {γ(¢)=:π}⇔{X(τ)=凧}∪{X(¢)=Z}π}U{X(τ)=」Rπ},    (7.34)

Furthermore, sillce{γ(重),毒≧0}is a counting Pτocess,

                     {5π≦τ} 〈⇒ {γ(重)≧γ1},                   (7.35)

then,

               孔(舌)…≡…Pr{γ(ε)=π}

                   =Gπ(¢)-Gπ+1(‡)  (7τ=0, 1,2, ...).            (7.36)

Therefore, we have 1㌃π(Z)as

                PL九(‡)三…Pr{X(/)==1>π}

                    =G。(¢)-G。+、(¢)一聯。(¢)-P&(¢)

                      (ηL=0, 1,2,...).                         (7.37)

7.3.3 1nstantaneous Software Availability and Computation

       Software Availability

The following identical equation holds fbr arbitrary timeτ:

                                       Σ[識冗(¢)+」尻。(‘)+P&(¢)]=1.     (7.38)

                   π=O

   The instantaDeous software avajlabi1輌ty is defined as

                                               邸)≡Σ[P尻(¢)+P・。(Z)],      (7.39)

                         π=0

Page 132: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

110 7. Soflware A vaflabfli故Mo delfllg wコ’カヱ1 Pe1まbrmance Degellera右foヱ1

which represents the probability that the software system is operable at time poi丑t¢. Using

(7.38),we can describe.4(τ)as

                                                                     却)=1一ΣP馬(τ)

                                      π=o

                                 -・一£9・+・(¢).    (7.4・)

                                      π=o αμπ

It is丑oted that.4(τ)has no bearing on paΣametersθandη.

    蝕rthermore, the computation software availability[3,37,41]is de丘ned as

                                  

                        A。(¢)≡oΣ[P肌(重)+δ花。(¢)],     (7・41)

                                 π=O

which represents the expected value of the computation capacity of the system at time

polntτ.

7.4 Numerical Examples

Using the operational software availability model discussed above, we show numerical il-

lustrations fbr sof缶waτe availability/performance measurement and assessment.

    The instantaneous software amilabilities,.4(τ)》s in(7.40)and the computa七ion soft-

waτe availabi胱ies,ノ1c(舌),s in(7.41)for various perfect debugging rates,α,s, are shown in

Figs.7.2 and 7.3, respectivelyl From these五gures, we can observe that these qualltities

drop rapidly immediately after operation and gradually illc∫eases after. These tell us that

these measures can show unstableness of software performance in the eaΣ1y s七age of the op-

eration phase quantitatively These figuτes also indicate that the increase of the ce士tainty

of debug盛ng b血gs high software performance.

    .4,(り,s fbr various values ofδ, which∫epres銀ts the decreasing ratio. of the computa-

tion capacity, are shown in Fig.7.4. We can see that the so伽are performance bec◎mes

lower whenδis estimated smaler.

    .A。(孟),s for various vaユues ofηラwhich is the paτameter related with the holding tilne

of performance degeneration, are showll in Fig.7.5. This五gure mdicates that the software

perfbrmance remains lower with decreasingηsince smaユlerηmeans that the system te丑ds

to keep the degenerated operati◎nal state longer.

Page 133: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

74. Nume王fcal Examples 111

A@)0.9

0.85

0.8

0.75

0.7

0.650 100 200 300   400   500

    Time

600

α1.0    0.9

    0.8

    0.7

    0.6

700 800

F輌g.7.2.Dependence ofαoエ1.4(£)(D=0.1,☆=0.8, E=0.2,ア=0.9).

Page 134: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

112 7.Soflware A va10abflf方Modelmg w]伍Perfbma刀ce Dege丑eratio丑

Ac@)

0.85

0.8

O.75

0.7

0.650 100 200 300   400   500

    Time

600

1.0

0.9

0.8

0.7

0.6

700 800

Fig.7.3. Dep頭dence ofαon.4c(¢)(ヱ)=0.1,☆=0.8, E=◎.2,ア=0.9,θ=0.1,η=1.0,0=

       1.0,δ==0.5).

Page 135: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Ac@)0.9

0.85

0.8

0.75

0.7

0.65

○.6

74.Nume冠αd Examples 113

0 ユ00 200 300 400 500

δ0.9

   0.7

   0.5

   0.3

   0.1

600 700 800

Fig.7.4. Dependence ofδon Ac(£)(α=0.9,1)=0.1,☆=0.8, E=0.2,ア=0.9,θ=0.1,η=

     1.0,C=1.0).

Page 136: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

114 7.50鋤are Ava・’1abi1元{y Modeli皿g w・’統Peτfbrm皿ce Dege刀era加n

Ac@)0.75

O.7

0.65

0.6

0.55

0.50 100 20C 300   400   500

     Time

600 700 800

Fig.7.5. Depende丑ce ofηo丑.4c(り(α=0.9, D=0.1,ゐ=0.8, E=0.2,ア=0.9,

        1.0, δ二:=0.5).

θニ0.1,0=

7.5 Concluding Remarks

In this chapteτ, we have d輌scussed the software availability modeli皿g with twb difFere皿t

operatio丑al levels:one is the operational sta七e providing with full performance and the

other is providing with degenerated perfbrmance, desc∫ibing the softwaτe reliability growth

process. Several stochastic quantities for software reliability/performance measureln孤t

have bee丑derived froln this model. In particular, it is meaningful that a new performance

assesslne就measure foT software systems c皿sidering both reliability and computation has

been provided. FinaUy, theiτnumerical examples have be頭illustrated.

Page 137: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 8

Availability Modeling for

Hardware-Software System

8.1 Introduction

Rece丑七1y, hardware a丑d software components constitutiRg a computer system have been

designed not separately, but synchronously with considering each other. The design method

considering the trade-off betweell hardware and software components is called haτdware/

software co-design[30]. Hardware/software co-design(hereafteτTeferred to as co-design)is

n◎tanew concept, but it has received much attention since computer systems have grown

in size and complexity and both of hardware and software systelns have to be designed in

order to use the mutual lnaximum perfbrmances. The concept of co-design is also important

in system quality/perfbrmance measuτement and assessmen七

    Generally, haΣdware systems f姐due to wear out and/or deterioration and are re-

newed byΣepair or∫eplacement of faUed parts. Therefbre, it is often assumed that the

hardwaエe f泣1uτe-a丑d maintena皿ce-character輌st輌cs are皿ot concemed with the numbers of

failures and/or repair activities. O丑the other hand, software syste皿s fa丑due to the de-

fects or the mistakes latent in the software programs. A statement or a pa∫t of a statemel1七

in a program that causes a software faihre is called a software fault. In other words, a

softwaΣe fa」lure is de丘ned as a丑unacceptable departure from program operaもion caused by

asoftware fault(hereafter referred to as a fault)remaining i丑the software system. F田一

もhermore, the restoration ac尤ion fbr so我ware systems includes not only the cause analysis,

the data recovery, and the pΣogra皿reload but also the debugging activities fbr manifested

㍍ults. Then, the perfect debuggmg activity improves software reliability. Accordingly,

the software f面ure-and maintenance-characterisもics depend on the cumulative numbers

115

Page 138: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

116 8・ Ava」日ab輌1i砂Modeliヱ1g fbr 1工aτdwaτe-Sof6陥re 5夕s古em

of software failures and/or fault correctio丑s. S everal software availability models involving

software reliability growth have been proposed[19,21].

    In this chapter, we discuss an availability model considering hardware and software

systems simultaneously[5,6,12]. The system is assumed to collsist of one hardware

and one software subsyste皿s. The failure-occurrence pheno]【nena of the hardware and

the software subsystem are described by a constant and a geome廿ically decreasing hazard

rate, respectively The time-dependent behavior of the hardware-software syste皿(hereafter

refeTred to as a system), which alternates between the operational state(up state)that

asystem is operating regularly and the restoratio丑state(down state)that a system is

inoperable and restored, can be modeled by a Markov process[47L The description of

system availability modeling is discussed垣Section 8.2. Several stochastic quantities fbr

sys毛em perfOrmance measurement are derived in Section 8.3. Numerical illustrations fbr

system reliability/availability analysis and measurement are presented in Section 8.4.

8.2 Model Description

The fbllowing assumptions are made for availability modeling fbr the system:

A1. The system is down and starts to be restoエed as soon as a s◎ftware or hardware f泊1ure

    occuτs, and the system can not operate until the restoration action is complete.

A2. The restoration action fbr the software subsystem implies the debugging activity,

   which is perf◎rlned peτfbctly with probabilityα(0<α≦1)and impeτfectly with

   probabihty 6(=1一α). We cal1αthe peτfect debugging rate. One fault is corrected

   and removed from七he software subsyStem when the debugging activity is perfect.

A3. The next software failure-occurrellce and restoration time fbr the softwaτe subsystem,

    Wh斑πfaults have been corrected, fbllow exponential distributio丑s with means 1/λπ

   and 1/μπ, respectively

A4. The faaure time-interval a盤d the resもoratio丑time五)r the hardware subsystem follow

    exponential distributions with皿eans 1/θand 1/η, respectively

Page 139: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                                  8.2. Mode∫工)escヱ元P匠011    117

A5. The probability that two or more software or hardwaτe fa証ures occur simu1ねneously

     is negligible.

    Consider a stochastic p∫ocess{X(6),孟≧0}representing the state of the system at

tim.e pointτ. The state space of the process{X(τ),τ≧0}is de丘Red as fbllows:

Wが the system is operating,

璃:the system is inoperable due to a software failure and restoエed,

R募:the system輌s inoperable due to a hardware f誠hlre and restored,

whereπ=0,1,2,...de丑otes the cumulative number of corrected faults. A sample

behavior of the system is illustrated in Fig.8.1.

up

down

up

down

up

down

8   ,   ’   ,   1   ‘   ‘   1   ‘   【   t

1   1   ‘   l   l   l   ‘   ‘   l   l   l

,  ‘  t  l  l  ‘  ”  ‘  l  l

m恰声bsUS陀aW㎡aH

m恰声bsUS陀aW廿OS

TimeHF    SF     SF      HF

Fig.8.1. A sample behavioΣof haエdwaτe-software system.

Page 140: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

118 8, .A vaflabili句アModelj丑g fbr丑ardware-Soflware Sアs右em

    The descriptions ofλπandμπare given by

               λπ:=1)☆九  (η==0, 1, 2, ...;Z)>0,0<☆〈1),           (8.1)

               μπ=五)アπ  (π=0, 1,2, ...; 』ヲ>0,0<γ≦1),           (8.2)

respecもively where D and☆a士e the initial hazaτd rate and the decreasing ratio of the hazard

rate for the softwaTe subsystem, respectively and E andアare the initiahestoratioll rate

and the decreasing ratio of the restoratioII rate forもhe software subsystem, respectively.

The details ofλπandμπhave been discussed in Chapters 4 and 5.

    Let(g阜B(ア)(.A, B∈{Wπ,」R[, R募;?z=0,1,2,...})denote the one-step transitio丑

probability that砲er making a tra蕊sition into state A, the process{X(τ),¢≧0}makes a

transition into state B by timeア. The expressions for(2Aβθ}s are given as fOUows:

                     9硫(・)一θ㍍(・イ(θ+λ・)つ,  (8・3)

                     9噸)一θ』λ。(・-e-(θ+λ・)・),  (8・4)

                    (2」R……,w竺+1(7-)=α(1-e一μπτ),                       (8.5)

                     (2』zζ,夙(ア)=b(1-e一μ九ア),                       (8.6)

                     9碑,肌(ア)=1-・一ηア・        (8・7)

The sample state transition diagram of X(τ)is illustrated i丑Fig.8.2.

θ△τ

RH

η△τ

RH

η△τ

w    bμ1△τ

λ1△τ

  αμo△τ

RS RS

●    ●

αμ1△τ

θ△τ

w

η△τ

   わμ・△τ

λ。△τ

RH η+1

w

αμ’1△τ

η△τ

わμ・1+1△τ

   αμ1+1△τ

RS η+玉

Fig.8.2. A diagramma七ic represe五tation of sta七e transitiolls between X(£)>s fbr availability mod-

       e麺gfbr hardw碇e-so鋤are system.

Page 141: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                        8.3.Den’va亡fo丑ofξヶstem』)e㎡brmaηce Measures   119

8.3 Derivation of System Perfbrmance Measures

The availabi沮ty analysis of this model is identical to the software availab姐ty tnodeli丑g

discussed in Chapter 5 by changing the de五且ition of the state space of X(諺)from states

丑ミa丑d五巴of this chapter to states」R;and R《of Chapter 5, respective1)㌃

8.3.1 Distribution of the First Passage Time to the Speci丘ed

       Number of Corrected Faults

Let Sπ(π=1,2ハ_;50≡0)be the ra豆doln variableτepエesenting the time sp頭t in

correctingη, faults. Then, we obtain the distributiotl function fOr 5πas

               G三π(τ)…≡Pr{5三≦τ}

                       れ ユ

                   =1一Σ⊃(A弘e一吋+A㌻e一びパ+A弘e一綱)

                        ゼごむ

                     (η==1, 2, .。.;(Do(Z)…≡…1(重)),                     (8.8)

where一賜,一防, and一義are the disもinct roots of the fbllowi丑g third ordeT equation:

        53十(θ十η一トλε十μ∂32-←(θμε十ηλε十ημ‘十αλεμ6)3-Fαηλ元μi=0,   (8.9)

and constant coe伍cients/1;,乞, A…,元, and/1;元are give且by

                         れ ユ                 [・(η一勾]¶λゴμゴ

       場,、一。.ヱ 。.、ゴ=°  (τ=◎ハ 1, 2, ...,η一1),(8.10)

            賜H(⑳ゴー・∂H(防一・∂(・ゴー・∂

              ゴ=O      j=O              j≠輌

                         れ ユ                 [・(η一挑)]¶λゴμゴ

       嶋一_1 。.、」=°  (乞=0, 1, 2, ...,η一1),(8.11)

            批rl(賀ゴー抗)H(宇ψ)(¢ゴー銚)

              ゴ=o     ゴ=0              ゴ≠‘

                         カ ユ                 [・(η一・・)汀工λゴμゴ

       場一。.1 。.、ゴ=°  (‘=0,1,2,_,η一1),(8.12)

            右H(・テ・のH(・ゴづ)(yゴづ)

              ゴ=o     j=0              ゴ≠輌

Page 142: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

120    8. Ava輌1abfli砂Modeli12g fbr lilardware-Soflware 5ケsカem

respective1)たIt is noted that

                    れ エ

                    Σ(・4;,、+鴎、+・4隻,、)=1ぴ≧1)・    (8・13)

                    乞=O

Furthermore, E[5U and VaΣ[5π]are given by

                    E岡一署ぽ÷;),  (8・・4)

                   剛一曇(蕊÷ホ),  (8・・5)

respectively.

8.3.2 0perational State Occupancy Probability and System

       Availability

The operationaJ staもe occupancy probab迅ty, which is de丘ned as the probabiHty that X(り

is in state鵬at time pointτ, is obtailled as

                    珠(τ)≡三Pr{x(z)=尻}

                        一。;。9・+・(孟)+。λiμ。9;・・(¢)・  (8・・6)

where gπ(τ)is the probability density function of the random variable 5㍍and g;(τ)≡

dg。(τ)/∂τ.

    The instantaneous system availability is de丘ned aβ

                                                             A(τ)≡Σ亙(‘),         (8.17)

                                π=O

which represents the probabiity that the system is ope∫atillg at speci五ed time po輌nt 6.

Furthermoτe, the average system avaJlab通ty in the time interva1(0,¢l is de丘ned as

                         A-(オ)≡iρ(鋤,   (8・・8)

which represents the ratio of system’s operat輌ng time to the七ime interva1(0,¢]. Using

(8.16),we can describe(8.17)and(8.18)as

                     A(τ)一曇際)+瓢・  (8・19)

                   A⇒書ド鴛¢)+瓢],  (8・2・)

respectively

Page 143: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

8.4. 1Vume1元cal Exa1ヱ1Ples 121

8.4 Numerical Examples

Usi且g the system availab1Uty Inodel discussed above, we show numeエical illustrations foエ

systeln availability measurement alld assessme互t.

    The distribution魚皿c七ions of the丘rst passage time to the speci五ed numbeエof coτrected

faults, Gπ(£),s, i且(8.8)are showll in Fig.8.3 fbr various perfect debugging ra、tes,α, where

η=5,θ=0.01,η=1.0,D=0.1, E=0.5, andγ=0.9. We鎚see that the smaller

perfbct debugging rateαbecomes, the more di伍cult iもis to remove faults f士oln the system.

    The instantaneous system. availabilities, A(τ),s in(8.19)are shown in・Fig.8.4 fbr

variousα,s, whereθ=0.01,η=1.0,王)=0.01,た=0.8, E=◎.5, andア=0.9. System

availability lowers just afteτthe operation and(8.19)ca丑evaluate the degree of unstableness

of the sysもem in the early stage of the operation phase. This五gure shows that the higher

certainty of theτestoration acti◎n for伍e software subsystem becomes, the larger system

availability b ecomes.

    The depeRdence of the decreasing ratio of the restoration rate,ア, on/1(りis shown in

Fig.8.5, whereθ=0.01,η=1.0, D=0.01, k・=0.8, E=0.5, a丑dα=0.9. As shown in

Fig.8.5, in case ofア〉たaDd r〈為, system availability improves and decreases with the

lapse of time, respectively, a丑d i丑ca£e ofγ=た, this is constant. Then, the ratio ofアto

たcan be regarded as an index to de七e£mine whetherもhe systeln perfbrmance grows or not

and re且ects the degree of dif且cuRy of the system dynamic-quality improvement.

    The hazard rate fbr the next system failure whel1πfaults have beeII already corrected

is denoted asαπ=θ十λπ.ノ1(¢),s in case ofθ:D=5:1a丑dθ:1)=1:50n the condition

thatαo=θ十1)is the same value aτe shown in Fig.8.6, whereη=1.0,た=0.8, E=0.5,

r=0.9,andα=・0.9. Figuエe 8.6 shows as fOllows:In case of(i), system availability

is stable when the software debugging is perfbτmed enough and the hazard rate fOr the

software subsystem is low. In case of(且), though system avai1&bility is low in the early

stage of the operation phase, it increases with the lapse of time. The behavior shown in

Fig.8.6 is due to whether the system has much room fbr reliability growth or no尤. For

example,αo=0.06 fOr both of(i)a聡d(ii), butα10=0.0510 fbr(i)andα10==0.0154 fbr

(ii). Then,(ii)has more room fbr reliabi五ty growth than(i).

Page 144: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

122 8. .Avaflabfli砂Modeljη9五)r施rdware-So丘ware Systexn

G5@)

1

0.8

0.6

O.4

0.2

O 100 200 300 400

Fig.8.3. Depe丑dence ofαon Gπ(£)(η=5,θ=0.01,ηニ1.0, D=0.1,兎=0。8, E=0.5,

       ア=o.9).

Page 145: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

8.4. ヱvaヱ刀eヱゴcaJ動ζa111Ples 123

A@)

0.99

0.985

0.98

○.975

1.0

0 100  200  300 400 500 600 700 800

Fig.8.4. Dependence ofαon.4(¢)(θ=0.01,η=1.0, Z)=0.01,ゐ=0.8, E=0.5,γ=◎.9).

Page 146: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

124 8. A vailability Modeling for Hardware-Software System

A(t)

0.985

0.98 r=0.8

0.975

0.97 o 100 200 300 400 500 600 700 800

Time

Fig.8ふ Dependenceof r on A(t) (8 = 0.01,η= 1.0, D = 0.01, k = 0.8, E = 0.5,α= 0.9).

Page 147: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

8.5.Co丑cludlヱ1g Remark5 125

A@)

0.98

0.96

0.94

0.92

0.90 ユ00 200 300 400 500 600 700 800

Time

Fig.8.6. Dependence ofθ:Don∠4(¢)(η=1.0,髭=0.8, E=α5,ア=0.9,α=0.9).

8.5 Concluding Remarks

In this chapterラwe have developed a system a聡ilability model for a computer sysもem

which has one hardware and皿e software subsystem. The failure-occurrence phenomenon

for a so丑ware subsystem has been described by a geometτically decreasing hazard rate

and that fbr a haτdware subsystem by aエ モ盾獅唐狽≠獅煤@hazard rate. Several useful quantitative

measuτes for system peエfoτmance assessment have been derived. Numerical illustrations

for system availab輌lity measurelnent a丑d assessment have been also presented to show that

these measures are very usefu1長)r sysもem per最)r皿ance assessment.

Page 148: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 149: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

         Part III

Page 150: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 151: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 9

Software Safety Modeling Related to

Failure Occurrences

9.1 Introduction

It has been veエy hard to fbrecast the degree of hazardous effects on our social lives in

occurrence of accidents connected with colnputer systems since present-day life has been

highly infOrmation-oriented and computer systems have grown in size and complexity Re-

cently, failures and accidents due to defects and eエrors latent in software systems have beell

incτeasing remarkably Introducillg such defects aDd errors is inescapable since software

sysもems are developed by labor-intensive techniques a丑d source programs and docume泣s

are intellectual pτoducts. Therefbre, the concept of software engineering has been em-

phasized. Software eng桓eering aims to manage the software lifb-cycle comprehensively,

conside]註ng Productivity, quahty, c◎st, and delive∫y si皿ultaneous1)た In paτticular, great

importance has bee丑attached to quality management techniques among the software pro-

duction technology and methodology fbr the purpose of improving softwaTeτeliability, that

is, the characteristics that computer systems continue operating regularly without occur-

rence of faihres oll software systems[25,35,46,57,61].

    Both software safety and reliabi蹴y so㍍r te丑ded to be treated in the same concept.

H◎wever, software safety dif琵τs from softwareτeliab丑ity and is regarded as an important

quality characteristic since software systems have controlled safety-critical sysもems. Soft-

ware safety is defined as the lonoccurrence of u丑safe states in software systems. Software

systems in unsafe states lead to fatal accidents, mishaps, and hazaΣds. So貴ware reliability

is the attribuもe that software systems do not engellder software failures, whereas softwaτe

safety isもhe attribute that softwaτe systelns do not fall into hazardous conditions. A sofト

129

Page 152: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

130 9, Sofξware Safi}8y Modeヱiヱ1g Rela古ed to盟1ure Occulrre1五ce5

ware f亘1ure is de五ned as an unacceptable departuエe f士om program operation caused by

afault remaining輌n the softwaτe system. Accordingly, we can evaluate software safety

in terms of the probability that a software system does丑ot fa垣nto a state that induces

haza∫ds whether or not the system is perfbrming its intended functions[22,58].

    Fault Tree Analysis(FTA)and Failure Mode and EfEect Analysis(FMEA)are repre-

sentative qualitative safety-assessment techniques[15]. These aTe effective tools猿)エi丑ves-

tigation and veri五cation of reliability and safety in the speci五cation and the desig丑phase.

However, quantitative meth◎ds of software safety evaluaもio且in dynamic environmellt dur-

ing the testing Phε田e and the user operation in the field are seldom discussed.

    In this chapter, we discuss a quantitative safety assessme批model fbエsoftware systems

by assuming that the software failures occur血g in dynamic enviro皿nent are classi丘ed into

two types:o丑e leads to unsafe states and the other does not. This model describes the

relationship between the operating time and software safety/availability by taking the time

to restore to a丑operable state after a software failure-occurre丑ce(i.e. the debugging time)

into consideratio丑[50]. This model is formulated as a Markov process[47]and the metrics

of software safety and availab斑ty are derived. Finally, numerical examples fbr software

safety assessment usi丑g this model are provided.

9.2 Model Description

First, we describe the process in which a system is restored to an operable sもate afte∫

asoftware faaure-occurrence. In the case wheτe a softwaτe抗ilure occuTs and a system

falls into an unsafe state, an actio蕊to avoid aD unsafe state is{irst pe士formed and then a

restoratio且action is perfOrmed so that a system operates regularly OII the other hand,

if a system does not fall into an ullsafe state, only a restoration action is performed. The

fbllowing assumptions are made fbr software safety/availability assessme双t modeling:

A1. A system d◎es not fa』1 into any unsafe s施tes when the system is operating. If a

    software failure occurs, a system falls into an unsafe state with probabaityρ1(0<

    ρ1〈1),and does not fall into an unsafe state with probability勉(=1一ρ1).

A2. Theエestoration actioll i丑cludes the debugging activity alld a fault causing a software

   ねUu壬e is co∬ected and removed fごom a system with a perfect debuggmg activity

Page 153: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                               9,2. Mode1工)esαゴp古fo刀    131

    Adebugging activity is peエfbτmed perfectly with probabilityα(0<α≦1), while

    imperfectly with probability 6(=1一α). We ca11αthe perfbct debugging rate.

A3. Whenπ抗ults have been corrected, the time to the next so丑ware failure-occurエence

    and the restoration tilne follow exponential distributio丑s with means 1/λπand 1/μπ,

    respectively

A4. The time interval of an action to avoid an unsafe state follows an exponential distri-

    butiOII with mean 1/γ

A5. The probability that two oτmore software failures occur simultalleously is Ilegligible.

We intr◎duce a stochastic process{X(τ),τ≧0}to represeIlt the states of a software

system in dy丑amic enviτのment[47]. The state space of process{叉(¢),τ≧0}is de五丑ed

as fbllows:

阪:七he system is operating regularly and safely,

乙㌦:the system is in an unsafe state,

Rπ:the system is restored,

whereη=0,1,2,_d斑otes the cumulative number of corτected faults.

    From assumption A1, if a software鋤lure occurs in{X(諺)=泥}, then

                      x(¢)一{=::1嘉1;;:; (9・)

Furthermore丘om assumpもion A2, if a restoration action is complete i丑{X(舌)=Rπ}, then

                     x(£)一{蕊霊二lill㌶. (92)

    The descriptions ofλπandμπare given by

                λπ:=D☆π  (7λ=0, 1, 2, ...; Z)>0,0<」C<1),           (9.3)

                μπ==Eγπ  (γL:=0, 1,2, ...; 五)>0,0〈γ・≦1),           (9.4)

Page 154: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

132 9. Sof加γaτe Safb方Modeljllg Rela古ed‡01転1 ure()ccu1Tence5

τespectively where D and為are the initial hazard rate and the decエeasing ratio◎f the

hazard rate, respectively and五l andアare the initial restoration rate a丑d the decreasing

ratio of the restoration士ate, respectively. The details ofλπandμπhave bee丑discussed in

ChapteΣs 4 a豆d 5.

    Let QAβ(7)(ノ1, B∈{Wれ,τ㌦, Rπ;π=0,1,2ラ...})de丑ote the one-step transitio且

pτobability that X(老)makes a tτansition into state B during time interva1(0,丁]after X(¢)

was ill state.A at time zero. The expressions fbr QAβ(ア)ハs are given as follows:

Q氾,硯(・)=ρ、(1-・一λつ,

Q阪,R。(づぴ(1-・一λ・つ,

Qσ。,&ω=1-e-7ア,

0&,阪、(ア)=α(1-e一μπア),

Q&,艦θ=6(1-e一μ冗τ)・

(9.5)

(9.6)

(9.7)

(9.8)

(9.9)

    Figure 9.1

process・

illustrates the sample state transition diagram of X(りfOrmillg a Markov

ρ1λo△τ

      ρ2λo△τ

    隅

γ③τ

 ρ1λ1△

αμo△τ

R

拠τ

τぱ

●   ■

ρ1λ・△τ

猶τ

w η+1

ρ1λη+王△

・μ・△τ、ρ・ふ・1△

R q副蛤τ

αμ・+1△τ

R 刀+1

Fig.9.1. A diagrammatic represe江tat三〇n of state七ra丑siti◎丑s be七ween X(¢),s fbr so銑ware safe七y

       エnodelixlg rela七ed to faHure o ccurre丑ces.

Page 155: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                            9.3. Soflware Safe敏/Ava1日abiヱi砂A皿alysis    133

9.3 Software Safbty/Availability Analysis

9.3.1 Distribution of the First Passage Time to the Speci丘ed

       Number of Corrected Faults

Let Gちπ(舌)denote the probability thatπfaults are corrected duエi丑g tilne inもerva1(0,司on

the condition that‘(<7L〉鈷ults have already been corエected at time zero. Then, we obtain

the五)110wing rellewal equations from Fig.9.1:

                  G‘,。(¢)=職,盈、*Q&,泥.、*G乞+・,。(£)

                        +亙泥,&*Q馬,泥*Gi,。(τ)

                亙泥,R、(オ)=娠,R、(¢)+Q鵬,防*Qぴ,阜(τ)

                        (Z:=0, 1,2, ...,7τ一1)

wheエe*d頭otes a Stieltjes convolut輌on.

(9.10)

   Substituting the Laplace-Stieltjes(L-S)transforms of(9.5)一(9.9)into that of(9.10)

yields

       亀・(・)一(、+嫌(蒜≒、)己…(・)(τ一・,・,2,…,一・),(9…)

where一賜,一跳, and一石are the distinct roots of the fbllowing third order equation:

        ・3+(λ《十μ‘十7)・2+(λ、μ、+μ{7+7λ、一伽,λψ∂・+αλ、μ汀=0.

Solving(9.11)recursively, we obtain the L-S transfor皿of Go,η(重)as

                6鋤(・)一冨(諜(㌘㌶。∂

                     一署(:篶i+善li+欝ii),

wh・・ec…t・nt…伍・i・・t・鴫A三,、,・・dA乳、・・egi…by

                          カ ユ                           H・λゴμゴ(7一ρ2賜)

                .41.、=     ゴ=o

                 π,τ                       れ ユ        れ ユ

                     陽H(・r勾H(yゴー¢づ(・ゴー・づ

                       ゴ=o      ゴ=0                       ゴギ

                      (Z:=0, 1,2, ...,η一1),

(9.12)

(9.13)

(9.14)

Page 156: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

134   9. Sof㎞are Sa允ξアModeli皿g Relatedカ〇五垣1ure Occu1Te刀ces

                            カ ユ                            H・λ元μゴ(7一ρ2抗)

                 .42.=     戊=o

                        れ ユ       れ ユ                   ?じ,⑱

                      虹Ibゴー銚)H(・ゴー批)(・ゴー銚)

                        ゴ=o     元=0                        ゴヂ

                       (‘=0, 1,2, ...,π一1),                   (9.15)

                            れ エ

                            H・λゴμ」(7-P2ろ)

                 ∠43.=    」=o

                        れ ヱ        れ ユ                  π,τ

                      麹H(・ゴー・∂rI(ωゴー・、)(駒一・∂

                        ゴ=o     ゴ=0                        ゴヂぎ

                       (壱==0, 1,2, ...,π一1),                   (9.16)

                       ロ

respectively and we postulate H・=1. It is noted that

                      l;1

                れ ユ

                 Σ(・4;,,+・4膓+鴎,)=1@=1,2,…)・   (9・17)

                 る=O

Inverting(9.13)and rewriting Go,π(¢)錨Gπ(司, we obt泣n七he distribution function of the

randoln vaτiable 5九(7z=1,2,...;So≡0)repエesenti丑g the time to be spent in coτrecting

πfaults as

            Gπ(重)…≡Pr{5㌦≦£}

                     カ ユ

                 =1一Σ(A㌧e一吋→一・4;,、e-y4→-Aえ,、ビzつ

                     ゼげり

                   (7λ=1,2, ...;Go(¢)…≡≡1(τ)(unit fUnction)),        (9.18)

Furthe壬moエe, the』 ??垂?モ狽≠皮qon El5π]and the variance Var[5η]are givell by

                   E岡一岩(1111ら一十一十一一一一賜yi石γ),  (9・・9)

                  W・閣一曇(1+1+LP22コC~ 抗2 Z~ 72),  (9・2・)

respectively.

9.3.2 State Occupancy Probability

Here, we derive the probab姐ties that X(¢)is inもhe respective states.

Page 157: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

9,3・S・鋤are Saf鋤/Am元1abf1均・Analysfs 135

    Let翔β(舌)be the conditional p壬obability that X(孟)is in state/1 at time point孟o丑

the condition that X(重)was in state B at ti皿e point zero, i.e.

                    1『鳥β(τ)≡Pr{X(¢)=BlX(◎)=・ノ1}

                 (ノ1,1ヲ∈{泥,τ㌦,Rπ;η=0,1,2,..,}),        (9.21)

and leも」Pwπ(τ)≡P塀。,耽(¢),厄π(τ)…≡P卯。,Rπ(∋, and Pヒτπ(重)…≡P慨o,σπ(♂)denote the state

occupancy probabilities that X(τ)is in states碗, Rπ, a丑d~九at time pointちrespec七ively

    I丑itially, we obtain the fbllowing renewal equati◎ns with respect to命九(Z):

                 砺π(£):=Gπ*昂π,w三(τ),                            (9.22)

               Pw。,肪(£)・一λ・‘+H阪,R。*Q馬,阪・P塀訊(¢).   (9.23)

Fyom(9.23), the L,-S transfo士m of Pwπ,碗(f)is堅ve丑by

                 転(・)一(、+3誌)㍍2。。〉・  (9・24)

Substituting(9.24)into the L-S tτa鵬fo壬m of(9.22)yields

                                   れ ユ                       ・(3十γ)(・+μ。)n・λ、μ、(ρ・5+の

               玩(・)= π  ‘=°

                          rl(5十陽)(・+跳)(・+・の

                          ゼニむ

                     一昆(欝+嘉+三雲〕, (9・25)

wh・・e c皿・t・nt・・e伍・i・・t・B毒,場, and場a・e gi・・n by

                                   れ ユ

                      (7-⇒(μ。一・∂H・λゴμゴ(7一ρ・叫

                 B;, π  。ゴ=°

                        H(・ゴー賜)H(y元一・・∂(・ゴー¢∂

                        ゴ=o      ゴ=0                        ゴヂベ

                       (‘:=0, 1,2, ...,?1),                        (9.26)

                                  れ ユ

                      (γ一抗)(μゲy・)H・λ」μゴ(7一ρ・跳)

                 B元, π  。ゴ=°

                        H(yゴー跳)H(・」一銚)(・ゴーy∂

                        5=o     ゴ=0                        ゴ≠元

Page 158: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

136    9. Soj艶wale Safε毒y Mode五ng Related to Ea元1ure Occu1Tences

                        (乞=0, 1, 2, ...,7の,                        (9.27)

                                    π一1

                       (7-・∂(μ。一勾H・λゴμゴ(7一ρ・・∂

                 B㌻=  π    九ゴ=o        ,

                         1(zゴーz∂H(¢」-z∂(防一z∂

                         ゴ=o     ゴ=o                         ゴ≠元

                        (‘:=0, 1,2, ._,η),                        (9.28)

respectively InveTting(9.25), we have the state occupancy probability that X(¢)is ill state

慨at time point f as

                 P巧π(りii≡Pr{叉(Z)=1肪}

                         れ                      =Σ[B;,、e-¢パ+B三,、e一鱗‘+Bミ,、eづ]

                        ε=0

                         (7L=0, 1,2, ...).                          (9.29)

It is n◎ted that

                司,o十Bぎ,o十B8,0=1

                 れ                Σ(馬+嚥+Bり=o(η=1,2,…)

                i=O

    F◎110wing steps similar to those used in古e derivation of P彫π(τ),

10wi丑g renewal equatioエ1s wiもhτespect to pR九(¢):

                 P再(f)=Gπ*丑玩,R九*P&,R九(τ〉,

         (9.30)

we obtain the fo1.

                P」㌦,&(‡)=e一μ九z+肱濫・丑艦,&・P&,塩(¢).

F壬om(9.31)and(9.32), the L-S transfOrm of pRπ(¢)is give且by

                丘(・)一三.・(、+笥讐㍍ξ≒)・δ・(・)

                        3   ~                      =   ・Gπ+1(5).

                       αμπ

Iwerting(9.33),we have the state occupancy probability that X(τ)is in sもate Rπ

polntτas

                       P阜(£)≡Pr{X(り=・1㌦}

                                1                             =   ・9π+1(τ)

                              αμπ

                              (π:=0, 1,2,._),

(9・31)

(9.32)

(9.33)

at time

(9.34)

Page 159: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                                9.3. Soflware Safヒ}砂/AL vaflabiヱfCアA丑aZysis    137

where gπ(τ)denotes the probability density function of 5πi.e. gπ(‘)≡≡∂G!π(¢)/(1孟.

    Let{γ(¢),¢≧0}denote the stochastic process representing七he cumulative numbeT

of faults coτrected perfectly up to time舌. Then, we obtainもhe followi丑g equivalent relation:

          {y(舌)=7λ} ⇔  {X(重)==蹴}∪{X(舌)=塩}∪{X(τ)=:L㌦}.     (9.35)

Furthermore, since{y(τ), f≧0}is a coullt輌ng p∫ocess, we aユso obtain the fbUowing

eqUiValent relatiOn:

                        {5π≦重} ⇔ {γ(τ)≧?1}.                   (9.36)

Froln(9.18)and(9.36), the probabilityもhatηl faults are corrected up to timeオis given by

                 珠(りi≡Pr{γ(‘)=:γ乙}

                      :=Gπ(£)一(穿π+1(τ)  (η=0, 1,2, ...).             (9.37)

Therefore, we have the state occupancy probability thaポX(¢)is in sta七e L㌦at time point

Zas

         君ア九(f)≡≡Pr{X(舌)=乙㌦}

               =(}⑳(諺)-Gπ+1(¢)-P阪(り一2『Rπ(τ)  (γL=0ラ 1,2, ...),     (9.38)

since{X(¢)=仇},{X(オ)=Rπ}, and{X(舌)=τ㌦}are mutually exclusive・

9.3.3 SofXware Sa£ety

The following equation holds for arbitrary time point¢:

                      

                    Σ[P顧(ま)十P&(¢)十Pじ。(τ)1=1.      (9.39)

                    π=O

In this chapter, the so我waτe safety is defined as伍e probability that a system does not fall

illto a丑y ullsafe states at time pointτand given by

                               

                        5(♂)≡Σ[P肌(¢)+P&(¢)]・     (9・40)

                             π=O

On the other hand, the software unsafety is defiIIed as the probability that a system fa且s

into unsafe states at tilne point£and give丑by

                                                                σ(τ)三Σ砂。(重).        (9.41)

                                  π=0

Page 160: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

138 9. Sof㌃ware Safb方Mo deljllg Rela古ed右o斑1uτe()cc!ヱrτence5

From(9.4◎),(9.41)call be expressed by

σ(τ)=1-3(t>

               =1一Σ[P耽(¢)+P&(τ)]・

         π=0

(9.42)

9。3.4 1nstantaneous S oftware Availability

From this mode1, we can aユso derive a software availability assessment Ineasure. That is,

the mstant鋤eous software availability de五ned as the pτobability that a system is operating

Σegularly at ti皿e point老is given by

                                     

                             A(τ)≡ΣP阪(¢).      (9・43)

                                   π=0

9.4 Numerical Examples

We o飽r several numerical examples拓r so丘ware assessment based on the stochastic model

discussed above.

    Figures 9.2 a丑d 9.3 represent the softwa∫e safety in(9.40)and the instantaneous soft-

ware availab正ty in(9.43)負)∫various values ofρ1 denoting the probabi五ty that a system

垣1s into an unsafe state in a software failuτe-occuエ士en.ce, respectively These figures in-

dicate that the software safety孤d availabili七y drop rapidly immediately after operation.

This meεLns that system perfbrmance is uns毛able in the early stage of the operatio丑phase.

These五gures also suggest that a system has higher availab正ty alld safety with decΣeasing

p1. Figures 9.4徽d 9.5 show the softwaエe safbty and the instantaneous software a聡ilability

fbr various values ofγAs these figures indicate, short飽i丑g the action tim.e to avoid all

u丑safe state raises system safety a丑d ava且ability

Page 161: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

9.4, Numerical Exa111Ples 139

8@)

 1

0.995

0.99

0.985

0.98

0.9750 ユOO 200 300 400 500

Fig.9.2. Depeユde丑ce of忽10n software safety 5(¢)(.Z)ニ0.1, X=0.8, E=1.0,ア=0.9,α=

      0.9, γ=1.5).

Page 162: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

140 9.So伽are Sa琵{y Mode五ng Relaεedτo斑1ure Occurrence5

A(り

0.88

0.86

0.84

0.820 ユ00 200 300 400 500

Fig.9.3. Dependence of pl on i丑staユtaneous software avaUab三五ty.4(老)(D=0.1,☆=0.8,1ワ=

       1.0, ア=0.9, α=0.9, 7=1.5).

Page 163: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

9.4.Nume亘cal Example5 141

5@)

 1

0.995

0.99

0.985

0.98

0.975

0.97O 100 200    300

   Time

400 500

Fig.9.4. Depende丑ce of 70且so丘ware sa£ety 5(孟)(D=0.1,兎=0.8,1ワ=1.0,ア=0.9,ρ1=

     0.3,α=0.9).

Page 164: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

142 9.Sof6ware Sa蹴γMode五ng Re]ated 60斑]ure Occuτrences

A@)0.88

0.86

0.84

0.820 100 200    300

    Time400 500

Fig.9.5. Depen(1ence ofッon insta】式a丑eous softwaエe av頑abili七y A(毒)(1)=0.1,

        1.0, ア=0.9,ρ1==0.3, α=0.9).

た==0.8,E=

9.5 Concluding Remarks

In this chapteτ, we have proposed a qua丑titative software safety assessment model,品king

notice of whether or not software failure-occurrences・lead to unsafe states. The stochastic

beha亘or of the system i丑dynamic enviro且meRt has been descτibed by a Markov process.

The softwaエe safety and ava丑ability met士ics have been deΣived fエom this model and enabled

us to evaluate quantitative software safety as well as qualitative analyses so far[581. In

particular, it is very meaningful that quantitative evaluatio且techniques for so我ware avai1一

Page 165: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

9.5. (元011Cludfllg Re111alrkS 143

ability measurement have been correlated with software safetyラwhich is the attribute of

nonoccurτence of catastrophic conseque丑ces. This model has hinted at the possibi五ty of es-

tablishing total evaluation techniques for software perfbrmance assessment. Furthermore,

numerical examples of software safety/ava丑ability measurement have be飽pres斑t ed.

Page 166: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 167: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 10

Software Reliabi胱y/Availability

Modeling with Safety

10.1 Introduction

Software reliability is oDe of the most impo抽ant qua五ty cha丈acteエistics a丑d its evahatioll

methods have been much discussed[43]. A mathemat輌cal model for software reliability

measurement is called a software reliability growth model which describes a software fault-

detection or a so我ware fi亘1u£e-occurrence phenomeDon in a dynamic enviro丑ment such as

もhe testing phase of software development and the actual operation phase. A software

failure is defined as an unacceptable depaTture from program operation caused by a fault

relnainiユg in the software system.

    The notion of software safety begins being distinct f士om that of software reliability

and being regarded as a丑i皿portant quality characterisもic since software systems have con-

trolled safety-critical syste王ns such as nuclear power ge丑eτation systems, defe丑se systems,

vehicle control syste]〔ns, and s◎on. Software reliab撒ty is the attribute that software sys-

tems do丑ot incu壬so我ware failures, while software safety is the attribute that software

systems do not fall into hazardous condiもions whether or not the syste皿s are perfbrm-

mg intended functions[221. Accordingly, software failure-occuτrences do not aユways cause

the proble皿s related to safety, and so丘ware systems functioning in accordance with the

specifications do Rot always ensure safety There exist Fault Tree ADa戊ysis(FTA)and

Failure Mode and Ef』ct Analysis(FMEA)in quaユitative techniques for evaluating a丑d as-

sessing softwa士e safety[15]. But safety-c亘tical systems have many restrictions conceming

“time”and there is a limitation to perfbrm dynalnic analyses with FTA and FMEA. Any

quantitative methods of software safety evaluation i丑dy丑amic enviτonments are scarcely

145

Page 168: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

146 ヱ0,5・伽are Re塩bf1伎y/Ava・’1ab茄{y M・delmg m’th Saf助・

discussed. h the preceding chapter, we have developed the quanti七ative safety assessment

model describing捷e relationship b etween software failure-occurre丑ces and safety

    hthis chapteτ, we develop two st◎chastic software safety assessment皿odels based

on the models discussed in Chapters 2 and 4:the software re五ability assessment model

with safety and the availabi五ty-i且tensive safeもy assessment model. Our attention in this

chapter is directed to the event that the system causes hazardous co丑ditio旦s randgmly in

operation, not that the system may fall into an unsafe state when the sys七em is down due

to software faUure-occurrellce. These two models are fomlulated by Markov processes[47]

to describe the time-depende丑t behaviors of the software system,もaking into accoullt the

software reliability growth process. These models c鋤provide the metrics of software safety

de五ned as the probabihty that the system does not faU into hazardous states at a speci丘ed

time point. Numerical illustrations are presented to show that these models are useful fbr

s・伽are safety/reliab血ty measuremenもand assessment.

10.2 Software Reliability Assessment Model with

Safbty

10.2.1Model Description

Refe∬桓g to the model discussed in Chapter 2, we give the fbllowing assumptioRs to con-

st斑ctもhe software reliability assessment model with saf壱ty taki丑g notice of only operational

states:

A1. When the so飾are system is opeτating, the holding times of the sa允and the unsafe

    sta、te fOllow exponential distτibutions with means 1/θand 1/η, respective1)㌧

A2. A debugging activity is perfbrmed when a software faHure occ碇s. Debugging ac-

    tivities are perfect with probabilityα(0<α≦1), while imperfect with probability

    6(=1一α).We callαthe perfect debuggiDg rate.

A3. Software reliability growth occurs in case of perfect debugging. The time i抽erval

    betwee丑software failure-occurrences fOllows an exponential distribution with mean

    l/λπ,whereη=0,1,2,_denotes the cumulative number of corrected faults.

Page 169: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ0.2.50f乞ware Re五abfli砂.Assessme丑τModel w1’カh Safe砂 147

A4. The probability that two or more software f面ures occur simultaneously is neg玉igible.

A5. Only o丑e fault is coτrected a丑d removed f士oln the systeln per one activity of perfect

    debugg鎗g. Debugging activities perform in the safe condition and the debugg誼g

   time is not considered.

    C…id・・a・t・・h・・ti・p・・cess{X(重い≧0}・ep・e・e・ti・g th・・t・t・・f th・,s・鋼・・e

system at time pointτ. The state space of{X(¢),¢≧0}is de五11ed as fbllows[47]:

Wπ:the syste皿is operating safelyl

U竺:the SyStem fallS intO the UnSa允State.

    From assumption A2, when the next software failure occurs

{x(¢)=:硯},

                    x(τ)一{巖1蕊麗}ll鶏.

    The description ofλπis given by

in  {X(‘) :=  W71} or

λπ==ヱ:)ゐπ  (η=0, 1, 2, ...; 1フ>0, 0<えく1),

(10.1)

(10.2)

where D and瓦are the initial hazard rate and the decreasing ratio of the hazard rate,

respectively(see Section 2.2).

    In the precediRg chapter, we have developed the model assuming the siもuati皿where

software faihre-occurrences may lead to u丑safe states and the system i裁operation does not

抗11into any u且safe states. O丑the other hand, in this chapteτwe consider that the system

may induce unsafe states in operation. Furthermore, we consider that the occurr飽ces of

the software failure and the unsafe conditioIls are independent mutually In fact, some

faults which cause software failures may be those iR connection with safety, and debugging

such faults Inay contribute to the improvement◎f software safety Howeveエ, debugging

activities are to correct the program so that the system functions in accordance with the

speci6cations alld do not ajm at the improvement of software safety Therefore, we assume

that para皿eteτsθandη, which are related to software safety, are constant regardless of

the software reliability growth pTocess.

Page 170: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

148 ヱ0.S・flware Re塩bf1均ソAv謝abfW M・d己丑g m“古五Safb方

    Let (OAβ(γ) (/1, B ∈ {Wπ, 乙㌦;π = 0,1,2,...})de丑ote the one-step tra丑sitio丑

probabilityもhat after making a transition into state.A, the process{X(オ),τ≧0}makes a

transition into state B by timeア. The expressions五)r QA,B(丁),s are give丑as fbllows:

                      Q鳳(・)一λ三θ[1-・一(㌧当,    (10・3)

                    Q耽臨・(・)一λ芸θ[1イ(短+θ戸輻     (10・4)

                      娠(・)一λ芸θ巨イ(㌔+θ戸],  (…5)

                     ・一・(・)一λ芸η[・イ(㌔・・戸],  (…6)

                      9…(・)一λ1≧η[・イ(㌔・・戸],  (…7)

                      蹴(・)一λ。三η[・イ(λ計η)ア1,  (…8)

where Qσπ,肌(γ)denotes the case wheTe a so銑ware failure occurs and debugging is imper一

允cちwhereas(2乱,wπ(ア)denotes the case where the system returns to the safe state befoエe

asoftware failure occurs.

Fig,10.1.

The sample state transitioD diagram of X(亡)is illustrated in

Page 171: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ0.2. Sof㎞are Reヱ宝abilf砂A55ess111e11εModeヱwi¢115afご砂 149

θ凶τ

●λo△τ

αλo△τ

bλo△τ

αλo△τ

W ゐλ1ムτ

αλ1△τ

わλo△τ

αλo△τ

w ●λ1△τ

αλ1△τ

わλ2△τ

αλ2△τ

w

η△τ

η△τ

η△τ

η△τ

●     ●     ●

 ■

  ■

Fig.10.1. A(肱ロa㎜a七ic士ep士eseぬti・n・f s七a七eもτansiti・ns be七ween X(£)’s f。r the s・ftw蹴e

     reHabi狙七y品SeSSment mOde1 With Safe七y

Page 172: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

150    ユ0. Sα島ware Re五abili奴/A vailabflf砂Mo de五ng w1’亡力Safb方

10.2.2Derivation of Sa丘ty/Re五abi砒y Measures

Distribution of the First Passage Time to a Spec誼ed Number of Corrected

Faults

Let 5π(π=1,2,_;50…≡0)be the random variable representing七he 6rst passage time to

state碗, in othe士words the time spellt in correctingπfaults, and Gπ(¢)beもhe distribution

function of 5π。 Furthermore,1et G‘,π(‘)be the distribution function associated with the

P・・b・b正ty th・tηf・・lt・are c・・rect・d i鋤・tim・i・t・・val(0,τ]・・the c・・diti・n th・t‘

品ults have already been cor’ected at time zero. Then, we obtain the fbllowing renewal

    ヂequat10丑:

            G‘,π(τ)=(2隅晃*G《,π(‡)十Qw≧,σ≧*(臓,慨*G《,π(z)

                    十Qw≧,σi*Qひ凧*Gi,π(¢)十(2慨,慨+、*G砕1,π(¢)

                    十(2慨,[互*Qσ元,ぽ÷、*G斗1,π(¢)

                       (τ:=0, 1, 2, ..., η一1).                      (10.9)

ApPlying the Laplace-Stieltjes(L-S)transforms[421 to(10.9)recursively, we obtain the

L-Stransform of Gπ(諺)as

                         ㌫(・)一亘、芸λ、

                              一曇㌢芸λ、,     (・・…)

where

                 A;≡1

                 忠一宴λ、≧λ、         (・・.・・)

                     」≠{

                 (7τ:=2, 3, _.;i=0, 1, 2, ...,7τ一1)

By illvertillg(10.10), we have the distribution function of the丘rst passage time whenπ

faults are corrected:

               Gπ(オ)≡Pr{5π≦τ}

                     π一1                   =Σ環[1-e一αλヨ

                     Z=0

               (¢≧0;π:=1,2, ...;Go(τ)三≡1(¢)(u丑it fucti◎n)),        (10.12)

Page 173: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

10.2. 50f㎞are ReヱfabiヱiσAssessヱ11e11£Model w☆h Saf壱方 151

Equation(10.12)is identical to the result obtained in Chapter 2 and has no bearing on

parametersθandη, which are related to safety.

    Fuエthermore, the mea丑and the variance of 5πare give丑by

                                   π一11

                             E岡=蔦。λ㌧    (1°・13)

                           W・岡一曇(。;∂,,  (・…4)

respectively

State Occupancy Probabi五ty and So我ware Safety Metrics

Let pAβ(¢)be the conditional state occupancy probability that the system is in state B

at time poi互tオon the conditio且thaもthe system was in state.4 at time point zero, i.e.

                      君4β(舌)≡Pr{X(¢)==1ヲIX(0)=∠4}

                    (ノ1,B∈{Wπ,硯;7葛=0,1,2,...}),         (10.15)

a丑dit is denoted that P夙(重)≡Pw。,阪(オ)and巳π(Z)≡P凧),広(重). Th斑, we obtain the

fbllowing renewaユe(1uations:

                    P耽(重)=G。*昂。,阪(£),        (10.16)

                  P艦,阪(‡)=・一(λ・+θ)¢+0鬼,夙・P夙,w。(£)

                            +Q肌,孔*Q臨,耽・P肌,肌(τ)

                            →一(2阪,τ㌦*(2芝τπ,予レ三*1⊇顧,玩(¢).            (10.17)

By applying the L-S transforms to(10.16)and(10.17), we obtain the L・・S transfbrm of

P尻(孟)as

                玩(・)一(譜吉鵠。λ。)誌λジ (1…8)

By inverting(10.18), we have P耽(τ)as

                    P肌(τ)…≡Pτ{X(f)=肌}

                                          れ                          =Bπe-(λ・+θ+η)‘+ΣBr・一αλパ

                                         ε=0

                            (γL=0, 1,2, ...),                      (10.19)

Page 174: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

152    10. Soflware Reliabflfウ/AγaHabflj晦γMo de1元11g w]右」1 Safe敬

where constant coe伍cients Bπand Bζare given by

                              れ ユ                            ーθrl・λゴ

                              ゴ=O                   Bπ=                        れ                        H(・λゴーλバθ一η)

                       ゴ=0

                       (↑z=0, 1, 2, ...),                        (10.20)

                                     れ ユ

                           (λ。+η一・λ∂Hλ」

                   理=      ;=°

                       (λ。+θ+η一・λ∂rl(λゴーλ・)

                                     狸

                       (τ=:0, 1,2, _.,?z),                      (10.21)

                       ユ    む

・e・pecti・・1y,・nd w・p・・t・1・t・H・=H・=1. lt i・n・t・d th・t

                      ゴ=0  ゴ=o                           ゴ≠o

                   際。_.〕}・ (・α22)

   The fbllowing equation holds fbr arbitrary time point¢:

                                                Σ[Pw。(¢)十蹴(¢)]=1.      (10.23)

                       π=O

   In this section, the software safety is defined as

                                                         邸)≡ΣPw。(孟),      (1◎.24)

                               π=O

which represents the probability that the system does not fall into any unsafe states at

time pointτ. The software unsafety is defined as

                                                         σ、(‡)≡Σ転(り,      (1α25)

                               π=O

which repres斑ts the pr◎bability that the system falls into unsafe states at time point¢.

Using(10.23), we get

                        σ、(舌)=1-5・(τ)

                                                              ニ1一ΣPw。(¢).      (10.26)

                                π=0

Page 175: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ0.3.Aw肱bjljεy一血古ens元ve Safε砂Assessment Mode1 153

Software ReUabi1輌ty and MTBSF

Let X∫(1=1,2,_)be the random variable representing the time intervaユbetween

the(1-1)-st a丑d the I-th software f誠ure-occurτe丑ces. Then, the software reliability, i.e,

Pr{X∫〉コg}and the mean time between so我ware failures(MTBSF)are given by the same

results obtained in Section 2.3.4, i.e.

                      R1(¢)≡Pr{X~〉ぽ}

                           一曇(Z二1)・・6・一・一ふ・,  (…27)

                           E昨(α/ん+6  D)~-1,   (・・’28)

・e・pecti・・1y wh・・e(:1)≡(Z-・)!/[(~一・一り1‘!]d・n・t・・abi…i・1…伍・i・・t・丑1(・)・・d

E[X~]also have no bearing on parametersθandη.

10.3 Availability-Intensive Safety Assessment Model

hthis section, we describe the behavior of a software system which altemates between

operable and inoperable states in consideration of softwaτe safety, referring to Chapter 4.

10.3.1Model Description

The following assumptions are made fOr availability-intensive safety assessment Inodeling:

B1. Wh飽the so我ware system is operati豆g, the holding times of the sa允and the unsafe

   state follow exponential dis奄ributions with means 1/θand 1/η, respectively

B2. The software system breaks down and starもs to be restored as soon as a software

   failure occurs, and the system can not operate until the restoΣation action is complete.

B3. The resto壬ation actioD implies the debugging activity and software reliability gΣowth

   occurs if a debugging activity is perfect

Page 176: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

154   10. 50f乞wa逮e Re五abゴ1i敏/Ava1日ab班tγModelf丑g w1’6力5afそ勾7

  B4. The debugging activity is perfect with probabilityα(0〈α≦1), while imperfect

     with probability 6(=1一α). A perfect debugging activity corエects a丑d removes one

     fault from the system.

B5. Whenπ抗ults have been corrected, the next so柚are飢ure-occurre登ce time i丑terval

     and the restoration time fbllow exponential diStributions with mea丑s 1/λπand 1/μ1π,

     respectively

 B6. The probability that two or more so銑ware failures occur simultaneously is negligible.

 B7. The restoratioll actions aΣe perfbrmed in safe states.

    The state space of the process{X(τ),¢≧0}Tepresenting the state of the software

system at time poi且t f is de丘ned over aga諏as fbllows:

Wπ:the system is operating in a safe state,

L膓z:the system is operating in an unsafe state,

Rπ:the system is inoperable and restored,

whereη,=0,1,2,_denotes the cumulative number of faults corrected during the

operation phase.

    From assumpti◎n B4, when a rest◎ratio丑action is complete in{X(¢)=Rπ},

                     x(‡){巖ぽ:㌫ 1㍑. (・α29)

    The descriptions ofλπandμπare given by

                λπ=Dゐπ  (π:=0, 1, 2, ..弓 1)>0, 0<た〈1),         (10.30)

                 μπ=2ヲァπ  (7τ:=0, 1,2, ...;E>0,0<γ≦1),         (10。31)

respectively where D and為are the ini七ial hazard raもe and the decreasing ratio of the

hazard rate, respectively and E andγare the initial restoration rate and the decreaβi丑9

ratio of the restoration rate, respectively(see Section 4.2).

Page 177: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                    10.3.Ava1日ab肋y.1hte丑s∫ve saf助A5sessme丑εMode1  155

The expressions of one-step transition probabilities gAβ(γ),s(A,」ヲ∈{Wπ,σん,Rπ;

γL=◎,1,2,...})are g

The sample state transition d

θ△τ  bμo△τ

    η△τ

      λo△τ

iven as follows:

                θ                   [1-e-(λ九+θ)ア1,   Ow』,び元(ア)=              λπ十θ

                λπ                   [1-・一(λ・+θ)ア],   Q肌,Rπ(ア)=              λπ十θ

Q購(・)一λ芸η[・イ(λ九+η)〔],

               λπ                   [1一ビ(λ・+・)り,    Qσm&(丁)=              λπ十η

  Q&,鬼+、(ア)=α(1-e一μπつ,

   Q馬,鬼(τ)=6(1-e一μつ.

    iagram of X(孟)is illustτated

αμo・4τ

w  bμ1△τ

            ◆    ●

η△τ

  λ互△τ  αμ1ムτ

       R

      λo∠1τ         λ1△τ

Fig.10.2. A diagrammaもic representa七ion of sもate transitio丑s be七ween X(舌),s fbr七he av姐abi五ty

        inte丑sive sa飴ty assessment mode1.

         in

  w

θ△τ   わμ・△τ

    η△τ

      λ。△τ

  σ

      λ。△τ

                 (10.32)

                 (10.33)

                 (10.34)

                 (10.35)

                 (10,36)

                 (10.37)

Fig.10.2.

     w

   θ△τ   bμ・+1△τ

                    ●    ■

       η△τ

αμη△τ    λ配+1ムτ αμ・+1△τ

R   σ    R       n+1                η+1

         ん+1△τ

10.3.2 Software Availability/Safbty Analysis

This model ca丑be made anaユyses simUar to those of the model discussed in Chapter 7 by

changing the de五nition of the state space of X(τ)from state L㌦of this sectioll to state Lπ

of Chapte∫7.

Distτibution of the First Passage Time to the Spec姐ed Number of Corrected

Faults

Recall that Sπand Gπ(Z)(η=1,2,_;50≡0)denote the random variable representing

the time spe且t in correctingπfaults and the distribution functiのof 3π,士espectively Then,

Page 178: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

156   ヱ0. 50f乞ware Reヱiabfli敏/A va1日abf五勾アModeling wf力力Safb右y

we have the distribution function of 5πas

                  Gπ(£)≡Pr{5㌦≦♂}

                          れ ユ                      =1一Σ(場,、・-2与烏・一⇒

                          乞=0

                    (η:=1,2, ...; Go(τ)≡1(τ)),                 (10.38)

where

                ;ト[⑭土ぽ一抜1

                    (double signs in same order).                 (10.39)

and constant coef五cientsノ島,‘and/4…,i are g輌ven by

                              れ ユ                              H醐

                   .41.ニ     ゴ=o

                    π,2                         れ ユ        ヵ ユ

                        勾1@ゴー叫H(防一勾

                         ゴ=O     j=0                         ゴヂ

                        (‘=0, 1,2, _.,η一1),                 (10.40)

                              れ ユ                              H鋤

                   .42.=     ゴ=o

                         あ ユ       れ エ                    7㍉2                        祐H(yゴー批)H(・」一雛)

                         ゴ=o     ゴ=0                         ゴ る

                        (‘=0ラ 1, 2, ..., 71-1),                 (1◎.41)

respectively It is noted that(10.38)ha5 no beaΣing◎n paΣametersθandηand that

                  ひ ユ

                  Σ(鴫枯…,∂=1(η=1,2,…)・    (10・42)

                  る=O

   Furthermore, the mean and the variance of Sπare given by

                      E閲一§(11-十一ぴ抗)・  (・喝

                     W・岡一碧(1   1¢~十銚2),  (…44)

respectively.

Page 179: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

                     ヱ0.3,A砲日abjli方一1五te皿sfw Sa允敏Assessme刀f Mode∫ 157

State Occupancy ProbabiHty

The state occupancy probabilities tha七X(τ)is in the respective sta毛es are deエived a丑alyt-

icaUy(see Section 7.3.2).

   Initially, the probabiaty that X(毒)is in state凧at time point孟is given by

              昂π(τ)≡Pr{X(¢)=1肌}

                                な                   =B:・一(λ・+θ+η)‘+Σ(B;,、e一当輪e-⇒

                               ゼニむ

                    (π=0, 1,2,...),                           (10.45)

wh・・e c…t・nt…伍・i・・t・B:β:,、, and鵬・・e giv・n by

                                     れ ユ                       ーθ(μη一λη一θ一η)II¢jyゴ

                B£=π        」=°

                    H(忽」一λバθ一η〉(yゴーλバθ一η)

                    ゴ=0

                    (γλ:=0, 1,2, ._),                           (10.46)

                                      カ ユ                       (λ。+η一ぴ)(μバ・・)r[・ゴy」

              B;,、一   。 ゴ=:

                   (λπ十θ十η一賜)rl(¢」一¢∂rl(防一¢∂

                               元=o      ゴ=0                               ゴヂ

                   (τ:=0, 1,2, ...,π),                         (10.47)

                                      れ エ                       (λ。+η一跳)(μ。-y∂H鋼ゴ

              鴎一   。 元≒                   (λ。+θ+η一y∂n(yゴ弔)H(・ゴーy∂

                               ゴ=o     ゴ=o                               ゴ ざ

                   (τ=0, 1,2, ...,π),                         (10.48)

respectively. It is noted that

               ㌶濃)一。ピ_⊃}・(・α49)

Page 180: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

158    10. 50flware Relial)H#ア/AvaHabfヱi{y Modeヱi刀g with Safζ}ty

    Nex七, the probabUi七y that X(τ)is i丑state 1ちat time pomt¢is given by

                    PRπ(τ)i…≡Pr{X(Z)・=費π}

                             1                          =    gπ+1(τ)  (π=:0, 1,2, _.),             (10.50)

                            αμ孔

where gπ(‡)denotes the probability density function of 5π,輌.e. gπ(Z)≡6Gπ(孟)/4孟.

    Finally, the probab辺ityもhat X(Z)輌s ill state乙㌦at t輌me point¢is given by

                   苛π(τ)≡Pr{X(¢)=乙㌦}

                         =G。(τ)~G。+、(¢)-P耽(¢)-P&(‘)

                           (π:=0, 1,2, ...).                        (10.51)

Software Safety alld Availability            ・

The fbllowing identical equation holds fbr arbitrary七imeオ:

                         

                       Σ[P艦(‡)+馬。(¢)+P』ち(£)]=1・    (10・52)

                       π=O

    III this sectio丑, the software safety is de五ned as

                                                          S、(τ)≡Σ[P耽(‡)+P&(¢)],      (10.53)

                               π=O

which represents the probability that the software system does not fan into孤y unsafe

states at time point¢.

    The instantaneous software availability is defined as

                                     

                             A(f)≡Σ翫(τ),      (10.54)

                                   π=O

which rep士esents the probab坦もy that the software system is operatmg safely at time point

オ.Fuτtheτmoヱe, the average software avajlab且ity is defilled as

                           A-(f)≡1狢(輌    (・・’55)

which represents the ratio of the a皿◎unt of time when the system is operating safely to

the time interva1(◎, Z]. Equations(1◎.54)and(10.55)are the rneasures consideτing both

safety and ava丑ability.

Page 181: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ0.4. Numerica∫Examples 159

10.4 Numerical Examples

Using two software safbty assessme五t models discussed above, we show numerical illustra-

tions fbr software safety and reliab伍ty measurement.

    The software safety me垣cs,51(τ)in(10.24)fbr various values ofθare shown in

Fig.10.3, where D=0.1,た=0.8,α=0.9, andη=0.1. Figuτe 10.3 indicates that the

software safety becomes larger asθdecreases.

    S1(♂),s are shown in Fig.10.4 for vaΣious vahles ofん, whe£e D=0.1,α=0.9,θ=0.01,

andη=0.1.51(舌)converges toη/(θ十η), which denotes the steady probab量ity that the

system is operating safely in the case where software fai1阻e-occurrences are not considered.

Figure 10.4 indicates that the softwa士e safety converges earlieτwith decreasmg☆. Smaller

☆means that software reliab∬ity growth occurs more rapidly. Since this model assumes

that the sys七em is not unsafe in causing a software failure, the software safety becomes

larger with mcreasingん, which means the high f士equellcy of software failure-occurrences.

    Figure 10.5 represellts an example of the time-dependent behaviors of state occup鋤cy

probabilities, P阪(¢),1)&(Z),and Pむπ(りwheτeα=0.9ラD=0.1, X=0.8,万=0.2,γ=0.9,

θ=・0.01,andη=0.1.

    Figure 10.6 shows the dependence ofαon the software safety,52(¢)in(10.53)whe壬e

1)=0.1,ゐ=0.8,E=0.2,ア・=0.9,θ==0.01, andη:=0ユ. This丘gure i丘dicates that the

sofちware safety decreases with increasingα. This reasoning is the same as in the case of

Fig.10.4 since largerαmeans that software reliability growth occurs more rapidly

    Figures 10.7 and 10.8 represent the iRstantaneous software availability,.4(孟)il1(10.54)

and t he average so我ware availability,.4α幻(τ)in(10.55)for various values ofα, respectively,

where D=0.1,瓦=0.8,ヱヲ=0.2,ア=・0.9,θ=0.01, andη=0.1. A(オ)and/1αヵ(勾drop

rapidly immediately afteτope∫ation a丑d improve gradu瓠1y with the lapse of time. These

6gures also telhs that a system has higher availability with increasingα.

Page 182: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

160 ヱ0.S・鋤訂・R・五・b」1WAv・元1・b」1晦M6d・1」ng m’亡h SaW

51@) 1

0.9

0.8

0.7

0.60 200 400 600 800

Fig.10.3. Dependence ofθon 51(Z)(D=・0.1,為=0.8,α=0.9,η=0.1).

Page 183: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ0.4.Nume王fca1 Examples 161

S1@)

 1

0.98

0.96

0.94

0.92η/(θ+η)

0.90 200

た0.9    0.8

    0.7

    0.6

  4.00 600 800

Fig.10.4. Dependence of☆o丑51(¢)(Z)=◎.1,α=0.9,θ=0.01,η=0.1).

Page 184: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

162 10,S・伽are Re五abi1均{/A1励abj蛎・M・delmg V亘薇Sa飽y

ΣP脇(τ)

1

   0.8

ら.「oコo.6ρ

口oo・4』工

O.2

0 100 200 300  400

   Time

500 600 700 800

F輌g.10.5.Behavi◎rs of state occupancy proba1)i五七ies(α=0.9,1)ニ0.1,☆=0.8, E=0.2,

     γ=0.9,θ=0.01,η=0.1).

Page 185: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ0.4. Numer{ca~ExamPles 163

S2ω0.98

0.96

0.94

0.920 100 200

α0.6

   0.7

   0.8

   0.9

   1.0

300   400   500

    Time

600 700 800

Fig.10.6. Dependence ofαo丑S2(¢)(D=0.1,ゐ・=0.8,1ヲ=・0.2,ア=0.9,θ=0.01,η=0ユ).

Page 186: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

164 10. Sofヤware Re五abfljfy/Availabf五勾アModeling wヱ’舌力Sa琵数y

A@)

○.85

0.8

0.75

0.7

0.65

0.60 100 200 300   400   500

    Time

6qo

α1.0

   0.9

   0.8

   0.7

   0.6

700 800

Fig.10.7. Depelde丑ce ofαo且.4(£)(D=0.1,☆=0.8, E=0.2,ア=0.9,θ=0.01,η=0.1).

Page 187: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

ヱ0.5.Co刀cludl丑g Remarks 165

んv@)

O.8

0.75

0.7

0.650 100 200 300   400   500

     Time

600 700 800

Fig.10.8. Depe丑dence ofαon」4αu(f)(Z)==0ユ,為=0.8,1ワ=0.2,ア=◎.9,θ=0.01,η・=0.1).

10.5 Concluding Remarks

In this chapter, we have proposed two software safety assessme丑t models:the software

reliability assessmellt model with safety, a丑d the availability-inもensive safety assessment

mode1. These have considered theτa丑dom occurrences of hazardous conditions in system

operation. The stochastic behaviors of the software system in dyllamic e丑vironments have

been described by Markov processes, involving the software re五ability growth process.

Several software safety/reliability assessment measures have been deτived f士om these two

models and the numerical examples of software safety/reliab辺ity measurement have been

illustrat ed. These models can provide quantit ative measures of software safety, which have

scarcely been proposed so far. III particular, it is very lneaningful that this work suggests

Page 188: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

166 ヱαS・f乞陥re Re五ab元1i敏μW血bf五{y M・de五刀9南εh Saf晦

to enable quantitative assess皿ent of simultaneous software safety and software availability,

which are the customer-orie丑ted qua五ty characteristics.

Page 189: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Part IV

Page 190: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 191: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Chapter 11

Conclusion

This dissertation has provided seveΣal Markovian models fbr software reliability, availab伍ty,

and safety measureエnent and assessment. The main contributions obtained a丑d the future

studies remaiRillg i丑the respective parts are summarized as fbllows:

Pαア紘1:5(ぴ老ωαγ eRel‘α6‘1π3/.ルfαlelτη9

Chapteエ2has given a software rehabiHty model considering the imperfect debugging en-

vironment where faults detected are not always corrected and yemoved certainly. Optimal

software release problems based on this model have also been discussed by illtroducing

the totaユsoftware cost alld theτeliabHity requirement. Chapter 3 has reco丑structed the

extended imperfect debuggillg model based on Chapteτ2by assuming that there e)dst the

允ults regenerated during the testing phase. Estimatio丑of unkユown parameters has bee丑

discussed and the applicatio丑examples to the actual testing data have been presented in

this chapter. Several quantitative measures useful for software reliability assessment have

been derived from these models.

    Esti皿ation◎f cost parameters is丑ot sも姐established in optimal software release pΣob-

1ems. Fuτthermore, the hazard rate for F2,θ, and the perfect debugging rate,ρ, have been

prespecified in Chapter 3. Aエ1 expe£imental method fbr settingθandρis as follows:By

analyzing the testing data observed from a sim丑ar software-production project experienced

be五)re,∫)can be set to the ratio of the numbe士of faults coτrected perfectly to the total

number of software falures observed during testing time inteTva1(0, T], which is denoted

as M6. Moreover, the ratio◎f the number of F2 to Mb, which輌s d飽oted asγo, is fbund.

Since a lot of efforもs are needed in analyzing a testing data,ρandアo are also apPlied to

s輌milar new projects. If M so我ware faiures are observed during testing time interva1(0,2「]

of a new project, then we can determine thatθ=(γoM)/T. Howeveτ, it is necessary to

allalyze testing data in detail in order to validate the assumption of two types of s◎ftware

169

Page 192: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

170 11. Conclusio11

鋤1ures. V磁丘cation of the validity of this model remains a future problem.

Pαπ∬:3(沸ωαアe吻α‘励乞励Mo4el卿

The second paτt has discussed sever泣stochastic modeling fbr software availabihty measure-

ment a丑d assessme亘t and derived quantitative performaDce measures co丑sideTing several

operatio丑al environments。 Chapter 4 has given the basic software availabi蹴y model with

only up and dow丑state, which has described the so我ware reliability-growth process as

wel. Chapters 5 alld 6 have constructed the extended software availability models reflect-

i且gthe useΣoperational environment, which have been based on the m◎del in Chapteτ4.

The exist飽ce of software faihres due to operational uses deviating froln七he speci五cation

has explicitly been considered i丑Chapter 5 and the operational res七〇ration policy without

debugging in Chapter 6. Chapter 7 has developed the software availability model wi尤h

computation by assuming that a system can have two di危rent levels in us佼operation:

full and degeneτated perfbrmance leve1. This model has p£ov輌ded a perfbrmance measure

considering both of reliabihty and computation. Such measures have seldom been proposed

fbr softwaτe systems. Chapter 8 ha3 presented avaJlabUity modeling for a so丑ware-intensive

computer system, i.e. a hardware-software system.

    The unknowmn◎del parameters must be est輌mated based on the ac七ual data in order

to assess software availability with these皿odels. For example, the vaユue ofρin Chap-

ter 6 can be set to the ratio of the number of rest◎τation actions with debugging to the

tota1皿mber of restoratio丑actions by analyzing the丘eld restoration-data observed f士om

asimilar software pToduct developed before. We wil also apply this value尤o siln且ar new

software products. But it is dif五cult to est輌mate model parame毛eΣs immediately by using

the tesもing or丘eld data observed fごom new software products themselves. h particular,

it is Ilecessary to equip the data-collecti◎n procedures fbr measuring the actual restoration

times during the ope壬ation phase. The fUtuτe study is to estab五sh the practical estimation

method of unk丑ow丑parameters. In Chapter 7 it seems that we can expand our model

by considering multilevel perfom領ce degeneration. However, it may beもoo dif6cult to

analyze the extended model by a Markov process.

Page 193: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

1ヱ. Co並c∫usjo刀 171

  Pαrτ皿:3(オωαアeS〔加句Model‘η9

  The third part has deaユ毛with stochastic modeling for software safety measurement based on

  the software reHability/availab迅ty models discussed in the preceding two parts. Chapter g

  has p壬ese丑ted software safety Inodehllg by assumi丑g that software faHure-occurre丑cesエnay

  induce uユsafe states. Chapter 10 has developed two software safety assessment models

  considering that a system in operatioll may induce unsafe states. The software safety

  metrics defined asもhe probability that a systeln does丑ot fall i丑to any uRsafe states at

  aspeci丘ed time point have been deエived from those software safety models. It is very

  meaningful to have provided quanti垣tive safety measures for software sys七ems.

      GeneraUy, it is di伍cult to estimate the parameters丈elated to safety;for example,ρ1

・and 7 in Chap七er g andθa丑dηin Chapter 10. We may be able to apply quaHtative methods

  foτsoftware safety analysis such as FTA a且d FMEA in order to estimate such parameters.

  Reasonable estilnation of those model parametersτemains a fut田e pエoblem. Moreover, the

  models in Chapter l◎deal with software safety and reliability facもors indep飽dently,輌.e.

  θandηhave no concem with七he cumulative number of corrected faults. However, there

  may be cases where these two factors have a strong relation. It is an interesting problem

  to co蕊struct models corτelating safety factors with software reliability growth.

    Most results derived in this dissertation have been obtained as closed fbrms. Thus,

we can evaluate perfbrma丑ce measures easily}speci垣ng each model parameters. On the

other ha丑d, ill genera1, va亘ousτestrictions are more imposed on the development of models

in Inathelnatical modeling tha丑simulation modeling. For example, it is assumed that the

restoration times are distributed expo丑entially over this dissertatio丑. HoweveΣ, it is not

saidもhat this assumption is realistic. If restoτation times are assumed to be dist∫ibuted

generaユ1y, computation of perfbrmance measures seems to be much complicated. It is

an interesting p£oblem to c◎mpare analytical mode1短g with simulation one. Moreover,

establishment of application of our models to practical problems co丑cerned in the software

Pτoject managelnent remains as advanced research works.

Page 194: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware
Page 195: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

References

[11A. A. Abdel-Ghaly, P. Y. Chan and B. Littlewood,“Evaluation of competing software

  reliability predic七io丑s,’,11ワE五7野απs,5(沸ωαre 1ヲηg‘ηeεπηg, Vb1. SE-12, No.9, pp.950-

  967,Septenlber 1986.

[2]A.Avi彦i田is,“The IV-version approach to fault-toleranもsoftware>),刀ヲEE鶉rαπs.5(沸一

  ωαrεEπg仇eem’πg, Vb1. SE-11, No.12, pp.1491-1501, December 1985.

[3]M.D. Beaudryl“Perfbrmance-related reliabihty measures fbr computing systems,,,

  1EEE Zケαη8. Ooη婆)庇ers, VO1. C-27, No.6, pp.540-547,1978.

[4]W.W. Everett and J. D. Musa,“A so伽are reliability e丑gineering pΣactice》,,1斑1ワ

  Oo㎎%τerル吻αz仇e, VbL 26, No.3, pp.77-79, March 1993.

[5]M.A. Friedman a丑d J. M。 Vbas,5(境拠アe.4sses3me砿丑eZ‘α6‘1吻,5(加勿,鹿s励‘1吻,

  John Wiley&Sons, New Ybrk,1995.

[6]M.A. Friedrna丑, P. Y. Tr鋤and P. L. Goddard,丑e麗α玩1吻(ザ5(境ωαre抗‡eπ鋤e

  3ys舌eητ5, Notes Data Corporation, New Jersey,1994.

[7]E.H。 Fo壬eman and N. D. Singpurwalla,ζ‘Optilnal time intervals fbr testing-hypotheses

  on computer software errors,,,皿EEタゲαηs.丑el‘α6乞1吻, Vb1. R-28, No.3, pp.250-253,

  August 1979.

[8]O.Gaudoin, C. Lavergne and J.-L Soler,“A generalized geometτic de-eutrophication

  so畳ware-reliab搬もy model”,班班)須rαη5. Rel‘α6‘1‘句, Vb1.43, No.4, pp.536-541, De-

  cember 1994.

[9]A.LGoe1,“Software reliability models:Assumptions,1imitatiolls, and applicabiity”,

  刀ヲEE宅rαη3.30ヵψαアe Eπg乞ηeeア仇g, V61. SE-11, No.12, pp.141L1423, December

  1985.

173

Page 196: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

174 Refereヱ1ces

[10]A.LGoe玉and K Okumoto,“An imperfect debugging Inodel fbr reliabi五ty a丑d other

   quantitative measures of software systems”,Tec加ical Repoエt Vb1.78-1, Department

   of hdustrial E丑gineeτ輌ng and Operations Research, Syracuse U盈iversity, New Ybrk,

   1978.

[11]A.LGoel and K Okumoto,“Time-depende丑t error-detection rate model for software

   reliability and other perfOrmance皿easures,,,刀班IE分απs. Eel2α6砺6y, Vbl. R-28, No.3,

   pp.206-211, August 1979.

[12]A。L. Goel and J。 Soenjoto,“Models for hardware-software system operationa1-

   performa丑ce evaluaもion”,班EE野αηs,丑eZτα斑吻, Vb1. R-30, No.3, pp.232-239,

   August 1981.

[13]Z.Jelinski and P. B. Mora丑da,“Softwaτe rehability research,,,3Zα舌‘5τZcα100ηzμεeア

   Peげ6㎜αηce鋤α1μα重乞oη, W. Freiberger, ed., pp.465-484, Academic Press, New Ybrk,

   1972.

[14|A.Kanno,5(ザ加αre(2%αZτ勿Ooπτアol(in Japa丑ese), JUSE, Tbkyo,1986.

[15]S.」.Keene, Jエ,ζζAssurin琴software safety,,, Proc..4ππμ.丑elZα661i句απ∂Mα‘励α仇一

    α~)ZZ乞τy 5yηp., pp.274-279,1992.

[16]」.H. Kim, Y. H. Kim孤d C.」. Park,“A modi6ed Markov model fbr the estimatio丑of

   c◎mputer software perfOrma丑ce”, Opeアα哲oη5丑eseαアcんLe;舌er3, Vbl.1, No.6, pp.253-

   257,December 1982.

[17]H.S. Koch and P. Kubat,“Optimal release time of computer software”,

   50ヵ倣re翫g乞πee励g, VbL SE-9う1No.3, pp.323-327ハMay 1983.

[181W. Kremer,“Birth-death and bug counting”,

   No.1, pp.37-47, Apri11983,

刀ワ五)五)乃rα7τ3.

1房E万万αη5.1~eZ‘α6砺舌y, Vbl. R-32,

[19]J.-C.Laprie a丑d K. Kanoun,“X-ware rehability and availabi1輌ty modeling”,刀班沼

    西απ5.5(境ωαrεEηgmeεπηg, VbL 18, No.2, pp.130-147, February 1992.

Page 197: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Re五3reηces 175

[20]J.-C.Laprie, J. Arlat, C. B60unes a豆d K. Kanounラ“Defi丑ition and analysis of

    hardware-and software-fault-tolerant architectures”,丑拓E OomρμZer Mαgαzme,

    Vb1.23, No.7, pp.39-51, July 1990.

[21]J.-C.Laprie, K Kanoun, C. B60unes and M. Kaaniche,“The KAT(Knowledge-

    Action-Tra丑sfbrmation)approach to the modehng and evaluation of reliability and

    availability growth”,1EEE野αη3. Sρヵωαre Eηg乞πεeア仇g, Vb1.17, No.4, pp.370-382,

   Apri11991.

[22]N.G. Leveson,“So伽are sa允ty:Why, what, and how”, AσM Oom餌物5耽卿5,

    VbL 18, No.2, pp.125-163, June 1986.

[23]N.G. Leveson,5αプε2〃αアe:3y5εeηz 5〔ぴe匁㈱♂Oomρ碗er8,

    1995.

Addison-Wesley, New Ybrk,

[24]B.Littlewood and L Strigilli,“Theτisks of software”,5c乞ε励碗c.4mleア‘cαπ, Vb1.267,

    No.5, pp.62-75, NovembeT 1992.

[25]M.R. Lyu, ed.,亙απ肋ooた(ザ5(沸ψαアe Rel乞α6‘IW鋤g仇eer卿, IEEE ComputeτSociety

    Press, Los Alamitos, CA,1996.

[26]Y.K. Malaiya and P. K Srimani, eds.,5のWαアe丑el鋤‘Z吻Mo4el3:ZWeore古‘cαZ De㊨el-

    oρη2e励s,疏α1%雄⑳απd.4ρψcα加πs, IEEE Computer Society Press, Los Alamitos,

    CA,1991、

[271J. J. Marciniak, ed.,』Zηcyc吻e砺α(ザ50弗鋤アe翫g乞ηee痂g(Vbls.1and 2),

    &Sons, New York,1994.

[281P. Mellor,“Software reliability modeling:The state of the art”,

    5(栃ωαアeZヒcれolρgy, Vb1.29, No.2, pp.81-98, March 1987.

John Wiley

旬bアmαεZoηαπ∂

[29]」.F. Meyer,“On evaluating the perfOrmability of degradable computing systems”,

    1E五7』ヲ田rαπ3. OoηΨ%εeア3, Vb1. C-29, No.8, PP.720-731,1980.

[30]G.De Micheli,“A survey

   waτe/software co-design”,」「

   pp.605-613, July 1995.

of pToble王ns and methods for computer-aided hard一

抗プbrη1α万oπProce3sτηg 50c‘e句(プ」靱απ, Vb1.36, No.7,

Page 198: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

176 Refbrence5

[31]P.B. Moranda,“Event-aユtered rate Inodels fbr general reUability a且alysis”,1朋E

    7ゲαη5.ReZ‘αb砺句, Vb1. R-28, No.5, pp.376-381, December 1979.

[321工D.Musa and W. W Everett,‘ζSo丑warereliabiity engineer聴:恥chnology拓r the

    1990s,,,圧EE Oo㎎砿er」∬αgαz仇e, Vb1.7, No.6, pp.36-43, November 1990.

[33]J.D. Musa and K. O kumoto,“A logaエith皿ic Poisson execuもion time m◎del fOエsoftwaエe

    reliability measurement”, Pmc.7抗」万万E l『πεOo㎡50ヵωαアe Eπg仇eeππg, pp.230-

    238,1984.

[34]」.D. Musa and K Okumoto,“Application of basic and logaエithmic Poissoa execution

    time models in software reliability measurement”,5φ2〃αアe 5y8ヵeηz DesτgπMe舌んo∂

    (NATO ASI Series, Vb1. F22)ラJ. K Skwirzynski, ed., pp.275-298, Spri丑geトVerlag,

    Berlin,1986.

[35]」.D. Musa, A. Iannino and K Okumoto,5φωαre丑el鋤茗1鋤∴Meαs舵η1eπ‘, Pアe∂Z◇

    ‡‘oη,.4四Z‘cα勧η,McGraw-Hi11, New Ybrk,1987.

[36]Y.Nakagawa and I. Take丑aka,“Error complexity model for softw碇e reliability es-

    ti皿ation”(m Japanese),7ゲαη3.班1(沼刀L己Vb1. J7∠レD-1, No.6, pp.379-386, June

    1991.

[37]M.Nakamura and S. Osaki,‘ζPerfbrmance/reliab皿ty evaluation foτmu1症pτocessor

    systems with compuもational demands”,1抗左」3ys重ems 5「c‘eπce, Vbl.15, No.1, pp。95-

    105,January 1984、.

[38]M.Ohba a丑d X Chou,“Does imperfect debugging a】発ct software reliability growth?”,

    Pτ㊤c,11£ん1Zヲ五)五71π¢。 Oo7ぴ5の句ωα7℃Eπ9‘πeεアτη9, PP.237-244,1989.

[39]K.Okumoto and A. L. Goe1,“Availability and other perfbrmance measures fbr system

    under imperfbct maintenance,,,」P?roc. COMP5/4[0,78, PP.66-71,1978.

[40|KOkumoto a丑d A. L Goe1,“Optimum release time fb∫software system based on

    reliability and cost criteエia,,,ヱ 3y3‡emsα7τ(130弗ψαアε, Vb1.1, No.4, PP.315-318,

    1980.

[4・1]S.Osaki,5古oc力α3れc 5「y5亡eητ・Re∬αb乞1πy 1レ旋)6el乞π9, WoΣ1d Sc輌e丑ti五c, Singapore,1985.

Page 199: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

[42]

[43]

[44]

[45]

[46]

[47]

[48]

[49]

[50]

[51]

[52]

[53]

{54]

                                                       Re允re丑ces    177

S.Osaki,.4pが乞e45舌ocんαs£Zc Sys‡eη膓Mo∂eI仇g, Springer-Verlag, Heidelbeτg,1992.

H.Pham, ed.,5(沸ωαアe RelZα玩1⑳απ4丑5励g, IEEE Computer Society Press, Los

A1&皿itos, CA,1995.

C.V. Ramamoorthy and F. B。 Bastani,ζ‘Software reliability status and perspectives”,

1E』弼野αηs.50ヵψαアe五)πg仇eeア仇gラVb1, SE-8ラNo.4, pp.345-371, July 1982.

B.Rande11,‘ζSystem stエucture fOr software fault-tolerance”,ヱEEE 7ゲαπs,50ヵωα陀

Eπgmeeア‘ηg, Vo!SE-1, VoL 2, pp220-232, June 1975.

P.Rook, ed., Sφ?〃αre丑el‘α6i臨y HαηゐooえりElsevier Applied Science, Londo丑,1990.

S.M. Ross,5τoc九α3‡2c Pアoce5se8,5ecoη∂』粥‘oπ, John Wiley&Sons, New YOrk,

1996.

J.G. Shanthikumar,“A state-and time-depe丑dent eエror occurrence-rate software

reliability model with imperfect debugging,,,Proc. Nα栃oπα100㎎碗eアOoη≠, pp.31L

315,1981.

」.G. Sha且thikumar,“Software reliability models:Areview”,磁cアoeIecかo励c3α励

丑eI‘α6砺勿, Vol.23, No.5, pp.903-943,1983.

M.L. ShOOmanハ5「0ヵωαアe仇gτπee励g:Z)e吻η,丑el乞α6iZ吻,伽4.Mα孤geme撹,

McGraw-Hill, New Ybrk,1983.

A,Sols,“System degraded availab丑ity,,, Rε1乞α6砺句Eπg仇eeππgα励鞠sεe7η5(加勿,

Vb1.56, No.1, pp.91-94,1997.

U.Sumita and J. G. Shanthikumar,“A software reliabHity model with multiple-eΣτor

introduction&removaP,1五EE野απ3.丑eliα腕1‘句, VO1. R-35, No.4, pp.459-462,

October 1986.

W.A. Thompson, Jr., Po流Pγocess 1匠o∂elsψ‘抗鋤挺c臨oη5加5(旗yαπ品el鋤乞鞠,

Chap皿an and Ha11, New YOrk,1988,

M.Xie,3(沸ωαアe丑e励‘励Mo∂eZl殉, WoTld Scienti五c, Singapoエe,1991.

Page 200: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

178 Refbre丑ces

[55]S.Yamada,5{(沸ωα7re IZeliα6‘1π3ノノ18ses5η1e7τ亡鹿cんγLoZogy(in Japanese),

   Tokyo,1989.

HBJ Japan,

[56]S.Yamada,‘‘Software quality/τeliability measurement alld assessment:Software reli-

   ability growth models a菰d data analysis”,」1れJb㎜α万oηPアoce5s仇g, Vb1.14, No.3,

   pp.254-266,1991.

[57]S.Yamada,5φωαアe Rel‘α6‘1鋤Models:

   Japanese), JUSE Press, Tokyo,1994.

1而η61αγγLeη舌αIS απ∂ ∠4ρ1)1乞Cατ‘0τλS (in

[58]S.Yamada,“Software reliability/safety assessm飽t,,(i∬Japanese), J JαpαπSoci吻

   プbア5φ句Eπg仇eeπηg, Vb1.33, No.6, pp.432-441, December 1994.

[59]S.Yamada and H. Ohtera,5「oガψαre丑el‘α田吻:抗eo卿αη∂pmcττcαL4即Z‘cα♂‘oπ(in

   Japanese), Soft Research Ce丑ter,「丑)kyo,1990.

[60]S.Yamada a且d S. Osaki,“Optimal software release policies with simultaneous cost

   andエeliabHity requirements”,』弛アoρeαη」Opeアατ乞oηα1丑eseαアcん, VoL 31, pp.46-51,

    1987.

[61|S.“Yamada and M. T㌦kahashi,∫励磐04%c励ηわ5(沸鋤アeハZαπαgemeπτMo4el一

   五)カα1%α翻oπαπ(2 砺5μα~μαが07τoプ5「(沸《ωαre Oμα1πy(in Japanese), Kyoritsu-Shuppan,

   Tokyo,1993.

[62]S.Yamada, T. Ichimori and H. Maβuyama,

   failure time.measuring reliability models”(in

   No.6, pp.1117-1122, June 1990.

“Optimahelease problems on software

Japanese),西απ8.丑DτC宙、4, Vb1. J 73-A,

[63]S.Yamada, M. Kimura and M. Takahashi,3診頭sあcαZ(g%α『物Ooπ£π)Z角r T(gM-

   Ap吻卿5(90ハ4e舌九〇∂S‘πα碗∂εレ~励吻o∫Bo統θeηeπLI疏d%θ編αI Pア・∂%cZ5αη∂

   5φωαアeP賀)∂%c¢3(in Japanese), Corona Publishing, T◎kyo,1998.

[64]S.Yamada, T. Yamane and S. Osaki,“Software reliabiity growth models with error

   debugging rate,,(in Japanese),野απs. ZPs Jαραη, VO1.27, No.1, pp.64-71,January

    1986.

Page 201: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Publication List of the Author

1.Koichi Tokuno, Shigeru Y己mada and Shunji Osaki,“A Markovian imperfect de-

  bugging model for software reliability measurement”,IEICE Transactions on Funda-

  mentals of Electronics, Communications a丑d Computer Sciences, Vb1. E75-A, No.11,

  pp.1590-1596, November 1992.

2.Shigeru Yamada, Koichi T◎kuno and Shunji Osaki,ζ‘lmperfect debugging models with

  捻ult introductio丑rate for software reliab逝ty assessment”, htemational Journal of

  Systems ScienceラVb1.23, No.12, pp.2241-2252, December 1992.

3.Shigem Yamada, Koichi工bkuno孤d’Shu丑ji Osaki,“Software reliab丑ity measurement

  in imperfect debugging environment and its apphcation”,Reliab輌1ity Engi丑eering and

  System Safety, Vbl.40, No.2, pp.139-147, May 1993.

4.Koichi正bkuno and Shigeru Yamada,“A Markovian software availab皿ty modeli丑g

  and measurement,,(in Japanese), in the Proceedings of the 15th Softwa士e Reliability

  Symposium, pp.86-92,0saka, Japan, December 1994.

5.Koichi工bkuno and Shigeru Yamada,“A Markovia丑software availability Ineasure-

  ment with a geometrically decreasing failure-occurrence rate,,,IEICE Transactions

  on Fulldamentals of Electro丑ics, Communicatio丑s and Computer Scie丑ces, VbL E78-

  A,No.6, pp.737-741, June 1995.

6.Koichi Tokuno and Shigeru Yamada,‘ζA Markovian modeling for software availability

  measuremen毛,,(in J&panese), i丑Fou且dation of Softwaτe Engineering II(Kazuhito

  Ohmaki ed.), pp.159-164, Kindai-Kagakusha, January 1996.

7.Koichi Tokuno and Shigeru Yamada,ζ‘A software availabihty model with imperfect

  debugging飽vironment”(in Japanese), ill the Proceedings of the 16th Software Re-

  1iab品y Symp osium, pp.72-77, Kyoto, Japan, February 1996.

179

Page 202: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

180 Publjca右」ioヱ1 Lis右ofカhe Au舌hoτ

8.Koichi Tbkuno and Shigeエu Yamada,“A software reliabHity growth model with two

  types of software failure-occurre丑ces”(in Japanese), ill the Proceedings of Software

  Symposium,96, pp.16-24, Hiroshima, Japan, June 1996,

9.Koichi Tokullo and Shigeru『Yamada,‘ζlmperfect debugging modelling with two types

  of failure-occ肛rence rates for software reliabi1輌ty measurement,,,ill the Proceedings

  of the Second Australia-Japan Workshop on Stochastic Models in EngiDeering, Tech一

  丑010gy and Management(Richard J. W且so丑, D. N. Pra Murthy, and Sh両i Osaki

  eds.), pp.62L630, Gold Coast, Australia, July 1996.

10.Keiko Takata, Koichi正bkuno and Shigeru Yamada,“Markovian software avaiability

   modeling wi伍ageometrically decreasing hazaτd rate,,, in the Proceedings of the

   Third China-Japan Inter豆ationa工Sylnposium on Industrial Management(ISIM,96)

   (Feng Yuncheng and Hi加kazu Osaki eds.), pp.544-549, NanjingラChina, October

   1996.

11.Koichi互bku丑o and Shigeτu Yamada,“Marko亘an software availabUiもy modeling fbr

   perfOrmance evaluation’,,in Stochastic Modelling in Innovative Manufacturing:Pエo-

   ceedings, Cambridge, U.K, July 21-22,1995(Lecture Notes in Eco丑omics and Math-

   ematical Systems 445)(Anthony H. Christer, Shunji Osaki, and Lyn C. Tholnas eds.),

   pp.24、6-256, Springer-Verlag, Berlin,1997.

12.Koichi正bkuno and Shigeru Yamada,ζ‘So我ware availab狙ty model with a decreasillg

   fault-c◎rrection rate,,(in Japanese), Reliab∬ity(the Joumal of Reliability Engineer-

   i且gAssociation of Japa丑), Vb1.19, No.1, pp.3-12, Ja皿ary 1997.

13.Koichi Tokuno and Shigeru Yamada,“Markovian software availability modeling with

   two types of so丑ware failuエes fbr operational use”,ill the Proceedings of the Third

   ISSAT hter丑ationaユConfbrence o丑Reliabuity and Qua五ty in Design(RQD’97)

   (H◎ang Pham ed.), pp.97-101, Anaheim, Cahfomia, U.S.A., Mar(血1997.

14.Koichi Tokuno and Shigeru Yamada,“A Maエkovian modeling for software a万a証ability

   measurement”(in Japanese), Computer Software(the Jouτnal of Japan Society fbr

   So銑ware Scie五ce and工bchnology), Vb1.14, No.2, pp.38-44, March l997.

Page 203: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

Publfcatfo1LLIst o王力五e Au仇or 181

ヱ5・Koichi正bkuno and Sh輌geru Yamada,“Markovian availab伍ty modelling fbr computer.

   based system wi伍softwaΣe failure-occurrence,,, in the Proceedings of the Seco丑d

   hternational Confere丑ce o丑Quality and Reliability(lcQR’97)(Albert H. c. Tsang

   and C. Y. Tang eds.), Vo1.1, pp.397-403, Ho互g Kong, September 1997.

16.Koichi Tbkuno and Shigeru Yalnada,“Markovian availability measuremen七and as.

   sessment fbr hardware-software system”,htemational Journal of Reliab出ty, Quality

   and Safety Enginee亘ng, Vb1.4, No 3, pp.257-268, Septe皿ber 1997.

17.Koichi Tokuno and Shigeru Yalnada,“Operational availability measurement with

   two types of so我waτe failures”(in Japa丑ese), in Foundation of Software Engi丑eer.

   三丑gIV(Ybshiak三Fukazawa and Mikio Aoyama eds.), pp.95-98, Ki丑dai-Kagakusha,

   December 1997.

18.Shige斑Yamada, Koichiユbkuno and Yu Kasano,“Quantitative assess皿ent models

   拓rso我ware safbty/reliability”(i丑Japanese), the Tra丑sactions of IE工CE A, Vb1. J80-

   A,No.12, pp.2127-2137, December 1997, alld Electτonics and Communications in

   Japan, Part 2, Vbl.81, No.5, pp.33-43,1998.

19.Koichi工bkuno and Shigeru Yamada,‘‘A MaΣkovia丑software availab伍ty Inodel fbr

   operatio丑al use,,(in Japanese), Computer So丘ware(the Joumal of Japan Society fbr

   Software Science and Technology), Vb1.15, No.3, pp.17-24, May 1998.

20.Koichi Tokuno a且d Shigeru Yamada,“Markovi鍛software availabUity modeling with

   degenerated perfbrmance,ハ,in the Proceedings of the European Conference on Sa£ety

   and Reliability(ESREL,98)(Stian Lydersen, Geir K. Hansen and Helge A. Sa丑dtorv

   eds.), VoL 1, pp,425-431, Tro丑dhe輌皿, Norway, JuIIe 1998.

21.Koichi T◎kuno a丑d Shigeru Yamada,“Markovian software safety/reliability measuτe-

   ment with imperfect debugging”,in the Proceedings of the Fouτth ISSAT Interna一

   ロo丑al Confeτence o丑Reliab班ty and Quality in Desigロ(RQD’98)(Hoang Pham and

   Ming-Wei Lu eds.), pp.56-60, Seattle, Washi丑gton, U.S.A., August 1998.

22.Takashi Miki, Koichi Tbkullo aDd Shigeru Yamada,ζζlmperfect debugging models

   with intΣoduced soflware faults a丑d theiτc◎lnparisons”, in the Proceedings of the

Page 204: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware

182 Publica6jo戴Lisカof伍e/1 Uεムor

Fourth Chi丑a-Japan InternationaユSymposium on桓dustriaユMa脇gement(ISIM,98)

(F頭gYUncheng aDd Hiτokazu Osaki eds.), pp.278-283, Da五a丑, China, October 1998.

23.Koichi Tokuno and Shigeru Yamada,‘ζOperatio丑al softwa壬e availab皿ty measurement

   with two ki丑ds ofτestoration actions”,Journal of Quahty in Ma垣t頭ance Engmeeエー

   ing, Vd.・4, No.4, pp.273-283,0ctober 1998.

24.K◎ichi丑)kuno and Shigem Yamada,“So我ware availability modeling with two restora-

   tion actions for◎perati◎naユuse,,(in Japa丑ese),in the Proceedings of the 18th Sympo-

   sium on Quality Control of Software Production, PP.193-200, Tokyo, Japan, Novem-

   ber 1998.

25.Shigeru Yamada, Koichi Tokuno and Kei In◎ue,“OptimaJ release problems with

   software reliability/safety based on cost criteria”(in Japanese), the Transactions of

   IEICE A, Vb1, J82-A, No.1ラpp.64-72, Jalluary 1999.

26.Koichi Tbkuno and Shigeτu Yamada,“A且imperfect debugging model with two types

   of hazard rates for softwaτe reliability皿easureme皿t and assesslnent,,,Mathematical

   and Computer Mode11ing, to be published in 1999.

27.Koichi Tokuno and Shigeru Yamada,“Markovian reliability modeling for software

   safety/availab伍ty meaβureme丑t”,i丑Recent Advances i豆Reliability and Quality En-

   gineering(Hoang Pham ed.), Woエ1d Scienti丘c Pu砿shers, to be pubhshed in 1999.

28.Koichi Tokmlo a丑d Shigeru Yamada,ζ‘Stochastic software safety/reliability measure-

   ment and its application,,,Annals of Software E丑gineering, to be published.

Page 205: Markovian Software Reliability Modeling · model with imperfect debugging considering the uncertainty of fault re皿oval. Based on this ... system, which consists of one hardware