SlideShare a Scribd company logo
Click to add Title
Static Testing
e-Infochips Institute of Training Research and Academics Limited
Prepared By:-
Dharita Chokshi
Outlines
• What is Static Testing
• Participants in Static Testing
• Static Testing Techniques
• Advantages of Static Testing
• Disadvantages of Static Testing
• Static v/s Dynamic Testing
• Tools for Static Testing
What is Static Testing?
• Static testing is a software testing method that
involves examination of program's code and its
associated documentation but does not require
the program to be executed.
• Also called as Dry-Run Testing.
• Requires programmers to manually read their
own code to find any errors. Hence named ‘static’.
• Static testing is a stage of White Box Testing.
What is Static Testing?
• Main objective of this testing is to improve the quality
of software products by 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.
Participants in Static Testing
During a review four types of participants take part. They
are:
1. Moderator
2. Author
3. Scribe
4. Reviewer
5. Manager
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
• Informal Reviews
• Formal Reviews
• Technical Reviews
• Walk Through
• Inspection Process
• Static Code Review
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 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.
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 introduced in runtime
environment.
• Limited trainee personnel to thoroughly conduct static
code analysis.
Static v/s Dynamic Testing
Static v/s Dynamic Testing
Static Testing Dynamic Testing
Testing is done without executing
the program
Testing is done by executing the
program
This testing does verification
process
Dynamic testing does validation
process
It is about prevention of defects It is about finding and fixing the
defects
Gives assessment of code and
documentation
Gives bugs/bottlenecks in the
software system.
Involves checklist and process to
be followed
Involves test cases for execution
Performed before compilation Performed after compilation
Static v/s Dynamic Testing
Static Testing Dynamic Testing
Covers the structural and statement
coverage testing
Covers the executable file of the
code
Cost of finding defects and fixing is
less
Cost of finding and fixing defects is
high
Return on investment will be high
as this process is involved at early
stage
Return on investment will be low as
this process is involved after the
development phase
More reviews comments are highly
recommended for good quality
More defects are highly
recommended for good quality.
Requires loads of meetings Comparatively requires lesser
meetings
Tools for Static Testing
• Checkstyle
• FindBugs
• IntelliJ IDEA
• Jarchitect
• Jtest
• LDRA Testbed
• PMD
• SemmleCode
• Sonargraph
• Soot
• Squale
• SonarQube
• SourceMeter
• ThreadSafe
Jtest – Static Testing Tool
Thank you

More Related Content

What's hot

Software Quality Assurance
Software Quality Assurance Software Quality Assurance
Software Quality Assurance
ShashankBajpai24
 
SDLC vs STLC
SDLC vs STLCSDLC vs STLC
SDLC vs STLC
David Tzemach
 
Software testing
Software testingSoftware testing
Black box software testing
Black box software testingBlack box software testing
Black box software testing
Rana Muhammad Asif
 
STLC
STLCSTLC
White box testing
White box testingWhite box testing
White box testing
Neethu Tressa
 
What Is Functional Testing?
What Is Functional Testing?What Is Functional Testing?
What Is Functional Testing?
QA InfoTech
 
Software testing
Software testingSoftware testing
Software testing
Omar Al-Bokari
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
guest1f2740
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
Garuda Trainings
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
University of Sargodha
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
Erol Selitektay
 
5 black box and grey box testing
5   black box and grey box testing5   black box and grey box testing
5 black box and grey box testing
Yisal Khan
 
Agile development, software engineering
Agile development, software engineeringAgile development, software engineering
Agile development, software engineering
Rupesh Vaishnav
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
Rathna Priya
 

What's hot (20)

Software Quality Assurance
Software Quality Assurance Software Quality Assurance
Software Quality Assurance
 
SDLC vs STLC
SDLC vs STLCSDLC vs STLC
SDLC vs STLC
 
Software testing
Software testingSoftware testing
Software testing
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
STLC
STLCSTLC
STLC
 
White box testing
White box testingWhite box testing
White box testing
 
What Is Functional Testing?
What Is Functional Testing?What Is Functional Testing?
What Is Functional Testing?
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
5 black box and grey box testing
5   black box and grey box testing5   black box and grey box testing
5 black box and grey box testing
 
Agile development, software engineering
Agile development, software engineeringAgile development, software engineering
Agile development, software engineering
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 

Similar to Static Testing

Static Testing
Static Testing Static Testing
Static Testing
Suraj Vishwakarma
 
CTFL Module 03
CTFL Module 03CTFL Module 03
CTFL Module 03
Davis Thomas
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
Tricia Karina
 
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
 
