SlideShare a Scribd company logo
Prashant Gupta
Introduction to Sonar
This Presentation is About
oCode Analysis, not Run-Time monitoring
oThis Presentation is NOT about Performance Analysis Tools
•Profiling
•Jconsole or other Dynamic Memory Monitoring
•Debugging Tools
Code Review Tools
Advantages of Code Review Tools
Aid in comparing before and after changes
Source Code repository integration.
FindBugs,PMD,CheckStyle,Jdepend,Javancss..etc
SONAR
o A platform to manage code quality
o Free, open source, web-based portal
o Backed by
o Aggregates well-known tools
•Static analysis (PMD, findbugs, Checkstyle)
•Duplicate code (Squid, CPD)
•Code coverage (Cobertura, JaCoCo)
Why?
Code quality analysis helps you to make your code:
less error-prone
more reliable
more readable
more welcoming to new contributors
SONAR Portal
SONAR– Basic statistics
SONAR Example –
Front Dashboard
SONAR Application
Dashboard
SONAR Violations
Drilldown
SONAR Hotspots
SONAR Drilldown
continue ...
Sonar Tool - JAVA code analysis

More Related Content

PPTX
Sonarqube
PDF
Java Source Code Analysis using SonarQube
PDF
Continuous Inspection of Code Quality: SonarQube
PPTX
Track code quality with SonarQube - short version
PDF
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
PDF
SonarQube
PDF
SonarQube - Should I Stay or Should I Go ?
PPTX
Static Analysis with Sonarlint
Sonarqube
Java Source Code Analysis using SonarQube
Continuous Inspection of Code Quality: SonarQube
Track code quality with SonarQube - short version
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
SonarQube
SonarQube - Should I Stay or Should I Go ?
Static Analysis with Sonarlint

What's hot (20)

PDF
Tracking and improving software quality with SonarQube
PPTX
SonarQube Presentation.pptx
PPTX
PDF
Code Quality Lightning Talk
PPTX
SonarQube - The leading platform for Continuous Code Quality
PPTX
Track code quality with SonarQube
PDF
BDD & Cucumber
PPT
SonarQube Overview
PPTX
Code review
PPTX
Sonar Review
PDF
Incidents - The Shorter, the Better with the Quality Engineering Discipline
PDF
Introduction to BDD with Cucumber for Java
PPTX
Sonar Overview
PPTX
Cucumber_Training_ForQA
PPT
Basic Guide to Manual Testing
PPT
Types of Software Testing
PPTX
Static Code Analysis
PPTX
Introduction to Agile Testing
PPTX
Top 20 best automation testing tools
Tracking and improving software quality with SonarQube
SonarQube Presentation.pptx
Code Quality Lightning Talk
SonarQube - The leading platform for Continuous Code Quality
Track code quality with SonarQube
BDD & Cucumber
SonarQube Overview
Code review
Sonar Review
Incidents - The Shorter, the Better with the Quality Engineering Discipline
Introduction to BDD with Cucumber for Java
Sonar Overview
Cucumber_Training_ForQA
Basic Guide to Manual Testing
Types of Software Testing
Static Code Analysis
Introduction to Agile Testing
Top 20 best automation testing tools
Ad

Viewers also liked (7)

PPTX
SONAR
PPTX
Static Code Analysis
PPTX
Static code analysis with sonar qube
PPTX
Static code analysis
PDF
Static Analysis and Code Optimizations in Glasgow Haskell Compiler
PDF
Sonar Metrics
PDF
Static Code Analysis
SONAR
Static Code Analysis
Static code analysis with sonar qube
Static code analysis
Static Analysis and Code Optimizations in Glasgow Haskell Compiler
Sonar Metrics
Static Code Analysis
Ad

Similar to Sonar Tool - JAVA code analysis (20)

