SlideShare a Scribd company logo
© Oxford University Press 2011. All rights reserved.
1
Chapter 6
Static Testing
Objectives
• Static testing also improves the software quality.
• There are bugs which are detectable only through static testing.
• There are 3 types of static testing: Inspection, Walkthroughs and
Reviews
• Inspections are the most widely used technique for static testing
which is a formal process to detect the bugs at early stage.
• Benefits and effectiveness of inspection process
• Variants of Inspection process
• Walkthrough is a less formal and less rigorous method as
compared to inspection.
• Review is higher level technique as compared to inspection or
walkthrough, as it also includes management.
© Oxford University Press 2011. All rights reserved.
2
Static Testing
• Static testing techniques do not demonstrate that the software is
operational or one function of software is working;
• They check the software product at each SDLC stage for
conformance with the required specifications or standards.
Requirements, design specifications, test plans, source code,
user’s manuals, maintenance procedures are some of the items
that can be statically tested.
• Static testing has proved to be a cost-effective technique of error
detection.
• Another advantage in static testing is that a bug is found at its
exact location whereas a bug found in dynamic testing provides
no indication to the exact source code location.
© Oxford University Press 2011. All rights reserved.
3
Evolution of Software Testing
Types of Static Testing
• Software Inspections
• Walkthroughs
• Technical Reviews
Static Testing
© Oxford University Press 2011. All rights reserved.
4
Inspections
• Inspection process is an in-process manual examination of an item
to detect bugs.
• Inspection process is carried out by a group of peers. The group of
peers first inspects the product at individual level. After this, they
discuss potential defects of the product observed in a formal
meeting.
• It is a very formal process to verify a software product. The
documents which can be inspected are SRS, SDD, code and test
plan.
© Oxford University Press 2011. All rights reserved.
5
• Inspection process involves the interaction of the following
elements:
• Inspection steps
• Roles for participants
• Item being inspected
Inspections
© Oxford University Press 2011. All rights reserved.
6
Inspection Team
• Author / Owner / Producer
• Inspector
• Moderator
• Recorder
Inspections
© Oxford University Press 2011. All rights reserved.
7
Inspection Process
© Oxford University Press 2011. All rights reserved.
8
Software Testing Myths
Benefits of Inspection Process
• Bug Reduction
• Bug Prevention
• Productivity
• Real-time Feedback to Software Engineers
• Reduction in Development Resource
• Quality Improvement
• Project Management
• Checking Coupling and Cohesion
• Learning through Inspection
• Process Improvement
Inspection Process
© Oxford University Press 2011. All rights reserved.
9
Variants of Inspection process
© Oxford University Press 2011. All rights reserved.
10
Active Design Reviews
© Oxford University Press 2011. All rights reserved.
11
Formal Technical Asynchronous
review method (FTArm)
© Oxford University Press 2011. All rights reserved.
12
Gilb Inspection
© Oxford University Press 2011. All rights reserved.
13
Humphrey’s Inspection Process
© Oxford University Press 2011. All rights reserved.
14
N-Fold Inspection
© Oxford University Press 2011. All rights reserved.
15
Reading Techniques
• A reading technique can be defined as a series of steps or
procedures whose purpose is to guide an inspector in acquiring a
deep understanding of the inspected software product.
• Ad-hoc Method
• Checklists
• Scenario based Reading
© Oxford University Press 2011. All rights reserved.
16
Scenario based Reading
Perspective based Reading
• software item should be inspected from the perspective of
different stakeholders Inspectors of an inspection team have to
check software quality as well as the software quality factors of
a software artifact from different perspectives.
Usage based Reading
• This method given is applied in design inspections. Design
documentation is inspected based on use cases, which are
documented in requirements specification.
Abstraction driven Reading
• This method is designed for code inspections. In this method,
an inspector reads a sequence of statements in the code and
abstracts the functions these statements compute.
© Oxford University Press 2011. All rights reserved.
17
Task driven Reading
• This method is also for code inspections . In this method, the
inspector has to create a data dictionary, a complete description of
the logic and a cross-reference between the code and the
specifications.
Function-point based Scenarios
• The scenarios, designed around function-points are known as the
Function Point Scenarios. A Function Point Scenario consists of
questions and directs the focus of an inspector to a specific
function-point item within the inspected requirements document.
Scenario based Reading
© Oxford University Press 2011. All rights reserved.
18
Task driven Reading
• This method is also for code inspections . In this method, the
inspector has to create a data dictionary, a complete description of
the logic and a cross-reference between the code and the
specifications.
Function-point based Scenarios
• The scenarios, designed around function-points are known as the
Function Point Scenarios. A Function Point Scenario consists of
questions and directs the focus of an inspector to a specific
function-point item within the inspected requirements document.
Scenario based Reading
© Oxford University Press 2011. All rights reserved.
19
It is a less formal and less rigorous technique as compared to
inspection. The very common term used in the literature for static
testing is Inspection but it is for very formal process. If you want to
go for a less formal having no bars of organized meeting, then
walkthroughs are a good option.
Structured Walkthroughs
© Oxford University Press 2011. All rights reserved.
20
Coordinator
Presenter/developer
Recorder
Reviewer
Maintenance
Standrds Bearer
User Represntative
Structured Walkthroughs team
© Oxford University Press 2011. All rights reserved.
21
Technical Reviews
A review is similar to an inspection or walkthrough, except that the
review team also includes management. Therefore, it is considered a
higher-level technique than inspection or walkthrough.
A technical review team is generally comprised of management-level
representatives of the User and Project Management. Review agendas
should focus less on technical issues and more on oversight than an
inspection.

