SlideShare a Scribd company logo
CHAPTER 3 -
Static techniques
Based on ISTQB CTFL Syllabus
Presented by :
DavisThomas K
Syllabus
After completing
this lesson, you
will be able to
understand:
1. Static techniques and test process
2. Review process
3. Static analysis by tools
K Level
 3) Static testing: (K2)
 Reviews and theTest process (K2)
 Review Process (K2)
 Static analysis by tools (K2)
Test design
techniques
Static and
DynamicTesting
Static testing Dynamic testing
Static testing does not require the
actual execution of software.
Dynamic testing involves testing
the software by actually executing it.
This type of testing can be used by the
developer who wrote the code. Code
reviews, inspections and walkthroughs
are also used.
Some of dynamic testing
methodologies include unit testing,
integration testing, system testing and
acceptance testing.
This is the verification portion of
Verification andValidation
Dynamic testing is the validation
portion ofVerification andValidation.
It may achieve 100% statement
coverage in relatively short time.
It achieves less than 50% statement
coverage because it finds bugs only in part
of codes those are actually executed.
It can be done before compilation. It can take place only after executable are
ready
It usually takes shorter time. It may involve running several test cases,
each of which may take longer than
compilation.
Static and
DynamicTesting
Exam tip
 1) Static testing is about prevention whereas dynamic
testing is about cure.
 2) Static testing is more cost-effective than dynamic
testing.
 3) Static testing tools provide greater marginal benefits
as compare to dynamic testing.
 4) Static testing gives comprehensive diagnostics for
code than dynamic testing.
 5) Dynamic testing finds fewer bugs as compare to
static testing.
Static and
DynamicTesting
Exam tip
 6) Dynamic testing usually takes longer time as
compare to static testing as it test each case
separately.
 7) Static testing covers more areas than dynamic
testing in shorter time.
 8) Static testing is done before the code deployment
whereas dynamic testing is after the code deployment.
 9) Static testing is done in verification stage whereas
dynamic testing is done in validation stage.
 10) In static testing code is being examined without
being executed whereas in dynamic testing, code is
being executed and tested without necessarily being
examined.
Static and
DynamicTesting
Exam tip
 6) Dynamic testing usually takes longer time as
compare to static testing as it test each case
separately.
 7) Static testing covers more areas than dynamic
testing in shorter time.
 8) Static testing is done before the code deployment
whereas dynamic testing is after the code deployment.
 9) Static testing is done in verification stage whereas
dynamic testing is done in validation stage.
 10) In static testing code is being examined without
being executed whereas in dynamic testing, code is
being executed and tested without necessarily being
examined.
Static testing
technique
Formal review
 Formal reviews follow a formal process. It is well
structured and regulated.
A formal review process consists of six main steps:
 Planning
 Kick-off
 Preparation
 Review meeting
 Rework
 Follow-up
Static testing
technique
Formal review -
Planning
 Planning: The first phase of the formal review is the Planning phase. In
this phase there view process begins with a request for review by the
author to the moderator (or inspection leader).
The entry check is done to ensure that the reviewer’s time is not
wasted on a document that is not ready for review.
Hence the entry criteria for any document to go for the reviews are:
 The documents should not reveal a large number of major defects.
 The documents to be reviewed should be with line numbers.
 The documents should be cleaned up by running any automated
checks that apply.
 The author should feel confident about the quality of the document so
that he can join the review team with that document.
 Once, the document clear the entry check the moderator and author
decides that which part of the document is to be reviewed
Static testing
technique
Formal review –
Kick off meeting
and preparation
 During the kick-off meeting the reviewers receive a short introduction
on the objectives of the review and the documents
Preparation: In this step the reviewers review the document
individually using the related documents, procedures, rules and
checklists provided. Each participant while reviewing individually
identifies the defects, questions and comments according to their
understanding of the document and role. After that all issues are
recorded using a logging form.
Static testing
technique
Formal review –
Review meeting
 Review meeting: The review meeting consists of three phases:
