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
Sonar Review
PDF
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
PPTX
Sonar qube
PPTX
Static Analysis with Sonarlint
PPTX
Defect life cycle and Defect Status Life Cycle
PDF
Java Source Code Analysis using SonarQube
PDF
Jenkins with SonarQube
PPTX
Sonar Review
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Sonar qube
Static Analysis with Sonarlint
Defect life cycle and Defect Status Life Cycle
Java Source Code Analysis using SonarQube
Jenkins with SonarQube

What's hot (20)

PDF
Tracking and improving software quality with SonarQube
PDF
The story of SonarQube told to a DevOps Engineer
PPTX
SonarQube: Continuous Code Inspection
PPTX
SonarQube Presentation.pptx
PPTX
Track code quality with SonarQube - short version
PDF
SonarQube - Should I Stay or Should I Go ?
PDF
Continuous Inspection of Code Quality: SonarQube
PPTX
Managing code quality with SonarQube
PPTX
Sonar Overview
PDF
Cucumber ppt
PDF
Code Quality Lightning Talk
PPTX
Sonarqube
PPTX
SonarQube - The leading platform for Continuous Code Quality
PPTX
Static code analysis with sonar qube
PDF
Greach'19 SonarLint
PPTX
BDD WITH CUCUMBER AND JAVA
PPTX
Track code quality with SonarQube
PPTX
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
PPT
SonarQube Overview
Tracking and improving software quality with SonarQube
The story of SonarQube told to a DevOps Engineer
SonarQube: Continuous Code Inspection
SonarQube Presentation.pptx
Track code quality with SonarQube - short version
SonarQube - Should I Stay or Should I Go ?
Continuous Inspection of Code Quality: SonarQube
Managing code quality with SonarQube
Sonar Overview
Cucumber ppt
Code Quality Lightning Talk
Sonarqube
SonarQube - The leading platform for Continuous Code Quality
Static code analysis with sonar qube
Greach'19 SonarLint
BDD WITH CUCUMBER AND JAVA
Track code quality with SonarQube
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
SonarQube Overview
Ad

Viewers also liked (6)

PPTX
SONAR
PPTX
Static Code Analysis
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
Static Analysis and Code Optimizations in Glasgow Haskell Compiler
Sonar Metrics
Static Code Analysis
Ad

Similar to Sonar Tool - JAVA code analysis (20)

PPTX
Blackboard DevCon 2012 - Ensuring Code Quality
PPTX
Java Code Quality Tools
PPT
Part5 - enforcing coding standard and best practices with jas forge v1.0
PPTX
postgres.pptx
PDF
Aliaksei Skobeleu "Taking Control Over Code Metrics"
PPTX
Static Code Analysis
PDF
Monitoring and Instrumentation Strategies: Tips and Best Practices - AppSphere16
PPTX
Jason Kent - AppSec Without Additional Tools
PDF
Static code analysis
PDF
Code Review with Sonar
PPT
CiklumJavaSat15112011:Alexey Trusov-Code quality management
PPTX
PPT
Sonar En
PPTX
Tech Days 2015: Static Analysis CodePeer
PPTX
Static-Code-Analysis-using-Sonar-Cloud new.pptx
PPTX
Rapid software testing and conformance with static code analysis
PPT
Code Quality - Security
PDF
Java Performance & Profiling
PDF
Software Analytics: Data Analytics for Software Engineering and Security
DOCX
What is SonarQube in DevOps.docx
Blackboard DevCon 2012 - Ensuring Code Quality
Java Code Quality Tools
Part5 - enforcing coding standard and best practices with jas forge v1.0
postgres.pptx
Aliaksei Skobeleu "Taking Control Over Code Metrics"
Static Code Analysis
Monitoring and Instrumentation Strategies: Tips and Best Practices - AppSphere16
Jason Kent - AppSec Without Additional Tools
Static code analysis
Code Review with Sonar
CiklumJavaSat15112011:Alexey Trusov-Code quality management
Sonar En
Tech Days 2015: Static Analysis CodePeer
Static-Code-Analysis-using-Sonar-Cloud new.pptx
Rapid software testing and conformance with static code analysis
Code Quality - Security
Java Performance & Profiling
Software Analytics: Data Analytics for Software Engineering and Security
What is SonarQube in DevOps.docx

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)

PDF
medical staffing services at VALiNTRY
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
history of c programming in notes for students .pptx
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Nekopoi APK 2025 free lastest update
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Digital Strategies for Manufacturing Companies
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Reimagine Home Health with the Power of Agentic AI​
medical staffing services at VALiNTRY
Wondershare Filmora 15 Crack With Activation Key [2025
history of c programming in notes for students .pptx
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Softaken Excel to vCard Converter Software.pdf
top salesforce developer skills in 2025.pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms I-SECS-1021-03
Odoo Companies in India – Driving Business Transformation.pdf
How to Migrate SBCGlobal Email to Yahoo Easily
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Nekopoi APK 2025 free lastest update
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
How to Choose the Right IT Partner for Your Business in Malaysia
Digital Strategies for Manufacturing Companies
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Reimagine Home Health with the Power of Agentic AI​

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/