Sonarqube Notes – 23 July – 2023

PLAN 	Code   Ana 	Build 	UT 	Pack 	Arch  Dep2Qa AT
==========================================================
					CI
Jira	Python	Sonarqube
Conf	Git

Sonarqube
========================================
Quality mgmt tool
Release
	Community
	Dev
	Ente
	https://www.sonarsource.com/products/sonarqube/downloads/
	From SonarSource
	Java

	Quality
	- Code Quality
	- Test Quality
--------------------------------
Code Quality
	PEER Code Review
	Static Code Review
		Code Would review Code
		1 Code Would review 1 Scenario
		100 Code Would review 100 Scenario
		rule would review the Code 
		100 rule would review the Code 
		tool would review the code

		sca tool would review the code

Why SonarQube?
--------------------
	70% of BUGS found in the software..Coz of Bad Coding.

How it works?
-------------------------------------
		

Server
	Web
	DB
	ES --- DO NOT RUN WITH ROOT


   1  clear
    2  ls
    3  sudo apt update
    4  sudo apt install openjdk-17-jdk
    5  sudo apt install openjdk-17-jre
    6  java --version
    7  clear
    8  cls
    9  clear
   10  wget https://www.sonarsource.com/products/sonarqube/downloads/success-dow                               nload-community-edition/
   11  ls
   12  wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10                               .1.0.73491.zip
   13  clear
   14  ls
   15  unzip sonarqube-10.1.0.73491.zip
   16  sudo apt install unzip
   17  clear
   18  sudo apt install unzip
   19  unzip sonarqube-10.1.0.73491.zip
   20  clear
   21  ls
   22  cd sonarqube-10.1.0.73491/
   23  ls
   24  cd bin
   25  ls
   26  cd linux-x86-64
   27  ls
   28  ./sonar.sh start
   29  ./sonar.sh status
   30  clear
   31  history


Source code
https://github.com/devopsschool-demo-labs-projects/java-sonarqube-helloworld-src

Scanner
https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner/


C:\tools\sonarqube\sonar-scanner-windows\bin\sonar-scanner.bat

============================
Microsoft
	Each dev shuuld write copy* on header

JAVA
==============================================
Sonarqube
Coverity



Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x