SlideShare a Scribd company logo
1 of 21
Static Testing
Presented By : -
Suraj Vishwakarma
Outlines
 What is Static Testing
 Tools for Static Testing
 Participants in Static Testing
 Static Testing Techniques
 Advantages of Static Testing
 Disadvantages of Static Testing
 Success factors for review
• software testing technique in which the software is tested without
executing the code.
• Static testing is a software testing method that involves examination of
program's code and its associated documentation.
• Also called as Dry-Run Testing.
• Programmers find any errors. Hence named ‘static’.
• Static testing is a stage of White Box Testing.
What is Static Testing
What is Static Testing
• Main objective of this testing is to improve the quality of
software.
• Finding errors in early stages of the development cycle.
• Most static testing techniques can be used to ‘test’ any form
of document including source code, design documents and
models, functional specifications and requirement
specifications.
What is Static Testing
Static Testing
Review Static analysis
Customer
Level
Function
Level
Software
Architecture
Module
Design
Implementation
Static Testing
Requirement
Design
Implementation
Verification
Maintenance
Product Requirement documents
Software Architecture
Software
Tools for Static Testing / Static Analysis - By Tools:
• Following are the types of defects found by the tools during static analysis:
• A variable with an undefined value
• Variables that are declared but never used
• Unreachable code (or) Dead Code
• Programming standards violations
• Security vulnerabilities(weakness reduce system information)
• Syntax violations
Participants in Static Test
Moderator
Author
Scribe
Reviewer
Manager
During a review five types of participants take part. They are:
Participants in Static Testing
The moderator
• Also known as review leader
• Performs entry check
• Follow-up on the rework
• Schedules the meeting
• Coaches other team
• Leads the possible discussion and stores the data that is
collected
Participants in Static Testing
The author
• Illuminate the unclear areas and understand the defects found
• Basic goal should be to learn as much as possible with regard to
improving the quality of the document.
The scribe
• Scribe is a separate person to do the logging of the defects found
during the review.
Participants in Static Testing
The reviewers
• Also known as checkers or inspectors
• Check any material for defects, mostly prior to the meeting
• The manager can also be involved in the review depending on his or her
background.
The managers
• Manager decides on the execution of reviews
• Allocates time in project schedules and determines whether review process
objectives have been met
Static Testing Techniques / Types of Reviews
Informal Reviews
Formal Reviews
Technical Reviews
Walk Through
Inspection Process
Static Code Review
Low
High
Informal Review
• Doesn't follow any process to find errors in the document, you
just review the document and give informal comments on it.
• Applied many times during the early stages of the life cycle of
the document.
• A two person team can conduct an informal review and in later
stages more people are involved.
• The most important thing to keep in mind about the informal
reviews is that they are not documented
Formal Review
Formal reviews follow a formal process. It is well structured and
regulated (Controlled). A formal review process consists of six main
steps:
1. Planning
2. Kick-off
3. Preparation
4. Review meeting
5. Rework
6. Follow-up
Technical Review
• A team consisting of your peers, review the technical specification of
the software product and checks whether it is suitable for the project.
• They try to find any discrepancies in the specifications and standards
followed.
• This review concentrates mainly on the technical document related to
the software such as Test Strategy, Test Plan and requirement
specification documents.
Walkthrough
• The author of the work product explains the product to his
team.
• Participants can ask questions if any.
• Meeting is led by the author.
• Scribe makes note of review comments
Inspection
• The main purpose is to find defects and meeting is led by
trained moderator.
• This review is a formal type of review where it follows strict
process to find the defects.
• Reviewers have checklist to review the work products .
• They record the defect and inform the participants to rectify
those errors.
Static Code Review
• This is systematic review of the software source code without
executing the code.
• It checks the syntax of the code, coding standards, code
optimization, etc.
• This is also termed as white box testing.
• This review can be done at any point during development.
Advantages of Static Testing
• Since static testing can start early in the life cycle so early
feedback on quality issues can be established.
• As the defects are getting detected at an early stage so the
rework (Revise and rewrite) cost most often relatively low.
• Development productivity is likely to increase because of the
less rework effort.
Disadvantages of Static Testing
• Time consuming as conducted manually.
• Does not find vulnerabilities (Harm) introduced in runtime
environment.
• Limited trainee personnel to thoroughly conduct static code
analysis.
Thank You

More Related Content

What's hot (20)

Software testing
Software testingSoftware testing
Software testing
 
Software Testing 4/5
Software Testing 4/5Software Testing 4/5
Software Testing 4/5
 
Types of testing
Types of testingTypes of testing
Types of testing
 
White Box Testing
White Box TestingWhite Box Testing
White Box Testing
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Software testing
Software testing Software testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Defects in software testing
Defects in software testingDefects in software testing
Defects in software testing
 
White box ppt
White box pptWhite box ppt
White box ppt
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
System testing
System testingSystem testing
System testing
 
Software Quality Assurance in software engineering
Software Quality Assurance in software engineeringSoftware Quality Assurance in software engineering
Software Quality Assurance in software engineering
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software Testing
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing Introduction
 