More Related Content

PPTX
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
PPTX
Se 381 - lec 28 -- 34 - 12 jun12 - testing 1 of 2
PPTX
SDET UNIT 2.pptx
PPTX
Static Testing
PPTX
Computer science lecture for Software Engineering
PDF
Chapter 3 - Static Testing (Review) V4.0
PPTX
Chater 3 Static Technic (by Eva Normala)
PPTX
verification and validation
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_28-02-2022_sta...
Se 381 - lec 28 -- 34 - 12 jun12 - testing 1 of 2
SDET UNIT 2.pptx
Static Testing
Computer science lecture for Software Engineering
Chapter 3 - Static Testing (Review) V4.0
Chater 3 Static Technic (by Eva Normala)
verification and validation

Similar to 2.1_Static Testing_Devops_SDLC_guide_to_everything.ppt (20)

PPTX
Static techniques
PPT
ISTQBCH3StaticxvvvbbbdghhhjvvTesting.ppt
PPTX
Software testing
PPTX
CTFL Module 03
PDF
Forgotten? Ignored? Obsolete? Static testing techniques
PPTX
Static Verification Techniques S/W Q/A.pptx
PPT
Verifcation &validation
PPTX
Marjuni.
PPT
Testing throughout the software life cycle & statistic techniques
PPT
Static testing techniques
DOCX
Software Testing - Beginners
PPTX
Chapter 3 Static Techniques
PDF
PPTX
Chapter 3 Static Techniques
PDF
software-testing-framework 3
PPTX
Static techniques
PPSX
Introduction to software testing
PPTX
Presentasi static techniques
PPTX
Static techniques
PDF
Testing Throughout the Software Life Cycle (2013)
Static techniques
ISTQBCH3StaticxvvvbbbdghhhjvvTesting.ppt
Software testing
CTFL Module 03
Forgotten? Ignored? Obsolete? Static testing techniques
Static Verification Techniques S/W Q/A.pptx
Verifcation &validation
Marjuni.
Testing throughout the software life cycle & statistic techniques
Static testing techniques
Software Testing - Beginners
Chapter 3 Static Techniques
Chapter 3 Static Techniques
software-testing-framework 3
Static techniques
Introduction to software testing
Presentasi static techniques
Static techniques
Testing Throughout the Software Life Cycle (2013)
Ad

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Mechanical Engineering MATERIALS Selection
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Artificial Intelligence
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Well-logging-methods_new................
PPTX
Current and future trends in Computer Vision.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Sustainable Sites - Green Building Construction
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
DOCX
573137875-Attendance-Management-System-original
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Operating System & Kernel Study Guide-1 - converted.pdf
Mechanical Engineering MATERIALS Selection
III.4.1.2_The_Space_Environment.p pdffdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Artificial Intelligence
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
R24 SURVEYING LAB MANUAL for civil enggi
Well-logging-methods_new................
Current and future trends in Computer Vision.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
UNIT 4 Total Quality Management .pptx
Safety Seminar civil to be ensured for safe working.
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Embodied AI: Ushering in the Next Era of Intelligent Systems
Sustainable Sites - Green Building Construction
Model Code of Practice - Construction Work - 21102022 .pdf
573137875-Attendance-Management-System-original
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Ad