PPT
Sonar En
PPTX
PPT
CiklumJavaSat15112011:Alexey Trusov-Code quality management
PPTX
Training material sonar v1
PPTX
Sonar qube to impove code quality
PDF
Control source code quality using the SonarQube platform
PPTX
Blackboard DevCon 2012 - Ensuring Code Quality
PPTX
Paying Off Your Technical Debt
PDF
The story of SonarQube told to a DevOps Engineer
PPTX
SonarQube.pptx
PPTX
SonarQube: Continuous Code Inspection
DOCX
What is SonarQube in DevOps.docx
PPTX
mydevops.pptx
PPTX
Static-Code-Analysis-using-Sonar-Cloud new.pptx
PDF
Sonar In Action 20110302-vn
PPTX
Code checkup
PPTX
postgres.pptx
PPTX
A year of SonarQube and TFS/VSTS
PPTX
Java Code Quality Tools
Sonar En
CiklumJavaSat15112011:Alexey Trusov-Code quality management
Training material sonar v1
Sonar qube to impove code quality
Control source code quality using the SonarQube platform
Blackboard DevCon 2012 - Ensuring Code Quality
Paying Off Your Technical Debt
The story of SonarQube told to a DevOps Engineer
SonarQube.pptx
SonarQube: Continuous Code Inspection
What is SonarQube in DevOps.docx
mydevops.pptx
Static-Code-Analysis-using-Sonar-Cloud new.pptx
Sonar In Action 20110302-vn
Code checkup
postgres.pptx
A year of SonarQube and TFS/VSTS
Java Code Quality Tools

More from Prashant Gupta (10)

PPTX
Spark core
PPTX
Spark Sql and DataFrame
PPTX
Map Reduce
PPTX
Hadoop File system (HDFS)
PPTX
Apache PIG
PPTX
Map reduce prashant
PDF
PPTX
PPTX
Apache HBase™
PPTX
Mongodb - NoSql Database
Spark core
Spark Sql and DataFrame
Map Reduce
Hadoop File system (HDFS)
Apache PIG
Map reduce prashant
Apache HBase™
Mongodb - NoSql Database

Recently uploaded (20)

PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
assetexplorer- product-overview - presentation
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
Digital Strategies for Manufacturing Companies
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Transform Your Business with a Software ERP System
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
System and Network Administraation Chapter 3
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
assetexplorer- product-overview - presentation
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Digital Strategies for Manufacturing Companies
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Computer Software and OS of computer science of grade 11.pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Navsoft: AI-Powered Business Solutions & Custom Software Development
Digital Systems & Binary Numbers (comprehensive )
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Odoo Companies in India – Driving Business Transformation.pdf
CHAPTER 2 - PM Management and IT Context
Transform Your Business with a Software ERP System
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Designing Intelligence for the Shop Floor.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
System and Network Administraation Chapter 3
Why Generative AI is the Future of Content, Code & Creativity?

Sonar Tool - JAVA code analysis

Editor's Notes

  • #3: Profiling :  The ability to analyze the performance of a Java program or to gain a comprehensive understanding of the overall performance of an application. Crucial data on object allocations, garbage collection cycles, object references, method time stamps, and thread or object  interactions can be displayed and aid in determining which components of code are heaveily effecting the overall performance of a program. The set of profiling tools available in the market for Profiling and Logging perspective. Jconsole :The JConsole graphical user interface is a monitoring tool that complies to the Java Management Extensions (JMX) specification. JConsole uses the extensive instrumentation of the Java Virtual Machine (Java VM) to provide information about the performance and resource consumption of applications running on the Java platform. Debugging tools : Having ability to debug java program enables to find you any subtle bug which is not visible during code review or comes when a particular condition offer Read more: http://javarevisited.blogspot.com/2011/07/java-debugging-tutorial-example-tips.html#ixzz3AuOxULAC There are many types of debuggers, and numerous tools  available in the market Based on the requirements.
  • #5: Courtesy & Source : http://www.sonarqube.org/