STATIC ANALYSIS BY
TOOLS
http://appium-selenium.com/
STATIC ANALYSIS BY TOOLS
• Compiler can be considered a static analysis tool
• Static analysis tools are typically used by developers before, and
sometimes during, component and integration testing and by
designers during software modeling
• 1000 lines of code will contain many error which cannot be tested by
dynamic testing
• Tests the code hence improve quality, early detection of defects
http://appium-selenium.com/
CODING STANDARDS
• Classes name should start with capital letter
• Methods name should start with small letter
• Coding Standards save a lot of time
• In Static analyzer tool we enter the coding standards
• Developer can focus more on the program logic
http://appium-selenium.com/
CODE METRICS
• Comment frequency, complex coding, code size increasing
• 20% code consists of 80% of defects
• Cyclomatic complexity tells how much testing required for testing
IF A, B=1, C=4
THEN IF B > C
THEN A = B
ELSE A = C
ENDIF
ENDIF
Print A
No. of decisions + 1
2 + 1 =3
http://appium-selenium.com/
CODE STRUCTURE
• Control flow structure : dead code
• Data flow structure : Variables never used
• Data structure : information helps to identify data structures stack, queue allocation,
deletion etc. for designing test cases
http://appium-selenium.com/
THANKS
http://appium-selenium.com/

More Related Content

PPTX
Karishma Kolli – Myth Busters on Test Automation
PPTX
Software Testing
PPTX
Automated EMV Level 3 Testing - Abrantix Level 3 Player
PPTX
Password locker project
PDF
Do’s and don’ts of api testing
PPTX
Function in Python
PDF
Automation testing API in Java
PDF
Rate limits and performance Talk
Karishma Kolli – Myth Busters on Test Automation
Software Testing
Automated EMV Level 3 Testing - Abrantix Level 3 Player
Password locker project
Do’s and don’ts of api testing
Function in Python
Automation testing API in Java
Rate limits and performance Talk

What's hot (15)

PDF
Rate limits and Performance
PPTX
ADL e rx Portal
PPTX
Unit 3.1 Algorithm and Flowchart
PDF
Messenger-to-messenger testing. Skype call quality test.
PPTX
Addmen omr operation & screenshots
PDF
What is Automation Testing?
PDF
Final Poster Presentation
ODP
Accelerate Quality with Postman - Basics
PPTX
Automated Performance Testing
PPT
Flash automation tools benchmarking v3
PDF
Just Enough (Automated) Testing
PPTX
An introduction to api testing | David Tzemach
PPTX
QSpiders - Chapter- 3 Synchronization point
PPTX
Mobile application testing
PPTX
Creating high rated and reliable Windows 8 application
Rate limits and Performance
ADL e rx Portal
Unit 3.1 Algorithm and Flowchart
Messenger-to-messenger testing. Skype call quality test.
Addmen omr operation & screenshots
What is Automation Testing?
Final Poster Presentation
Accelerate Quality with Postman - Basics
Automated Performance Testing
Flash automation tools benchmarking v3
Just Enough (Automated) Testing
An introduction to api testing | David Tzemach
QSpiders - Chapter- 3 Synchronization point
Mobile application testing
Creating high rated and reliable Windows 8 application
Ad

Similar to Static analysis by tools (20)

PPTX
White box testing
PDF
Arun kumar Dharmalingam[3y_10m].pdf
PPTX
Types of test tools
PPT
Software coding & testing, software engineering
PPTX
Advanced Software Test Automation
PPTX
Testing, a pragmatic approach
PPTX
Small is Beautiful- Fully Automate your Test Case Design
PPT
Software Testing
PPTX
Next-gen Automation Framework
PPTX
Test automation lesson
PPTX
CodeChecker Overview Nov 2019
PPTX
Fault_Simulation_and_ATPG_Expanded_Presentation (1).pptx
PPTX
Software_Testing_Techniques_undergraduate.pptx
PPTX
19 Software Testing Techniques presentation file.pptx
PPTX
Design Like a Pro: Scripting Best Practices
PPT
4.3_Unit Testing.ppt gfdfghhhhhhhhhhhhh
PPTX
Design Like a Pro: Scripting Best Practices
PPTX
Unit_5 and Unit 6.pptx
PPT
01. Introduction.ppt for the students basis
PPT
Software Coding- Software Coding
White box testing
Arun kumar Dharmalingam[3y_10m].pdf
Types of test tools
Software coding & testing, software engineering
Advanced Software Test Automation
Testing, a pragmatic approach
Small is Beautiful- Fully Automate your Test Case Design
Software Testing
Next-gen Automation Framework
Test automation lesson
CodeChecker Overview Nov 2019
Fault_Simulation_and_ATPG_Expanded_Presentation (1).pptx
Software_Testing_Techniques_undergraduate.pptx
19 Software Testing Techniques presentation file.pptx
Design Like a Pro: Scripting Best Practices
4.3_Unit Testing.ppt gfdfghhhhhhhhhhhhh
Design Like a Pro: Scripting Best Practices
Unit_5 and Unit 6.pptx
01. Introduction.ppt for the students basis
Software Coding- Software Coding
Ad

