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
Static analysis by tools
PPTX
Static techniques
PPTX
Types of test tools
PPTX
Static testing
PPTX
Expanding the idea of static analysis from code check to other development pr...
PDF
Static Analysis: From Getting Started to Integration
PDF
Static code analysis
PPTX
Static code analysis
PPTX
Software engineering
PDF
0136 ideal static_analyzer
PDF
An ideal static analyzer, or why ideals are unachievable
PPTX
Top 10 static code analysis tool
PPTX
EVERYTHING ABOUT STATIC CODE ANALYSIS FOR A JAVA PROGRAMMER
PPT
Chapter 8 - Software Testing.ppt
PPTX
Testing Technique
PDF
What do static analysis and search engines have in common? A good "top"!
PPTX
Static analysis: Around Java in 60 minutes
PPTX
Static testing
PPTX
Static code analysis: what? how? why?
PPT
Verifcation &validation
Static analysis by tools
Static techniques
Types of test tools
Static testing
Expanding the idea of static analysis from code check to other development pr...
Static Analysis: From Getting Started to Integration
Static code analysis
Static code analysis
Software engineering
0136 ideal static_analyzer
An ideal static analyzer, or why ideals are unachievable
Top 10 static code analysis tool
EVERYTHING ABOUT STATIC CODE ANALYSIS FOR A JAVA PROGRAMMER
Chapter 8 - Software Testing.ppt
Testing Technique
What do static analysis and search engines have in common? A good "top"!
Static analysis: Around Java in 60 minutes
Static testing
Static code analysis: what? how? why?
Verifcation &validation
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
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
PPTX
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
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
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
CRP102_SAGALASSOS_Final_Projects_2025.pdf
PPTX
Education and Perspectives of Education.pptx
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
M.Tech in Aerospace Engineering | BIT Mesra
PDF
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
Journal of Dental Science - UDMY (2020).pdf
PDF
English Textual Question & Ans (12th Class).pdf
PPTX
UNIT_2-__LIPIDS[1].pptx.................
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
PDF
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
PPTX
Macbeth play - analysis .pptx english lit
PDF
Literature_Review_methods_ BRACU_MKT426 course material
PDF
Farming Based Livelihood Systems English Notes
PDF
Race Reva University – Shaping Future Leaders in Artificial Intelligence
PPTX
Climate Change and Its Global Impact.pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
CRP102_SAGALASSOS_Final_Projects_2025.pdf
Education and Perspectives of Education.pptx
Cambridge-Practice-Tests-for-IELTS-12.docx
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
M.Tech in Aerospace Engineering | BIT Mesra
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Environmental Education MCQ BD2EE - Share Source.pdf
Journal of Dental Science - UDMY (2020).pdf
English Textual Question & Ans (12th Class).pdf
UNIT_2-__LIPIDS[1].pptx.................
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
Macbeth play - analysis .pptx english lit
Literature_Review_methods_ BRACU_MKT426 course material
Farming Based Livelihood Systems English Notes
Race Reva University – Shaping Future Leaders in Artificial Intelligence
Climate Change and Its Global Impact.pptx

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/