Logging phase: In this phase the issues and the defects that have
been identified during the preparation step are logged page by page.
Discussion phase: If any issue needs discussion then the item is
logged and then handled in the discussion phase.
Decision phase: At the end of the meeting a decision on the
document under review has to be made by the participants,
sometimes based on formal exit criteria
Static testing
technique
Formal review –
Rework /
Follow-up
 Rework: In this step if the number of defects found per page exceeds
the certain level then the document has to be reworked.
 Follow-up: In this step the moderator check to make sure that the
author has taken action on all known defects.
Formal review
Roles and
Responsibilities
 During a review four types of participants take part.
The moderator:
a) Also known as review leader
b) Performs entry check
c) Follow-up on the rework
d) Schedules the meeting
e)Coaches other team
f)Leads the possible discussion and stores the data that is collected
The author:
a) Illuminate the unclear areas and understand the defects found
b)Basic goal should be to learn as much as possible with regard to
improving the quality of the document.
Formal review
Roles and
Responsibilities
 The scribe:
a) Scribe is a separate person to do the logging of the defects found
during the review.
 The reviewers:
a) Also known as checkers or inspectors
b) Check any material for defects, mostly prior to the meeting
c)The manager can also be involved in the review depending on his or
her background.
The managers:
a) Manager decides on the execution of reviews
b) Allocates time in project schedules and determines whether review
process objectives have been met
Types of review
 Informal review
 Walkthrough
 Technical review
 Inspection
Types of review
Informal review
 Informal reviews are applied many times during the
early stages of the life cycle of the document.
A two person team can conduct an informal review. In
later stages these reviews often involve more people
and a meeting.
The goal is to keep the author and to improve the
quality of the document.
The most important thing to keep in mind about the
informal reviews is that they are not documented.
Types of review
Walkthrough
 It is not a formal process
 To present the documents both within and outside the
software discipline in order to gather the information
regarding the topic under documentation.
 To explain or do the knowledge transfer and evaluate
the contents of the document
 To achieve a common understanding and to gather
feedback.
 To examine and discuss the validity of the proposed
solutions
Types of review
Technical review
 It is less formal review
 It is led by the trained moderator but can also be led by
a technical expert
 It is often performed as a peer review without
management participation
 Defects are found by the experts (such as architects,
designers, key users) who focus on the content of the
document.
 In practice, technical reviews vary from quite informal
to very formal
Types of review
Inspection
 It is the most formal review type
 It is led by the trained moderators
 During inspection the documents are prepared and
checked thoroughly by the reviewers before the
meeting
 It involves peers to examine the product
 A separate preparation is carried out during which the
product is examined and the defects are found
 The defects found are documented in a logging list or
issue log
 A formal follow-up is carried out by the moderator
applying exit criteria
Static test tools
 StaticTestTools:These tools do not involve actual
input and output. Rather, they take a symbolic
approach to testing, i.e. they do not test the actual
execution of the software.These tools include the
following: ,
 1) Flow analyzers:They ensure consistency in data flow
from input to output.
 2) Path tests:They find unused code and code with
contradictions.
 3) Coverage analyzers: It ensures that all logic paths are
tested.
Dynamic test tools
 DynamicTestTools:These tools test the software
system with 'live' data. Dynamic test tools include the
following
 1)Test driver: It inputs data into a module-under-test
(MUT).
 2)Test beds: It simultaneously displays source code
along with the program under execution.
 3) Emulators:The response facilities are used to
emulate parts of the system not yet developed.
 4) Mutation analyzers:The errors are deliberately 'fed'
into the code in order to test fault tolerance of the
system.
Cyclomatic
Complexity
 Cyclomatic complexity is a software metric
(measurement), used to indicate the complexity of a
program
 The Cyclomatic complexity metric is based on the
