Software Engineering Lecture #39

Slides:



Advertisements
Similar presentations
Path Analysis Why path analysis for test case design?
Advertisements

CYCLOMATIC COMPLEXITY 1. Invented by Thomas McCabe (1974) to measure the complexity of a program ’ s conditional logic Cyclomatic complexity of graph.
Unit Testing CSSE 376, Software Quality Assurance Rose-Hulman Institute of Technology March 27, 2007.
Software engineering for real-time systems
‘all aspects of software production’ - Software engineering is not just concerned with the technical processes of software development but also with activities.
Incremental Model Requirements phase Verify Specification phase Verify
Testing Dr. Andrew Wallace PhD BEng(hons) EurIng
Software Systems Verification and Validation Laboratory Assignment 3
SOFTWARE TESTING Scope of Testing  The dynamic Indian IT industry has always lured the brightest minds with challenging career.
Software availability –the probability that a program is operating according to requirements at a given point in time. Availability = (MTTF/MTBF) x 100.
Testing Worshop in Software Engineering Project Department of Computer Science Ben-Gurion university 1Worshop in SE ProjectSpring 2013.
Software Engineering II Lecture 3 Fakhar Lodhi. Software Life-Cycle Steps Life-cycle model (formerly, process model) –Requirements phase –Specification.
Software Metrics Cmpe 550 Fall Software Metrics.
Creator: ACSession No: 7 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringSeptember 2005 Software Measurement – Estimation and Productivity CSE300.
Empirical Estimation Models Based upon historic data Basic Structure E = A + B * (ev) C where A, B, c are empirical constants ‘ev’ is the effort in terms.
SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during.
08120: Programming 2: SoftwareTesting and Debugging Dr Mike Brayshaw.
Chapter 9: Path Testing Csci 565 Spring Objectives  Decision-to-decision path (DD-Paths)  Test Coverage Metrics  Basis Path Testing  Observation.
Software Testing Techniques Presented By Dr. Shazzad Hosain.
CSC 395 – Software Engineering Lecture 27: White-Box Testing.
Software Engineering Lecture #5 Fakhar Lodhi. An Example In this example an embedded system is to be developed for a booth. This system will be sold to.
Testing Worshop in Software Engineering Project Department of Computer Science Ben-Gurion university 1Worshop in SE ProjectSpring 2013.
CS223: Software Engineering Lecture 26: Software Testing.
White Box Testing. Agenda White-box vs Black-box Program Flow Controls White-box Test Methods Exercises Complexity Q&A.
Internal Logical Files (ILF) An internal logical file (ILF) is a user identifiable group of logically related data or control information maintained within.
Software Reviews Software reviews are the filter for the software engineering process Applied at various different points and serve to uncover errors that.
Metrics for Specification Quality
Cyclomatic Complexity
White-Box Testing Pfleeger, S. Software Engineering Theory and Practice 2nd Edition. Prentice Hall, Ghezzi, C. et al., Fundamentals of Software Engineering.
Environment Assessment
Measuring Change Activity
RET Rules One of the following rules applies when counting RETs:
Data Functions: EIs, EOs and EQs
Software Engineering Lecture #41
Version Control Combination of procedures and tools to manage different versions of the software configuration. Configuration management allows the user.
McCall’s Quality Factors
Change Control Process—I
Data Coverage and Code Coverage
Software Engineering Lecture #2
WHITEBOX TESTING APPROACH
Business Process Reengineering
Cyclomatic Complexity
Cyclomatic Complexity
SE Tasks for a Concept Development Project
Software Engineering Lecture #45
Cyclomatic Complexity
Software Engineering Lecture #7
Software Engineering Lecture #25
Software Engineering Lecture # 17
Software Engineering Lecture #26
Program Restructuring
Error Tracking Defect removal efficiency DRE = E / (E+D)
Defects yet to be fixed Defects Time Total reported defects
Baseline – IEEE definition
Solution to problem 4. a) Control flow graph art Start k = i + 2 * j
Quality Measurable characteristic Cyclomatic complexity Cohesion
The Project Reel’s five step approach for successful projects
Decision Tree.
Cyclomatic Complexity
Software Engineering Lecture # 01
Software Engineering Lecture #35
Software Engineering Lecture #40
Software Engineering Lecture #16
Software Engineering Lecture # 19
Software Engineering Lecture #29
Software Engineering II
CSCE 747 Software Testing and Quality Assurance
Software Engineering Lecture #28
Software Engineering Lecture #6
Unit III – Chapter 3 Path Testing.
Presentation transcript:

Software Engineering Lecture #39 Fakhar Lodhi

White Box Testing

Recap

White Box Testing

White Box Testing

White Box Testing

Path Coverage

Path Coverage

Path Coverage

Path Coverage

Path Coverage

Path Coverage

Cyclomatic Complexity

Cyclomatic Complexity

Cyclomatic Complexity

Cyclomatic Complexity

Cyclomatic Complexity (Example

Cyclomatic Complexity (Example

Cyclomatic Complexity (Example)

Infeasible Paths

Infeasible Paths

Path Coverage

Path Coverage

Path Coverage

Cyclomatic Complexity

Limitations of White Box Testing

Limitations of White Box Testing