Detection probability

Slides:



Advertisements
Similar presentations
4.1 Triangles and Angles.
Advertisements

Extension of E(Θ) metric for Evaluation of Reliability.
Exam 1 Review u Scores Min 30 Max 96 Ave 63.9 Std Dev 14.5.
Reliability Modeling for Design Diversity: A Review and Some Empirical Studies Teresa Cai Group Meeting April 11, 2006.
1 Software Testing and Quality Assurance Lecture 5 - Software Testing Techniques.
1 Functional Testing Motivation Example Basic Methods Timing: 30 minutes.
 T RIANGLE : A figure formed by three noncollinear points, connected by segments  Since two of the segments create a vertex, a triangle has three vertices.
1 740f02frankl25 Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98.
Software Testing (Part 2)
By Asst.Prof.Dr. Wararat Songpan (Rungworawut) Faculty of Computer Science, Department of Science, Khon Kaen University, Thailand 1 Chapter 3: Equivalence.
1841f06detprob3 MM Stroustrup Ch26 u Comments? u Agree or disagree with his testing approach?
1 testing17 Software Testing Functional, MCC, Dataflow Testing, Cause-Effect Graphing.
Summarizing “Structural” Testing Now that we have learned to create test cases through both: – a) Functional (blackbox)and – b) Structural (whitebox) testing.
841f07frankl12oct21 Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98.
Software Testing. Software testing is the execution of software with test data from the problem domain. Software testing is the execution of software.
Triangle A polygon with three sides and three angles. A triangle can be names by its’ side lengths and angles. – Side lengths: isosceles, equilateral,
1841f07subdomains2Aug23 Question u What is the main purpose of software testing?
EXAMPLE 1 Standardized Test Practice SOLUTION Let ( x 1, y 1 ) = ( –3, 5) and ( x 2, y 2 ) = ( 4, – 1 ). = (4 – (–3)) 2 + (– 1 – 5) 2 = = 85 (
Exam 1 Review u Scores Min 30 Max 96 Ave 63.9 Std Dev 14.5.
IV II Q lies on m and PQ ⊥ m ASA 7.2 Reflections.
1 Input Space Partitioning(2). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Chapter 4  Section 4.1  Section
TRIANGLES AND TYPES OF TRIANGLES. A triangle has three sides.
Types of Triangles. Equilateral Triangle All sides are the same length and all the angles are the same length.
Time for Triangles. What is a triangle? A triangle is a polygon. It has 3 sides and 3 angles. It can also be called a trigon.
Equivalence Class Testing Use the mathematical concept of partitioning into equivalence classes to generate test cases for Functional (Black-box) testing.
1841f06detprob3 Testing Basics Detection probability.
Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98 Section 3.4.
Scalene triangle: A scalene triangle is a triangle that has no equal sides. The following is a scalene triangle.
Learning Objective Identify triangles using their sides.
1841f06detprob4 Testing Basics Detection probability.
Properties of Triangles
1 Find the equation of the line that goes through the points (-3, 6) and (-2, 4). y = -2x.
Lesson 4 – 1 Classifying Triangles
Angles In Triangles Types of Triangles Isosceles triangle
Cause & Effect Graph Comparison Testing
Chapter 3: Equivalence Class Testing :EC Software Testing
Mid Unit 5 Review 2-Dimensional Figures.
Triangles.
Isosceles and Equilateral Triangles
Software Testing Structural testing 540f07testing17oct25 1.
Software Testing Structural testing 1.
Boundaries and C0,C1 Pressman pp
Triangles.
Mid Unit 5 Review 2-Dimensional Figures.
Angles In Triangles Types of Triangles Isosceles triangle
Classifying Triangles
4.8 Functions and Relations
Random Testing.
Section 4.1 : Classifying Triangles
Triangles A polygon with 3 sides.
Notes Over 2.1 Function {- 3, - 1, 1, 2 } { 0, 2, 5 }
Applications of the Distance Formula
Angles In Triangles Types of Triangles Isosceles triangle
Equivalence Class Testing
Failure Size Proportional Models
Objective - To classify triangles.
Evaluating Testing Methods by Delivered Reliability
Chapter 5: Relations & Functions
Identify type of triangle
Solving Linear Equations
Triangles.
Evaluating Testing Methods by Delivered Reliability
Front of Flipbook Right Triangles Acute Triangles Obtuse Triangles
Intro to Triangles.
1. Evaluating Expressions and Functions
Identifying Functions
2.3 Represent Relations & Functions p. 33
Classifying Triangles
Functions and Relations
Notes 13-5: Conditional Probability
Presentation transcript:

Detection probability Testing Basics Detection probability

L5asg – detprob for subdomain tests What is the probability of detection with one randomly chosen test case per path? What is the probability of detection with an equal number of randomly chosen test cases?

Control Flow Graph Operational profile 3,3,3 abcdegi equi 3,3,4 abcegi isos 3,3,5 abcegi isos 3,3,6 abcefgi not 3,4,3 abcegi isos 3,4,4 abcegi isos 3,4,5 acegi scal 3,4,6 acegi scal All inputs are equally likely

What are the failure probability for each color (separately)? cin >> a >> b >> c ; type = “scalene”; if (a == b || a == c && b == c) type= “isosceles”; if (a == b || a == c) type = “equilateral”; if (a >= b+c || b >= a+c || c > a+b) type=“not a triangle”; if (a <= 0 || b <= 0 || c <= 0) type=“bad input”; cout<< type; Blue Green Red

TTYP – smaller subdomains What might be better smaller subdomains? Would MCC (multiple condition coverage) be better subdomains

TTYP2 – C0 and C1 coverage How do we deal with C0 and C1 coverage since they are not subdomain testing methodologies?

Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98

Testing Debug Operational

Fault Detection Probability Probability of a testing methodology finding a fault (if it existed)

Partition vs Random

Tests, Specifications, meets Test or test case single value of program input functional program - one input produces an output Specification - S set of input-output pairs Program meets specification iff for all x in spec, actual output matches spec output

Q: probability distribution Q - probability distribution over input domain Q:D -> [0,1] and S Q(t) = 1

Q : Failure Probability Q - failure probability for a randomly drawn point is S Q*d Where d(t) = 1 if f and 0 if s and f-phi(failure) and s-sigma(success) How does this relate to our notation?

Reliability R(N) = (1- Q)N

Assumptions of initial model

Terms q d

3.2 SFR, w/o subdomains d = StinF V(t) P(Q=0) = 1-(1-d)T P(Q=q) = (1-d)T E(Q) = 0* P(Q=0) +q* P(Q=q) = q(1-d)T

Thurs, Sep 6 Read next section of article