SlideShare uma empresa Scribd logo
1 de 23
SONAR 
BY 
PRABAKARAN.J
SONAR is an open source quality management platform, dedicated 
to continuously analyze and measure source code quality, from the 
portfolio to the method. As such, it covers the 7 axes of code 
quality. 
Architecture and Design 
Duplications 
Unit tests 
Comments 
Coding Rules 
Sources 
Potential bugs Complexity
Sonar has got a very efficient way of navigating, a balance between 
high-level view, dashboard, Time Machine and defect hunting tools. 
This enables to quickly uncover projects and / or components that 
are in Technical Debt to establish action plans. 
Portfolio 
view 
Project 
insight 
Source 
code 
Hunting Tool Box 
Action Plans
Extend with plugins: 
Covering new languages, adding rules engines, computing advanced 
metrics can be done through a powerful extension mechanism. 
More than 50 plugins are already available. 
Quality is central: 
Sonar is a web-based application. Rules, alerts, thresholds, 
exclusions, settings can be configured online. By leveraging its 
database, Sonar not only allows to combine metrics altogether but 
also to mix them with historical measures. 
Languages covered: 
Java is built in. Open Source and commercial plugins enable to cover C, C#, Flex, 
Natural, PHP, PL/SQL, Cobol and Visual Basic 6.
Architecture Overview
Installation and Configuration 
Prerequisite: 
The only prerequisite to run Sonar is to have Java (Oracle JDK 1.5 
onwards) installed on your machine. 
Hardware Requirements: 
1.The Sonar web server requires at least 500Mb of RAM to run 
efficiently. 
2.In terms of data space and as an indication, on Nemo the public 
instance of Sonar, 10 Go of data space are used to analyze more than 
13 millions Lines of Code with a history of 4 years. Nemo is currently 
running on a Amazon EC2 small instance. 
3.To get the full experience Sonar has to offer, you should enable 
Javascript in your browser.
Sonar is made of 3 components: 
1.A Database that stores the configuration and results of quality analysis 
2.A Web Server that is used to navigate the results of the analyzes and make 
configuration 
3.A Client that will run source code analyzers to compute data on projects
Installing Sonar Server 
Prior to the installation, check the requirements. 
Download and unzip the distribution. sonar-3.2.zip 
from 
http://www.sonarsource.org/downloads/
Start the SONAR based on your OS go to binwindows-x86-32
Launch the sonar to browser 
http://hostaddress:9000
For login 
User:admin 
Password:admin
Installing and Configuring Ant Task
Features: 
The Sonar Ant Task allows to integrate Sonar into a build script for 
Apache Ant to analyze a project with Sonar. 
Prerequisites: 
•Ant 1.7.1 or higher 
•Java 1.5 or higher 
Scope of Analysis: 
Sonar has capability to perform analysis on 15+ languages.The 
outcome of this analysis is going to be mainly measures of metrics 
and violations of coding rules. However, what gets analyzed by Sonar 
will vary depending on the language analyzed: 
•On all languages, Sonar performs static analysis of source 
code (java files, Cobol programs, etc.) 
•Sonar can perform static analysis of compiled code on certain 
languages (.class files or jars in Java, dll files in C#, etc.) 
•Sonar can perform dynamic analysis of code on certain 
languages (execution of unit tests in Java, C#, etc.)
Projects List:
Project Dashboard:
Hotspots:
Reviews:
Time Machine:
Components :
Violations Drilldown:
Clouds:
Libraries:
Reference: 
http://www.sonarsource.org/downloads/ 
http://docs.codehaus.org/display/SONAR/Installing+Sonar

Mais conteúdo relacionado

Mais procurados

Code Quality Lightning Talk
Code Quality Lightning TalkCode Quality Lightning Talk
Code Quality Lightning TalkJonathan Gregory
 
SonarQube: Continuous Code Inspection
SonarQube: Continuous Code InspectionSonarQube: Continuous Code Inspection
SonarQube: Continuous Code InspectionMichael Jesse
 
Managing code quality with SonarQube
Managing code quality with SonarQubeManaging code quality with SonarQube
Managing code quality with SonarQubeRadu Vunvulea
 
Continuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQubeContinuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQubeEmre Dündar
 
SonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code QualitySonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code QualityLarry Nung
 
Modern Monitoring [ with Prometheus ]
Modern Monitoring [ with Prometheus ]Modern Monitoring [ with Prometheus ]
Modern Monitoring [ with Prometheus ]Haggai Philip Zagury
 
Java Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeJava Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeAngelin R
 
The story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps EngineerThe story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps EngineerManu Pk
 
Swagger - make your API accessible
Swagger - make your API accessibleSwagger - make your API accessible
Swagger - make your API accessibleVictor Trakhtenberg
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineAnatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineRobert McDermott
 
SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ? SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ? Geeks Anonymes
 
Introduction to appDynamics
Introduction to appDynamics Introduction to appDynamics
Introduction to appDynamics Siddhanta Rath
 
Sonar Tool - JAVA code analysis
Sonar Tool - JAVA code analysisSonar Tool - JAVA code analysis
Sonar Tool - JAVA code analysisPrashant Gupta
 

Mais procurados (20)

Code Quality Lightning Talk
Code Quality Lightning TalkCode Quality Lightning Talk
Code Quality Lightning Talk
 
SonarQube: Continuous Code Inspection
SonarQube: Continuous Code InspectionSonarQube: Continuous Code Inspection
SonarQube: Continuous Code Inspection
 
Managing code quality with SonarQube
Managing code quality with SonarQubeManaging code quality with SonarQube
Managing code quality with SonarQube
 
Sonarqube
SonarqubeSonarqube
Sonarqube
 
Continuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQubeContinuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQube
 
SonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code QualitySonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code Quality
 
Modern Monitoring [ with Prometheus ]
Modern Monitoring [ with Prometheus ]Modern Monitoring [ with Prometheus ]
Modern Monitoring [ with Prometheus ]
 
Java Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeJava Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQube
 
The story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps EngineerThe story of SonarQube told to a DevOps Engineer
The story of SonarQube told to a DevOps Engineer
 
SonarQube Overview
SonarQube OverviewSonarQube Overview
SonarQube Overview
 
Sonar qube
Sonar qubeSonar qube
Sonar qube
 
Track code quality with SonarQube
Track code quality with SonarQubeTrack code quality with SonarQube
Track code quality with SonarQube
 
Building MAUI UI in C#.pptx
Building MAUI UI in C#.pptxBuilding MAUI UI in C#.pptx
Building MAUI UI in C#.pptx
 
Swagger - make your API accessible
Swagger - make your API accessibleSwagger - make your API accessible
Swagger - make your API accessible
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineAnatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
 
SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ? SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ?
 
Introduction to appDynamics
Introduction to appDynamics Introduction to appDynamics
Introduction to appDynamics
 
Sonar Tool - JAVA code analysis
Sonar Tool - JAVA code analysisSonar Tool - JAVA code analysis
Sonar Tool - JAVA code analysis
 
Greach'19 SonarLint
Greach'19 SonarLintGreach'19 SonarLint
Greach'19 SonarLint
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
 

Destaque (16)

Sonar
SonarSonar
Sonar
 
SONAR
SONARSONAR
SONAR
 
Sonar
SonarSonar
Sonar
 
Sonar system
Sonar systemSonar system
Sonar system
 
SONAR
SONAR SONAR
SONAR
 
Radar and sonar subbu
Radar and sonar subbuRadar and sonar subbu
Radar and sonar subbu
 
atmospheric boundary layer studies
atmospheric boundary layer studiesatmospheric boundary layer studies
atmospheric boundary layer studies
 
Ch2 structure
Ch2 structureCh2 structure
Ch2 structure
 
Sonar technology ppt
Sonar technology pptSonar technology ppt
Sonar technology ppt
 
The Morning Glory, Rolling Cloud
The Morning Glory, Rolling CloudThe Morning Glory, Rolling Cloud
The Morning Glory, Rolling Cloud
 
Lapisan Batas Atmosfer
Lapisan Batas AtmosferLapisan Batas Atmosfer
Lapisan Batas Atmosfer
 
Sonar Principles Asw Analysis
Sonar Principles Asw AnalysisSonar Principles Asw Analysis
Sonar Principles Asw Analysis
 
Sonar Metrics
Sonar MetricsSonar Metrics
Sonar Metrics
 
Sonar Overview
Sonar OverviewSonar Overview
Sonar Overview
 
PPT ON SOUND
PPT ON SOUNDPPT ON SOUND
PPT ON SOUND
 
Boundary layer equation
Boundary layer equationBoundary layer equation
Boundary layer equation
 

Semelhante a Sonar

Code Review with Sonar
Code Review with SonarCode Review with Sonar
Code Review with SonarMax Kleiner
 
CiklumJavaSat15112011:Alexey Trusov-Code quality management
CiklumJavaSat15112011:Alexey Trusov-Code quality managementCiklumJavaSat15112011:Alexey Trusov-Code quality management
CiklumJavaSat15112011:Alexey Trusov-Code quality managementCiklum Ukraine
 
Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Nagaraju Repala
 
Java Code Quality Tools
Java Code Quality ToolsJava Code Quality Tools
Java Code Quality ToolsAnju ML
 
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...Jean Vanderdonckt
 
JDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDKJDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDKWolfgang Weigend
 
Voicebasedsrs 130319103050-phpapp02
Voicebasedsrs 130319103050-phpapp02Voicebasedsrs 130319103050-phpapp02
Voicebasedsrs 130319103050-phpapp02Lokesh Loki
 
INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11Senturus
 

Semelhante a Sonar (20)

postgres.pptx
postgres.pptxpostgres.pptx
postgres.pptx
 
Maven.pptx
Maven.pptxMaven.pptx
Maven.pptx
 
Code Review with Sonar
Code Review with SonarCode Review with Sonar
Code Review with Sonar
 
CiklumJavaSat15112011:Alexey Trusov-Code quality management
CiklumJavaSat15112011:Alexey Trusov-Code quality managementCiklumJavaSat15112011:Alexey Trusov-Code quality management
CiklumJavaSat15112011:Alexey Trusov-Code quality management
 
C.V. of Santanu Chatterjee
C.V. of Santanu ChatterjeeC.V. of Santanu Chatterjee
C.V. of Santanu Chatterjee
 
Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)
 
mydevops.pptx
mydevops.pptxmydevops.pptx
mydevops.pptx
 
Sonar En
Sonar EnSonar En
Sonar En
 
Oracle sun studio
Oracle sun studioOracle sun studio
Oracle sun studio
 
Remote Web Desk
Remote Web DeskRemote Web Desk
Remote Web Desk
 
Java Code Quality Tools
Java Code Quality ToolsJava Code Quality Tools
Java Code Quality Tools
 
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
 
JDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDKJDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDK
 
Voicebasedsrs 130319103050-phpapp02
Voicebasedsrs 130319103050-phpapp02Voicebasedsrs 130319103050-phpapp02
Voicebasedsrs 130319103050-phpapp02
 
posterPDF
posterPDFposterPDF
posterPDF
 
Improve Android System Component Performance
Improve Android System Component PerformanceImprove Android System Component Performance
Improve Android System Component Performance
 
ABHAY_SHUKLA
ABHAY_SHUKLAABHAY_SHUKLA
ABHAY_SHUKLA
 
INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11
 
Golang testing
Golang testingGolang testing
Golang testing
 
Golang testing
Golang testingGolang testing
Golang testing
 

Mais de prabakaranbrick

Install and configure mongo db nosql db on windows
Install and configure mongo db nosql db on windowsInstall and configure mongo db nosql db on windows
Install and configure mongo db nosql db on windowsprabakaranbrick
 
Web services for remote portlets v01
Web services for remote portlets v01Web services for remote portlets v01
Web services for remote portlets v01prabakaranbrick
 
Jackrabbit setup configuration
Jackrabbit setup configurationJackrabbit setup configuration
Jackrabbit setup configurationprabakaranbrick
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portalprabakaranbrick
 
Hadoop cluster configuration
Hadoop cluster configurationHadoop cluster configuration
Hadoop cluster configurationprabakaranbrick
 
Installation and configure the oracle webcenter
Installation and configure the oracle webcenterInstallation and configure the oracle webcenter
Installation and configure the oracle webcenterprabakaranbrick
 

Mais de prabakaranbrick (9)

Install and configure mongo db nosql db on windows
Install and configure mongo db nosql db on windowsInstall and configure mongo db nosql db on windows
Install and configure mongo db nosql db on windows
 
Web services for remote portlets v01
Web services for remote portlets v01Web services for remote portlets v01
Web services for remote portlets v01
 
Jmeter
JmeterJmeter
Jmeter
 
Nuxeo dm installation
Nuxeo dm installationNuxeo dm installation
Nuxeo dm installation
 
Gwt portlet
Gwt portletGwt portlet
Gwt portlet
 
Jackrabbit setup configuration
Jackrabbit setup configurationJackrabbit setup configuration
Jackrabbit setup configuration
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portal
 
Hadoop cluster configuration
Hadoop cluster configurationHadoop cluster configuration
Hadoop cluster configuration
 
Installation and configure the oracle webcenter
Installation and configure the oracle webcenterInstallation and configure the oracle webcenter
Installation and configure the oracle webcenter
 

Último

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Sonar

  • 2. SONAR is an open source quality management platform, dedicated to continuously analyze and measure source code quality, from the portfolio to the method. As such, it covers the 7 axes of code quality. Architecture and Design Duplications Unit tests Comments Coding Rules Sources Potential bugs Complexity
  • 3. Sonar has got a very efficient way of navigating, a balance between high-level view, dashboard, Time Machine and defect hunting tools. This enables to quickly uncover projects and / or components that are in Technical Debt to establish action plans. Portfolio view Project insight Source code Hunting Tool Box Action Plans
  • 4. Extend with plugins: Covering new languages, adding rules engines, computing advanced metrics can be done through a powerful extension mechanism. More than 50 plugins are already available. Quality is central: Sonar is a web-based application. Rules, alerts, thresholds, exclusions, settings can be configured online. By leveraging its database, Sonar not only allows to combine metrics altogether but also to mix them with historical measures. Languages covered: Java is built in. Open Source and commercial plugins enable to cover C, C#, Flex, Natural, PHP, PL/SQL, Cobol and Visual Basic 6.
  • 6. Installation and Configuration Prerequisite: The only prerequisite to run Sonar is to have Java (Oracle JDK 1.5 onwards) installed on your machine. Hardware Requirements: 1.The Sonar web server requires at least 500Mb of RAM to run efficiently. 2.In terms of data space and as an indication, on Nemo the public instance of Sonar, 10 Go of data space are used to analyze more than 13 millions Lines of Code with a history of 4 years. Nemo is currently running on a Amazon EC2 small instance. 3.To get the full experience Sonar has to offer, you should enable Javascript in your browser.
  • 7. Sonar is made of 3 components: 1.A Database that stores the configuration and results of quality analysis 2.A Web Server that is used to navigate the results of the analyzes and make configuration 3.A Client that will run source code analyzers to compute data on projects
  • 8. Installing Sonar Server Prior to the installation, check the requirements. Download and unzip the distribution. sonar-3.2.zip from http://www.sonarsource.org/downloads/
  • 9. Start the SONAR based on your OS go to binwindows-x86-32
  • 10. Launch the sonar to browser http://hostaddress:9000
  • 11. For login User:admin Password:admin
  • 13. Features: The Sonar Ant Task allows to integrate Sonar into a build script for Apache Ant to analyze a project with Sonar. Prerequisites: •Ant 1.7.1 or higher •Java 1.5 or higher Scope of Analysis: Sonar has capability to perform analysis on 15+ languages.The outcome of this analysis is going to be mainly measures of metrics and violations of coding rules. However, what gets analyzed by Sonar will vary depending on the language analyzed: •On all languages, Sonar performs static analysis of source code (java files, Cobol programs, etc.) •Sonar can perform static analysis of compiled code on certain languages (.class files or jars in Java, dll files in C#, etc.) •Sonar can perform dynamic analysis of code on certain languages (execution of unit tests in Java, C#, etc.)