Software testing
Software testingSoftware testing
Software testing
sajedah abukhdeir
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
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
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
Reetesh Gupta
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
GNANAJESLINJ
 
Bab 3
Bab 3Bab 3
Static techniques
Static techniquesStatic techniques
Static techniques
chayo rona
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
sajedah abukhdeir
 
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
PriyaFulpagare1
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
marjuni .
 
Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
Egi Ilham Elnusa
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptx
MinsasWorld
 
Introduction to Artificial Intelligence Definition of Artificial Intelligenc...
Introduction to Artificial Intelligence  Definition of Artificial Intelligenc...Introduction to Artificial Intelligence  Definition of Artificial Intelligenc...
Introduction to Artificial Intelligence Definition of Artificial Intelligenc...
tecaviw979
 
Software Testing 4/5
Software Testing 4/5Software Testing 4/5
Software Testing 4/5
Damian T. Gordon
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
Bobi Henfajri Setiawan
 

Similar to Static Testing (20)

Static Testing
Static Testing Static Testing
Static Testing
 
CTFL Module 03
CTFL Module 03CTFL Module 03
CTFL Module 03
 
03. static techniques
03. static techniques03. static techniques
03. static 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...
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Bab 3
Bab 3Bab 3
Bab 3
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
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
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
 
Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptx
 
Introduction to Artificial Intelligence Definition of Artificial Intelligenc...
Introduction to Artificial Intelligence  Definition of Artificial Intelligenc...Introduction to Artificial Intelligence  Definition of Artificial Intelligenc...
Introduction to Artificial Intelligence Definition of Artificial Intelligenc...
 
Software Testing 4/5
Software Testing 4/5Software Testing 4/5
Software Testing 4/5
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
 

Recently uploaded

Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
ramrag33
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
riddhimaagrawal986
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
gaafergoudaay7aga
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 

Recently uploaded (20)

Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 

Static Testing

  • 1. Click to add Title Static Testing e-Infochips Institute of Training Research and Academics Limited Prepared By:- Dharita Chokshi
  • 2. Outlines • What is Static Testing • Participants in Static Testing • Static Testing Techniques • Advantages of Static Testing • Disadvantages of Static Testing • Static v/s Dynamic Testing • Tools for Static Testing
  • 3. What is Static Testing? • Static testing is a software testing method that involves examination of program's code and its associated documentation but does not require the program to be executed. • Also called as Dry-Run Testing. • Requires programmers to manually read their own code to find any errors. Hence named ‘static’. • Static testing is a stage of White Box Testing.
  • 4. What is Static Testing? • Main objective of this testing is to improve the quality of software products by 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. Participants in Static Testing During a review four types of participants take part. They are: 1. Moderator 2. Author 3. Scribe 4. Reviewer 5. Manager
  • 6. 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
  • 7. 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.
  • 8. 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
  • 9. Static Testing Techniques • Informal Reviews • Formal Reviews • Technical Reviews • Walk Through • Inspection Process • Static Code Review
  • 10. 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 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.
  • 11. 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
  • 12. 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.
  • 13. 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
  • 14. 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.
  • 15. 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.
  • 16. 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.
  • 17. Disadvantages of Static Testing • Time consuming as conducted manually. • Does not find vulnerabilities introduced in runtime environment. • Limited trainee personnel to thoroughly conduct static code analysis.
  • 19. Static v/s Dynamic Testing Static Testing Dynamic Testing Testing is done without executing the program Testing is done by executing the program This testing does verification process Dynamic testing does validation process It is about prevention of defects It is about finding and fixing the defects Gives assessment of code and documentation Gives bugs/bottlenecks in the software system. Involves checklist and process to be followed Involves test cases for execution Performed before compilation Performed after compilation
  • 20. Static v/s Dynamic Testing Static Testing Dynamic Testing Covers the structural and statement coverage testing Covers the executable file of the code Cost of finding defects and fixing is less Cost of finding and fixing defects is high Return on investment will be high as this process is involved at early stage Return on investment will be low as this process is involved after the development phase More reviews comments are highly recommended for good quality More defects are highly recommended for good quality. Requires loads of meetings Comparatively requires lesser meetings
  • 21. Tools for Static Testing • Checkstyle • FindBugs • IntelliJ IDEA • Jarchitect • Jtest • LDRA Testbed • PMD • SemmleCode • Sonargraph • Soot • Squale • SonarQube • SourceMeter • ThreadSafe
  • 22. Jtest – Static Testing Tool

Editor's Notes

  1. 1
  2. Verification and Validation are two measures used to check that the software product meets the requirements specifications. Static testing involves verification whereas dynamic testing involves validation. Together they help improve software quality.