number of decisions in a program.
It is important to testers because it provides an
indication of the amount of testing (including reviews)
necessary to practically avoid defects.
Cyclomatic complexity = Number of decision statement + 1
Cyclomatic
Complexity
Draw a flow chart
Below is a simple program as an example:
IF A = 354
THEN IF B > C
THEN A = B
ELSE A = C
ENDIF .
ENDIF
Print A
Cyclomatic complexity = No of binary
decisions +1
There are 2 IF statements
So , Cyclomatic complexity = 2+1 = 3
Q &A
Lets try to answer few questions based
on chapter 03
Question 1 Which is not a type of review?
a.Walkthrough
b. Inspection
c. Informal review
d. Management approval
Question 2 What statement about reviews is true?
a. Inspections are led by a trained moderator, whereas technical reviews are not
necessarily.
b.Technical reviews are led by a trained leader, inspections are not.
c. In a walkthrough, the author does not attend.
d. Participants for a walkthrough always need to be thoroughly trained.
Question 3 What is the main difference between a walkthrough and an inspection?
a. An inspection is led by the authors, whilst a walk through is led by a trained
moderator.
b. An inspection has a trained leader, whilst a walk through has no leader.
c. Authors are not present during inspections, whilst they are during walkthroughs.
d. A walkthrough is led by the author, whilst an inspection is led by a trained moderator.
Question 4 Which of the following statements about early test design are true and which are false?
1. Defects found during early test design are more expensive to fix.
2. Early test design can find defects.
3. Early test design can cause changes to the requirements.
4. Early test design takes more effort.
a. 1 and 3 are true. 2 and 4 are false.
b. 2 is true. 1, 3 and 4 are false.
c. 2 and 3 are true. 1 and 4 are false.
d. 2, 3 and 4 are true. 1 is false

More Related Content

What's hot

Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of Testing
Neeraj Kumar Singh
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
Neeraj Kumar Singh
 
Chapter 3 - Static Testing
Chapter 3 - Static TestingChapter 3 - Static Testing
Chapter 3 - Static Testing
Neeraj Kumar Singh
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
Neeraj Kumar Singh
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
Neeraj Kumar Singh
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
Neeraj Kumar Singh
 
ISTQB Foundation Level Mock Exam 1
ISTQB Foundation Level Mock Exam 1ISTQB Foundation Level Mock Exam 1
ISTQB Foundation Level Mock Exam 1
Neeraj Kumar Singh
 
Chapter 3 - Analytical Techniques
Chapter 3 - Analytical TechniquesChapter 3 - Analytical Techniques
Chapter 3 - Analytical Techniques
Neeraj Kumar Singh
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
Yogindernath Gupta
 
Chapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingChapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical Testing
Neeraj Kumar Singh
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
Neeraj Kumar Singh
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
Khuong Nguyen
 
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based TestingChapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Neeraj Kumar Singh
 
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLINTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
Rahul R Pandya
 
Chapter 4 - Deployment Risks and Contingencies
Chapter 4 - Deployment Risks and ContingenciesChapter 4 - Deployment Risks and Contingencies
Chapter 4 - Deployment Risks and Contingencies
Neeraj Kumar Singh
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
Yogindernath Gupta
 
Chapter 7 - Verifying the TAS
Chapter 7 - Verifying the TASChapter 7 - Verifying the TAS
Chapter 7 - Verifying the TAS
Neeraj Kumar Singh
 
ISTQB Foundation Level Mock Exam 2
ISTQB Foundation Level Mock Exam 2ISTQB Foundation Level Mock Exam 2
ISTQB Foundation Level Mock Exam 2
Neeraj Kumar Singh
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
Erol Selitektay
 

What's hot (20)

Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of Testing
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
Chapter 3 - Static Testing
Chapter 3 - Static TestingChapter 3 - Static Testing
Chapter 3 - Static Testing
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
ISTQB Foundation Level Mock Exam 1
ISTQB Foundation Level Mock Exam 1ISTQB Foundation Level Mock Exam 1
ISTQB Foundation Level Mock Exam 1
 
Chapter 3 - Analytical Techniques
Chapter 3 - Analytical TechniquesChapter 3 - Analytical Techniques
Chapter 3 - Analytical Techniques
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Chapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingChapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical Testing
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
 
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based TestingChapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
 
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLINTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
 
Chapter 4 - Deployment Risks and Contingencies
Chapter 4 - Deployment Risks and ContingenciesChapter 4 - Deployment Risks and Contingencies
Chapter 4 - Deployment Risks and Contingencies
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
 
