SlideShare una empresa de Scribd logo
1 de 19
SonarQube: ¿cómo de malo
es mi software?
Contenido
• ¿Qué es?
• Características
• Instalación
• Analizar un proyecto
• Conociendo Sonar
• Premios
• Referencias
¿Qué es?
• SonarQube (también conocido como
Sonar) es una plataforma open
source que nos permite gestionar
aquellas cosas que hemos hecho
mal en nuestro software de forma
consciente, o inconsciente, y que a la
larga nos pueden suponer más de un
quebradero de cabeza.
¿Qué es?
Características
• Mediante el análisis del código se obtienen
informes sobre:
• Código duplicado
• Estándares de codificación
• Tests
• Cobertura de pruebas
• Complejidad ciclomática
• Bugs potenciales
• Comentarios
• Diseño y arquitectura
Características
Características
• Almacena el histórico de métricas
• Ofrece gráficos de evolución (“time machine”) y
vistas comparativas
• Se integra con:
• Maven
• Ant
• Gradle
• Atlassian Bamboo
• Jenkins
• Hudson
• Eclipse
• JIRA
• LDAP
Características
Características
• Se puede extender mediante plugins
• Ofrece soporte para más de 25 lenguajes:
• Java
• C/C++
• C#
• PHP
• Flex
• Groovy
• JavaScript
• Python
• PL/SQL
• COBOL
• etc.
• También para desarrollo en Android.
Características
Características
1. Descargar de:
http://www.sonarqube.org/downloads/
2. Arrancar el servidor ejecutando:
1. C:sonarqubebinwindows-x86-
xxStartSonar.bat
2. /etc/sonarqube/bin/[OS]/sonar.sh console
3. Acceder a http://localhost:9000
4. El usuario administrador es admin/admin
Instalación
Características
• Añadir el siguiente profile al archivo
settings.xml o al pom.xml del proyecto
Analizar un proyecto con Maven
<profiles>
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
       </activation>
</profile>
</profiles>
• Ejecutar: mvn sonar:sonar
CaracterísticasConociendo Sonar: Home
CaracterísticasConociendo Sonar: Drill Down
CaracterísticasConociendo Sonar: Dashboard
CaracterísticasConociendo Sonar: Archivo
CaracterísticasConociendo Sonar: Time Machine
CaracterísticasConociendo Sonar: Time Machine
CaracterísticasConociendo Sonar: Perfiles de calidad
CaracterísticasConociendo Sonar: Puertas de calidad
CaracterísticasConociendo Sonar: Plugins
Premios
• Ganador del Jolt Productivity Award
en 2009 y 2010
Premios
Referencias
• Documentación oficial e imágenes usadas en esta
presentación:
http://docs.codehaus.org/display/SONAR/Docum
entation
• Para conocer el significado de las métricas
• http://www.javiergarzas.com/2013/09/metricas
-sonar-1.html
• http://www.javiergarzas.com/2013/09/metricas-sonar-
2.html
• http://www.javiergarzas.com/2013/09/metricas-sonar-
3.html
• Una lista con los 10 mejores plugins:
http://www.javiergarzas.com/2012/04/plugins-
sonar.html
Referencias

Más contenido relacionado

La actualidad más candente

Track code quality with SonarQube - short version
Track code quality with SonarQube - short versionTrack code quality with SonarQube - short version
Track code quality with SonarQube - short versionDmytro Patserkovskyi
 
Managing code quality with SonarQube
Managing code quality with SonarQubeManaging code quality with SonarQube
Managing code quality with SonarQubeRadu Vunvulea
 
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
 
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
SonarqubeSonarqube
SonarqubeKalkey
 
Code Quality Lightning Talk
Code Quality Lightning TalkCode Quality Lightning Talk
Code Quality Lightning TalkJonathan Gregory
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Processguest1f2740
 
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng NghĩaTech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng NghĩaNexus FrontierTech
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life CycleRIKSOF
 
Intro to Manual Testing
Intro to Manual TestingIntro to Manual Testing
Intro to Manual TestingAyah Soufan
 
software testing
 software testing software testing
software testingSara shall
 
IT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management ProcessIT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management ProcessYolanda Williams
 
Continuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in Prague
Continuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in PragueContinuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in Prague
Continuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in PragueRoman Pickl
 
Static code analysis with sonar qube
Static code analysis with sonar qubeStatic code analysis with sonar qube
Static code analysis with sonar qubeHayi Nukman
 
Software testing and test environment​
Software testing and test environment​Software testing and test environment​
Software testing and test environment​adhirasable
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaTop 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaEdureka!
 

La actualidad más candente (20)

Track code quality with SonarQube - short version
Track code quality with SonarQube - short versionTrack code quality with SonarQube - short version
Track code quality with SonarQube - short version
 
Sonarqube
SonarqubeSonarqube
Sonarqube
 
Managing code quality with SonarQube
Managing code quality with SonarQubeManaging code quality with SonarQube
Managing code quality with 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
 
Continuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQubeContinuous Inspection of Code Quality: SonarQube
Continuous Inspection of Code Quality: SonarQube
 
SQE Lecture 1.pptx
SQE Lecture 1.pptxSQE Lecture 1.pptx
SQE Lecture 1.pptx
 
SonarQube
SonarQubeSonarQube
SonarQube
 
Sonarqube
SonarqubeSonarqube
Sonarqube
 
Code Quality Lightning Talk
Code Quality Lightning TalkCode Quality Lightning Talk
Code Quality Lightning Talk
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng NghĩaTech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Intro to Manual Testing
Intro to Manual TestingIntro to Manual Testing
Intro to Manual Testing
 
software testing
 software testing software testing
software testing
 
IT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management ProcessIT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management Process
 
Continuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in Prague
Continuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in PragueContinuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in Prague
Continuous Code Quality with the Sonar Ecosystem @GeeCON 2017 in Prague
 
Static code analysis with sonar qube
Static code analysis with sonar qubeStatic code analysis with sonar qube
Static code analysis with sonar qube
 
Software testing and test environment​
Software testing and test environment​Software testing and test environment​
Software testing and test environment​
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaTop 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | Edureka
 

Similar a SonarQube: ¿cómo de malo es mi software?

Presentacion tema 5
Presentacion tema 5Presentacion tema 5
Presentacion tema 5Yurek Defret
 
Tecnologias de java usando netbeans por gio
Tecnologias de java usando netbeans por gioTecnologias de java usando netbeans por gio
Tecnologias de java usando netbeans por gioRobert Wolf
 
¿Cómo poner software de calidad en manos del usuario de forma rápida?
¿Cómo poner software de calidad en manos del usuario de forma rápida?¿Cómo poner software de calidad en manos del usuario de forma rápida?
¿Cómo poner software de calidad en manos del usuario de forma rápida?Micael Gallego
 
Trabajo avila
Trabajo avilaTrabajo avila
Trabajo avilaadezhiz
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]142918
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-softwaresamantha
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]142918
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-softwareJAPR
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]tanztanz
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]diana
 
Software[1]
Software[1]Software[1]
Software[1]erikapoh
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]tanztanz
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-softwareMaria
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-softwareRamon
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-softwaremat3matik
 

Similar a SonarQube: ¿cómo de malo es mi software? (20)

Presentacion tema 5
Presentacion tema 5Presentacion tema 5
Presentacion tema 5
 
"Al rico" PHP
"Al rico" PHP"Al rico" PHP
"Al rico" PHP
 
Introduccion Java.ppt
Introduccion Java.pptIntroduccion Java.ppt
Introduccion Java.ppt
 
Tecnologias de java usando netbeans por gio
Tecnologias de java usando netbeans por gioTecnologias de java usando netbeans por gio
Tecnologias de java usando netbeans por gio
 
Meetup Oracle Technology MAD_BCN: 6.2 DevOps y DataOps
Meetup Oracle Technology MAD_BCN: 6.2 DevOps y DataOpsMeetup Oracle Technology MAD_BCN: 6.2 DevOps y DataOps
Meetup Oracle Technology MAD_BCN: 6.2 DevOps y DataOps
 
¿Cómo poner software de calidad en manos del usuario de forma rápida?
¿Cómo poner software de calidad en manos del usuario de forma rápida?¿Cómo poner software de calidad en manos del usuario de forma rápida?
¿Cómo poner software de calidad en manos del usuario de forma rápida?
 
Trabajo avila
Trabajo avilaTrabajo avila
Trabajo avila
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-software
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-software
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]
 
Clase 5
Clase 5Clase 5
Clase 5
 
Software[1]
Software[1]Software[1]
Software[1]
 
Software
Software Software
Software
 
Clase 5-software[1]
Clase 5-software[1]Clase 5-software[1]
Clase 5-software[1]
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-software
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-software
 
Clase 5-software
Clase 5-softwareClase 5-software
Clase 5-software
 

Último

ESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOS
ESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOSESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOS
ESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOSBeatrizGonzales19
 
2da. Clase Mecanografía e introducción a Excel (2).pptx
2da. Clase Mecanografía e introducción a Excel (2).pptx2da. Clase Mecanografía e introducción a Excel (2).pptx
2da. Clase Mecanografía e introducción a Excel (2).pptxEncomiendasElSherpa
 
Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200Opentix
 
Trabajo de Powerpoint - Unsaac - Ofimática
Trabajo de Powerpoint - Unsaac - OfimáticaTrabajo de Powerpoint - Unsaac - Ofimática
Trabajo de Powerpoint - Unsaac - OfimáticaKANTUPAULAPORCELYUCR
 
Caso de Exito LPL Projects Logistics Spain y Business Central
Caso de Exito LPL Projects Logistics Spain y Business CentralCaso de Exito LPL Projects Logistics Spain y Business Central
Caso de Exito LPL Projects Logistics Spain y Business CentralAitana
 
Evaluación del riesgo tecnologías informáticas.pdf
Evaluación del riesgo tecnologías informáticas.pdfEvaluación del riesgo tecnologías informáticas.pdf
Evaluación del riesgo tecnologías informáticas.pdfGuillermoBarquero7
 

Último (6)

ESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOS
ESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOSESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOS
ESCRITORIO DE WINDOWS 11 Y SUS ELEMENTOS
 
2da. Clase Mecanografía e introducción a Excel (2).pptx
2da. Clase Mecanografía e introducción a Excel (2).pptx2da. Clase Mecanografía e introducción a Excel (2).pptx
2da. Clase Mecanografía e introducción a Excel (2).pptx
 
Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200
 
Trabajo de Powerpoint - Unsaac - Ofimática
Trabajo de Powerpoint - Unsaac - OfimáticaTrabajo de Powerpoint - Unsaac - Ofimática
Trabajo de Powerpoint - Unsaac - Ofimática
 
Caso de Exito LPL Projects Logistics Spain y Business Central
Caso de Exito LPL Projects Logistics Spain y Business CentralCaso de Exito LPL Projects Logistics Spain y Business Central
Caso de Exito LPL Projects Logistics Spain y Business Central
 
Evaluación del riesgo tecnologías informáticas.pdf
Evaluación del riesgo tecnologías informáticas.pdfEvaluación del riesgo tecnologías informáticas.pdf
Evaluación del riesgo tecnologías informáticas.pdf
 

SonarQube: ¿cómo de malo es mi software?