CSE 322: Software Reliability Engineering

18
CSE 322: Software Reliability Engineering Topics covered: Architecture-based reliability analysis

description

CSE 322: Software Reliability Engineering. Topics covered: Architecture-based reliability analysis. Introduction and motivation. Benefits of architecture-based analysis. Application architecture. Architecture: Components: Interactions:. Application architecture (contd..). - PowerPoint PPT Presentation

Transcript of CSE 322: Software Reliability Engineering

Page 1: CSE 322: Software Reliability Engineering

CSE 322: Software Reliability Engineering

Topics covered:Architecture-based reliability analysis

Page 2: CSE 322: Software Reliability Engineering

Introduction and motivation

Page 3: CSE 322: Software Reliability Engineering

Benefits of architecture-based analysis

Page 4: CSE 322: Software Reliability Engineering

Application architecture

Architecture:

Components:

Interactions:

Page 5: CSE 322: Software Reliability Engineering

Application architecture (contd..)

Sequential application:

Dynamic behavior:

Page 6: CSE 322: Software Reliability Engineering

Application architecture (contd..)

Types of applications:

Page 7: CSE 322: Software Reliability Engineering

Application architecture (contd..)

Models used:

Mapping of control-flow graph to models:

Page 8: CSE 322: Software Reliability Engineering

Application architecture (contd..)

Type of models:

Page 9: CSE 322: Software Reliability Engineering

DTMC analysis

Overview of DTMCs:

Absorbing:

Irreducible:

Page 10: CSE 322: Software Reliability Engineering

Analysis of absorbing DTMCs

Page 11: CSE 322: Software Reliability Engineering

Analysis of absorbing DTMCs (contd..)

Page 12: CSE 322: Software Reliability Engineering

Analysis of irreducible DTMCs

Page 13: CSE 322: Software Reliability Engineering

Example of architecture analysis

•Terminating application•10 modules•1 is the input, 10 is the exit module•Architecture modeled by absorbing DTMC

jip , Probability that the control istransferred to module j, uponexecution of module i

11

22 33 44

55 66

77 88 99

1010

2,1p3,1p

4,1p

3,2p

2,7p

5,2p 5,3p3,6p

5,4p6,4p

7,5p8,5p

8,6p

9,7p10,8p

8,9p

10,9p

9,6p

4,9p

7,6p 4,8p

Page 14: CSE 322: Software Reliability Engineering

Example of architecture analysis (contd..)

60.02,1 p 20.03,1 p 20.04,1 p

70.03,2 p 30.05,2 p

00.15,3 p

40.05,4 p 60.06,4 p

40.07,5 p 60.08,5 p

30.03,6 p 30.07,6 p 10.08,6 p 30.09,6 p

50.02,7 p 50.09,7 p

25.04,8 p 75.010,8 p

10.08,9 p 90.010,9 p

Intercomponent transition probabilities

Page 15: CSE 322: Software Reliability Engineering

Example of architecture analysis (contd..)

Component i 2i

1 1.0000 0.0000

2 0.9077 0.6444

3 0.9107 0.5499

4 0.4184 0.3928

5 1.3504 0.7185

6 0.2510 0.2319

7 0.6155 0.6261

8 0.8737 0.4225

9 0.3831 0.2462

10 1.0000 0.0000

i2iMean number of visits

Variance of the number of visits

Computed for component i

Page 16: CSE 322: Software Reliability Engineering

Example of architecture analysis (contd..)

•Non-terminating application•10 modules•Architecture modeled by irreducible DTMC •Reliability of each component known

jip , Probability that the control istransferred to module j, uponexecution of module i

11

22 33 44

55 66

77 88 99

1010

2,1p3,1p

4,1p

3,2p

5,2p 5,3p3,6p

5,4p6,4p

7,5p8,5p

8,6p

9,7p10,8p

8,9p

10,9p

9,6p

4,9p

7,6p 4,8p

1,10p

4,10p

2,7p

Page 17: CSE 322: Software Reliability Engineering

Example of architecture analysis (contd..)

Intercomponent transition probabilities

60.02,1 p 20.03,1 p 20.04,1 p

70.03,2 p 30.05,2 p

00.15,3 p

40.05,4 p 60.06,4 p

40.07.5 p 60.08,5 p

30.03,6 p 30.07.6 p 10.08,6 p 30.09,6 p

50.02,7 p 50.09,7 p

25.04,8 p 75.010,8 p

10.08,9 p 90.010,9 p

8.01,10 p 20.04,10 p

Addition oftwo transitionsto absorbingDTMC to makeit irreducible

Page 18: CSE 322: Software Reliability Engineering

Example of architecture-based analysis (contd..)

Component iu1 0.1073

2

3

4

5

6

7

8

9

10

0.1055

0.1091

0.0765

0.1714

0.0459

0.0823

0.1129

0.0549

0.1341

iu Utilization of the component

Computed for component i