More from Vaibhav Dash (20)

PPTX
Why need software testing
PPTX
What is testing
PPTX
Waterfall model
PPTX
V model
PPTX
Types of reviews
PPTX
The psychology of testing
PPTX
Test progress, monitoring and control
PPTX
Test organization
PPTX
System testing
PPTX
Structure testing
PPTX
Static testing
PPTX
Specification based (black-box) testing techniques
PPTX
Seven testing principles
PPTX
Roles and responsibilties in reviews
PPTX
Risk & testing
PPTX
Rapid application development model
PPTX
Phases of review
PPTX
Non functional testing
PPTX
Maintenance testing
PPTX
Iterative model
Why need software testing
What is testing
Waterfall model
V model
Types of reviews
The psychology of testing
Test progress, monitoring and control
Test organization
System testing
Structure testing
Static testing
Specification based (black-box) testing techniques
Seven testing principles
Roles and responsibilties in reviews
Risk & testing
Rapid application development model
Phases of review
Non functional testing
Maintenance testing
Iterative model

Recently uploaded (20)

PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PDF
FYJC - Chemistry textbook - standard 11.
PDF
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...
PDF
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
PPTX
Approach to a child with acute kidney injury
PDF
IS1343_2012...........................pdf
PPTX
Neurology of Systemic disease all systems
PPTX
Unit1_Kumod_deeplearning.pptx DEEP LEARNING
PPTX
Math 2 Quarter 2 Week 1 Matatag Curriculum
PPTX
Neurological complocations of systemic disease
PDF
Physical pharmaceutics two in b pharmacy
PDF
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
PPTX
CHROMIUM & Glucose Tolerance Factor.pptx
PPTX
Diploma pharmaceutics notes..helps diploma students
PPTX
climate change of delhi impacts on climate and there effects
DOCX
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
PPT
hsl powerpoint resource goyloveh feb 07.ppt
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
Review of Related Literature & Studies.pdf
PDF
Health aspects of bilberry: A review on its general benefits
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
FYJC - Chemistry textbook - standard 11.
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
Approach to a child with acute kidney injury
IS1343_2012...........................pdf
Neurology of Systemic disease all systems
Unit1_Kumod_deeplearning.pptx DEEP LEARNING
Math 2 Quarter 2 Week 1 Matatag Curriculum
Neurological complocations of systemic disease
Physical pharmaceutics two in b pharmacy
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
CHROMIUM & Glucose Tolerance Factor.pptx
Diploma pharmaceutics notes..helps diploma students
climate change of delhi impacts on climate and there effects
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
hsl powerpoint resource goyloveh feb 07.ppt
Laparoscopic Imaging Systems at World Laparoscopy Hospital
Review of Related Literature & Studies.pdf
Health aspects of bilberry: A review on its general benefits

Static analysis by tools

  • 2. STATIC ANALYSIS BY TOOLS • Compiler can be considered a static analysis tool • Static analysis tools are typically used by developers before, and sometimes during, component and integration testing and by designers during software modeling • 1000 lines of code will contain many error which cannot be tested by dynamic testing • Tests the code hence improve quality, early detection of defects http://appium-selenium.com/
  • 3. CODING STANDARDS • Classes name should start with capital letter • Methods name should start with small letter • Coding Standards save a lot of time • In Static analyzer tool we enter the coding standards • Developer can focus more on the program logic http://appium-selenium.com/
  • 4. CODE METRICS • Comment frequency, complex coding, code size increasing • 20% code consists of 80% of defects • Cyclomatic complexity tells how much testing required for testing IF A, B=1, C=4 THEN IF B > C THEN A = B ELSE A = C ENDIF ENDIF Print A No. of decisions + 1 2 + 1 =3 http://appium-selenium.com/
  • 5. CODE STRUCTURE • Control flow structure : dead code • Data flow structure : Variables never used • Data structure : information helps to identify data structures stack, queue allocation, deletion etc. for designing test cases http://appium-selenium.com/