2.1_Static Testing_Devops_SDLC_guide_to_everything.ppt

  • 1. © Oxford University Press 2011. All rights reserved. 1 Chapter 6 Static Testing Objectives • Static testing also improves the software quality. • There are bugs which are detectable only through static testing. • There are 3 types of static testing: Inspection, Walkthroughs and Reviews • Inspections are the most widely used technique for static testing which is a formal process to detect the bugs at early stage. • Benefits and effectiveness of inspection process • Variants of Inspection process • Walkthrough is a less formal and less rigorous method as compared to inspection. • Review is higher level technique as compared to inspection or walkthrough, as it also includes management.
  • 2. © Oxford University Press 2011. All rights reserved. 2 Static Testing • Static testing techniques do not demonstrate that the software is operational or one function of software is working; • They check the software product at each SDLC stage for conformance with the required specifications or standards. Requirements, design specifications, test plans, source code, user’s manuals, maintenance procedures are some of the items that can be statically tested. • Static testing has proved to be a cost-effective technique of error detection. • Another advantage in static testing is that a bug is found at its exact location whereas a bug found in dynamic testing provides no indication to the exact source code location.
  • 3. © Oxford University Press 2011. All rights reserved. 3 Evolution of Software Testing Types of Static Testing • Software Inspections • Walkthroughs • Technical Reviews Static Testing
  • 4. © Oxford University Press 2011. All rights reserved. 4 Inspections • Inspection process is an in-process manual examination of an item to detect bugs. • Inspection process is carried out by a group of peers. The group of peers first inspects the product at individual level. After this, they discuss potential defects of the product observed in a formal meeting. • It is a very formal process to verify a software product. The documents which can be inspected are SRS, SDD, code and test plan.
  • 5. © Oxford University Press 2011. All rights reserved. 5 • Inspection process involves the interaction of the following elements: • Inspection steps • Roles for participants • Item being inspected Inspections
  • 6. © Oxford University Press 2011. All rights reserved. 6 Inspection Team • Author / Owner / Producer • Inspector • Moderator • Recorder Inspections
  • 7. © Oxford University Press 2011. All rights reserved. 7 Inspection Process
  • 8. © Oxford University Press 2011. All rights reserved. 8 Software Testing Myths Benefits of Inspection Process • Bug Reduction • Bug Prevention • Productivity • Real-time Feedback to Software Engineers • Reduction in Development Resource • Quality Improvement • Project Management • Checking Coupling and Cohesion • Learning through Inspection • Process Improvement Inspection Process
  • 9. © Oxford University Press 2011. All rights reserved. 9 Variants of Inspection process
  • 10. © Oxford University Press 2011. All rights reserved. 10 Active Design Reviews
  • 11. © Oxford University Press 2011. All rights reserved. 11 Formal Technical Asynchronous review method (FTArm)
  • 12. © Oxford University Press 2011. All rights reserved. 12 Gilb Inspection
  • 13. © Oxford University Press 2011. All rights reserved. 13 Humphrey’s Inspection Process
  • 14. © Oxford University Press 2011. All rights reserved. 14 N-Fold Inspection
  • 15. © Oxford University Press 2011. All rights reserved. 15 Reading Techniques • A reading technique can be defined as a series of steps or procedures whose purpose is to guide an inspector in acquiring a deep understanding of the inspected software product. • Ad-hoc Method • Checklists • Scenario based Reading
  • 16. © Oxford University Press 2011. All rights reserved. 16 Scenario based Reading Perspective based Reading • software item should be inspected from the perspective of different stakeholders Inspectors of an inspection team have to check software quality as well as the software quality factors of a software artifact from different perspectives. Usage based Reading • This method given is applied in design inspections. Design documentation is inspected based on use cases, which are documented in requirements specification. Abstraction driven Reading • This method is designed for code inspections. In this method, an inspector reads a sequence of statements in the code and abstracts the functions these statements compute.
  • 17. © Oxford University Press 2011. All rights reserved. 17 Task driven Reading • This method is also for code inspections . In this method, the inspector has to create a data dictionary, a complete description of the logic and a cross-reference between the code and the specifications. Function-point based Scenarios • The scenarios, designed around function-points are known as the Function Point Scenarios. A Function Point Scenario consists of questions and directs the focus of an inspector to a specific function-point item within the inspected requirements document. Scenario based Reading
  • 18. © Oxford University Press 2011. All rights reserved. 18 Task driven Reading • This method is also for code inspections . In this method, the inspector has to create a data dictionary, a complete description of the logic and a cross-reference between the code and the specifications. Function-point based Scenarios • The scenarios, designed around function-points are known as the Function Point Scenarios. A Function Point Scenario consists of questions and directs the focus of an inspector to a specific function-point item within the inspected requirements document. Scenario based Reading
  • 19. © Oxford University Press 2011. All rights reserved. 19 It is a less formal and less rigorous technique as compared to inspection. The very common term used in the literature for static testing is Inspection but it is for very formal process. If you want to go for a less formal having no bars of organized meeting, then walkthroughs are a good option. Structured Walkthroughs
  • 20. © Oxford University Press 2011. All rights reserved. 20 Coordinator Presenter/developer Recorder Reviewer Maintenance Standrds Bearer User Represntative Structured Walkthroughs team
  • 21. © Oxford University Press 2011. All rights reserved. 21 Technical Reviews A review is similar to an inspection or walkthrough, except that the review team also includes management. Therefore, it is considered a higher-level technique than inspection or walkthrough. A technical review team is generally comprised of management-level representatives of the User and Project Management. Review agendas should focus less on technical issues and more on oversight than an inspection.