Chapter 7 - Verifying the TAS
Chapter 7 - Verifying the TASChapter 7 - Verifying the TAS
Chapter 7 - Verifying the TAS
 
ISTQB Foundation Level Mock Exam 2
ISTQB Foundation Level Mock Exam 2ISTQB Foundation Level Mock Exam 2
ISTQB Foundation Level Mock Exam 2
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 

Similar to CTFL Module 03

Bab iii static techniques (yoga)
Bab iii static techniques (yoga)Bab iii static techniques (yoga)
Bab iii static techniques (yoga)
sidjdhdjsks
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
Siti Deny Nadiroha
 
Static techniques
Static techniquesStatic techniques
Static techniques
aidul azmi
 
Bab iii static techniques
Bab iii static techniquesBab iii static techniques
Bab iii static techniques
Syakir Arsalan
 
Static Testing
Static TestingStatic Testing
Static Testing
Dharita Chokshi
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
Delicia Generis Humani
 
Static techniques
Static techniquesStatic techniques
Static techniques
Amelia Septia Roza
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
Tricia Karina
 
Bab iii static techniques
Bab iii static techniquesBab iii static techniques
Bab iii static techniques
Riauly Putra
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
14941
 
Software Testing 4/5
Software Testing 4/5Software Testing 4/5
Software Testing 4/5
Damian T. Gordon
 
Static nopri wahyudi
Static nopri wahyudiStatic nopri wahyudi
Static nopri wahyudi
Nopriwahyudi
 
Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3
Raj vardhan
 
Software Testing
Software TestingSoftware Testing
3.static techniques
3.static techniques3.static techniques
3.static techniques
Bobi Henfajri Setiawan
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
marjuni .
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
Mazenetsolution
 
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
madhurpatidar2
 
Testing 1 static techniques
Testing 1 static techniquesTesting 1 static techniques
Testing 1 static techniques
Mini Marsiah
 
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptxLecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
SirRafiLectures
 

Similar to CTFL Module 03 (20)

Bab iii static techniques (yoga)
Bab iii static techniques (yoga)Bab iii static techniques (yoga)
Bab iii static techniques (yoga)
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Bab iii static techniques
Bab iii static techniquesBab iii static techniques
Bab iii static techniques
 
Static Testing
Static TestingStatic Testing
Static Testing
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
 
Bab iii static techniques
Bab iii static techniquesBab iii static techniques
Bab iii static techniques
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
 
Software Testing 4/5
Software Testing 4/5Software Testing 4/5
Software Testing 4/5
 
Static nopri wahyudi
Static nopri wahyudiStatic nopri wahyudi
Static nopri wahyudi
 
Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
 
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
 
Testing 1 static techniques
Testing 1 static techniquesTesting 1 static techniques
Testing 1 static techniques
 
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptxLecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
 

Recently uploaded

Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 

Recently uploaded (20)

Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 