Similar to Static Testing

Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Raj vardhan
 
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
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control softwareReetesh Gupta
 
03. static techniques
03. static techniques03. static techniques
03. static techniquesTricia Karina
 
Tester performance evaluation
Tester performance evaluationTester performance evaluation
Tester performance evaluationgaoliang641
 
Static techniques
Static techniquesStatic techniques
Static techniqueschayo rona
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysisWBUTTUTORIALS
 
Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniquesEgi Ilham Elnusa
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxPriyaFulpagare1
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceRizky Munggaran
 

Similar to Static Testing (20)

Static Testing
Static TestingStatic Testing
Static Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
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...
 
CTFL Module 03
CTFL Module 03CTFL Module 03
CTFL Module 03
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
 
Software Testing
Software Testing Software Testing
Software Testing
 
Tester performance evaluation
Tester performance evaluationTester performance evaluation
Tester performance evaluation
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Bab 3
Bab 3Bab 3
Bab 3
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 
Software testing
Software testingSoftware testing
Software testing
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
 

Recently uploaded

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Static Testing

  • 1. Static Testing Presented By : - Suraj Vishwakarma
  • 2. Outlines  What is Static Testing  Tools for Static Testing  Participants in Static Testing  Static Testing Techniques  Advantages of Static Testing  Disadvantages of Static Testing  Success factors for review
  • 3. • software testing technique in which the software is tested without executing the code. • Static testing is a software testing method that involves examination of program's code and its associated documentation. • Also called as Dry-Run Testing. • Programmers find any errors. Hence named ‘static’. • Static testing is a stage of White Box Testing. What is Static Testing
  • 4. What is Static Testing • Main objective of this testing is to improve the quality of software. • Finding errors in early stages of the development cycle. • Most static testing techniques can be used to ‘test’ any form of document including source code, design documents and models, functional specifications and requirement specifications.
  • 5. What is Static Testing Static Testing Review Static analysis
  • 7. Tools for Static Testing / Static Analysis - By Tools: • Following are the types of defects found by the tools during static analysis: • A variable with an undefined value • Variables that are declared but never used • Unreachable code (or) Dead Code • Programming standards violations • Security vulnerabilities(weakness reduce system information) • Syntax violations
  • 8. Participants in Static Test Moderator Author Scribe Reviewer Manager During a review five types of participants take part. They are:
  • 9. Participants in Static Testing The moderator • Also known as review leader • Performs entry check • Follow-up on the rework • Schedules the meeting • Coaches other team • Leads the possible discussion and stores the data that is collected
  • 10. Participants in Static Testing The author • Illuminate the unclear areas and understand the defects found • Basic goal should be to learn as much as possible with regard to improving the quality of the document. The scribe • Scribe is a separate person to do the logging of the defects found during the review.
  • 11. Participants in Static Testing The reviewers • Also known as checkers or inspectors • Check any material for defects, mostly prior to the meeting • The manager can also be involved in the review depending on his or her background. The managers • Manager decides on the execution of reviews • Allocates time in project schedules and determines whether review process objectives have been met
  • 12. Static Testing Techniques / Types of Reviews Informal Reviews Formal Reviews Technical Reviews Walk Through Inspection Process Static Code Review Low High
  • 13. Informal Review • Doesn't follow any process to find errors in the document, you just review the document and give informal comments on it. • Applied many times during the early stages of the life cycle of the document. • A two person team can conduct an informal review and in later stages more people are involved. • The most important thing to keep in mind about the informal reviews is that they are not documented
  • 14. Formal Review Formal reviews follow a formal process. It is well structured and regulated (Controlled). A formal review process consists of six main steps: 1. Planning 2. Kick-off 3. Preparation 4. Review meeting 5. Rework 6. Follow-up
  • 15. Technical Review • A team consisting of your peers, review the technical specification of the software product and checks whether it is suitable for the project. • They try to find any discrepancies in the specifications and standards followed. • This review concentrates mainly on the technical document related to the software such as Test Strategy, Test Plan and requirement specification documents.
  • 16. Walkthrough • The author of the work product explains the product to his team. • Participants can ask questions if any. • Meeting is led by the author. • Scribe makes note of review comments
  • 17. Inspection • The main purpose is to find defects and meeting is led by trained moderator. • This review is a formal type of review where it follows strict process to find the defects. • Reviewers have checklist to review the work products . • They record the defect and inform the participants to rectify those errors.
  • 18. Static Code Review • This is systematic review of the software source code without executing the code. • It checks the syntax of the code, coding standards, code optimization, etc. • This is also termed as white box testing. • This review can be done at any point during development.
  • 19. Advantages of Static Testing • Since static testing can start early in the life cycle so early feedback on quality issues can be established. • As the defects are getting detected at an early stage so the rework (Revise and rewrite) cost most often relatively low. • Development productivity is likely to increase because of the less rework effort.
  • 20. Disadvantages of Static Testing • Time consuming as conducted manually. • Does not find vulnerabilities (Harm) introduced in runtime environment. • Limited trainee personnel to thoroughly conduct static code analysis.