CTFL Module 03

  • 1. CHAPTER 3 - Static techniques Based on ISTQB CTFL Syllabus Presented by : DavisThomas K
  • 3. After completing this lesson, you will be able to understand: 1. Static techniques and test process 2. Review process 3. Static analysis by tools
  • 4. K Level  3) Static testing: (K2)  Reviews and theTest process (K2)  Review Process (K2)  Static analysis by tools (K2)
  • 6. Static and DynamicTesting Static testing Dynamic testing Static testing does not require the actual execution of software. Dynamic testing involves testing the software by actually executing it. This type of testing can be used by the developer who wrote the code. Code reviews, inspections and walkthroughs are also used. Some of dynamic testing methodologies include unit testing, integration testing, system testing and acceptance testing. This is the verification portion of Verification andValidation Dynamic testing is the validation portion ofVerification andValidation. It may achieve 100% statement coverage in relatively short time. It achieves less than 50% statement coverage because it finds bugs only in part of codes those are actually executed. It can be done before compilation. It can take place only after executable are ready It usually takes shorter time. It may involve running several test cases, each of which may take longer than compilation.
  • 7. Static and DynamicTesting Exam tip  1) Static testing is about prevention whereas dynamic testing is about cure.  2) Static testing is more cost-effective than dynamic testing.  3) Static testing tools provide greater marginal benefits as compare to dynamic testing.  4) Static testing gives comprehensive diagnostics for code than dynamic testing.  5) Dynamic testing finds fewer bugs as compare to static testing.
  • 8. Static and DynamicTesting Exam tip  6) Dynamic testing usually takes longer time as compare to static testing as it test each case separately.  7) Static testing covers more areas than dynamic testing in shorter time.  8) Static testing is done before the code deployment whereas dynamic testing is after the code deployment.  9) Static testing is done in verification stage whereas dynamic testing is done in validation stage.  10) In static testing code is being examined without being executed whereas in dynamic testing, code is being executed and tested without necessarily being examined.
  • 9. Static and DynamicTesting Exam tip  6) Dynamic testing usually takes longer time as compare to static testing as it test each case separately.  7) Static testing covers more areas than dynamic testing in shorter time.  8) Static testing is done before the code deployment whereas dynamic testing is after the code deployment.  9) Static testing is done in verification stage whereas dynamic testing is done in validation stage.  10) In static testing code is being examined without being executed whereas in dynamic testing, code is being executed and tested without necessarily being examined.
  • 10. Static testing technique Formal review  Formal reviews follow a formal process. It is well structured and regulated. A formal review process consists of six main steps:  Planning  Kick-off  Preparation  Review meeting  Rework  Follow-up
  • 11. Static testing technique Formal review - Planning  Planning: The first phase of the formal review is the Planning phase. In this phase there view process begins with a request for review by the author to the moderator (or inspection leader). The entry check is done to ensure that the reviewer’s time is not wasted on a document that is not ready for review. Hence the entry criteria for any document to go for the reviews are:  The documents should not reveal a large number of major defects.  The documents to be reviewed should be with line numbers.  The documents should be cleaned up by running any automated checks that apply.  The author should feel confident about the quality of the document so that he can join the review team with that document.  Once, the document clear the entry check the moderator and author decides that which part of the document is to be reviewed
  • 12. Static testing technique Formal review – Kick off meeting and preparation  During the kick-off meeting the reviewers receive a short introduction on the objectives of the review and the documents Preparation: In this step the reviewers review the document individually using the related documents, procedures, rules and checklists provided. Each participant while reviewing individually identifies the defects, questions and comments according to their understanding of the document and role. After that all issues are recorded using a logging form.
  • 13. Static testing technique Formal review – Review meeting  Review meeting: The review meeting consists of three phases: Logging phase: In this phase the issues and the defects that have been identified during the preparation step are logged page by page. Discussion phase: If any issue needs discussion then the item is logged and then handled in the discussion phase. Decision phase: At the end of the meeting a decision on the document under review has to be made by the participants, sometimes based on formal exit criteria
  • 14. Static testing technique Formal review – Rework / Follow-up  Rework: In this step if the number of defects found per page exceeds the certain level then the document has to be reworked.  Follow-up: In this step the moderator check to make sure that the author has taken action on all known defects.
  • 15. Formal review Roles and Responsibilities  During a review four types of participants take part. The moderator: a) Also known as review leader b) Performs entry check c) Follow-up on the rework d) Schedules the meeting e)Coaches other team f)Leads the possible discussion and stores the data that is collected The author: a) Illuminate the unclear areas and understand the defects found b)Basic goal should be to learn as much as possible with regard to improving the quality of the document.
  • 16. Formal review Roles and Responsibilities  The scribe: a) Scribe is a separate person to do the logging of the defects found during the review.  The reviewers: a) Also known as checkers or inspectors b) Check any material for defects, mostly prior to the meeting c)The manager can also be involved in the review depending on his or her background. The managers: a) Manager decides on the execution of reviews b) Allocates time in project schedules and determines whether review process objectives have been met
  • 17. Types of review  Informal review  Walkthrough  Technical review  Inspection
  • 18.
  • 19. Types of review Informal review  Informal reviews are applied many times during the early stages of the life cycle of the document. A two person team can conduct an informal review. In later stages these reviews often involve more people and a meeting. The goal is to keep the author and to improve the quality of the document. The most important thing to keep in mind about the informal reviews is that they are not documented.
  • 20. Types of review Walkthrough  It is not a formal process  To present the documents both within and outside the software discipline in order to gather the information regarding the topic under documentation.  To explain or do the knowledge transfer and evaluate the contents of the document  To achieve a common understanding and to gather feedback.  To examine and discuss the validity of the proposed solutions
  • 21. Types of review Technical review  It is less formal review  It is led by the trained moderator but can also be led by a technical expert  It is often performed as a peer review without management participation  Defects are found by the experts (such as architects, designers, key users) who focus on the content of the document.  In practice, technical reviews vary from quite informal to very formal
  • 22. Types of review Inspection  It is the most formal review type  It is led by the trained moderators  During inspection the documents are prepared and checked thoroughly by the reviewers before the meeting  It involves peers to examine the product  A separate preparation is carried out during which the product is examined and the defects are found  The defects found are documented in a logging list or issue log  A formal follow-up is carried out by the moderator applying exit criteria
  • 23. Static test tools  StaticTestTools:These tools do not involve actual input and output. Rather, they take a symbolic approach to testing, i.e. they do not test the actual execution of the software.These tools include the following: ,  1) Flow analyzers:They ensure consistency in data flow from input to output.  2) Path tests:They find unused code and code with contradictions.  3) Coverage analyzers: It ensures that all logic paths are tested.
  • 24. Dynamic test tools  DynamicTestTools:These tools test the software system with 'live' data. Dynamic test tools include the following  1)Test driver: It inputs data into a module-under-test (MUT).  2)Test beds: It simultaneously displays source code along with the program under execution.  3) Emulators:The response facilities are used to emulate parts of the system not yet developed.  4) Mutation analyzers:The errors are deliberately 'fed' into the code in order to test fault tolerance of the system.
  • 25. Cyclomatic Complexity  Cyclomatic complexity is a software metric (measurement), used to indicate the complexity of a program  The Cyclomatic complexity metric is based on the number of decisions in a program. It is important to testers because it provides an indication of the amount of testing (including reviews) necessary to practically avoid defects. Cyclomatic complexity = Number of decision statement + 1
  • 26. Cyclomatic Complexity Draw a flow chart Below is a simple program as an example: IF A = 354 THEN IF B > C THEN A = B ELSE A = C ENDIF . ENDIF Print A
  • 27. Cyclomatic complexity = No of binary decisions +1 There are 2 IF statements So , Cyclomatic complexity = 2+1 = 3
  • 28. Q &A Lets try to answer few questions based on chapter 03
  • 29. Question 1 Which is not a type of review? a.Walkthrough b. Inspection c. Informal review d. Management approval
  • 30. Question 2 What statement about reviews is true? a. Inspections are led by a trained moderator, whereas technical reviews are not necessarily. b.Technical reviews are led by a trained leader, inspections are not. c. In a walkthrough, the author does not attend. d. Participants for a walkthrough always need to be thoroughly trained.
  • 31. Question 3 What is the main difference between a walkthrough and an inspection? a. An inspection is led by the authors, whilst a walk through is led by a trained moderator. b. An inspection has a trained leader, whilst a walk through has no leader. c. Authors are not present during inspections, whilst they are during walkthroughs. d. A walkthrough is led by the author, whilst an inspection is led by a trained moderator.
  • 32. Question 4 Which of the following statements about early test design are true and which are false? 1. Defects found during early test design are more expensive to fix. 2. Early test design can find defects. 3. Early test design can cause changes to the requirements. 4. Early test design takes more effort. a. 1 and 3 are true. 2 and 4 are false. b. 2 is true. 1, 3 and 4 are false. c. 2 and 3 are true. 1 and 4 are false. d. 2, 3 and 4 are true. 1 is false

Editor's Notes

  1. d
  2. A
  3. D
  4. C