Java Source Code Analysis using SonarQube | Java Techie
HTML-код
- Опубликовано: 16 сен 2024
- This video explain you what is sonar and how to get start with sonar | example (code quality and code coverage )
GitHub:
github.com/Jav...
Blogs:
javagyanmantra...
Facebook Group :
/ 919464521471923
Like & Subscribe
Java techie is one of the best channel
Very nice explanation. Thanks basant.
This is really very good, Keep it up sir
Thank you, Sir...your way of explanation very good and easy to understand
Bro really helpful 👌👍👍👍
Good for learning. Thanks
Thanks @Basant...it will help a lot....
Amazing
Hi Bro, I am not understood and could you please do one more video on sonarqube.. Because it's confusing first 😢time after seeing this..I hope you understood.. Please integrate with sonarlint plugin and Eclipse 😊
Thank you Sir..
Awesome...
very good
Great video! Can you please show the latest way of adding SonarQube to a spring boot 3 application using docker. Thank you in advance!
Okay sure 👍
Thank you!@@Javatechie
👍💯
Thank you so much♥..
Thank you so much
Thank you for your video. Is it possible to ignore some files? For instance, I have a class called CustomValidation and I do not want SonarQube to take this class into account.
You can set that rules
sir how maven plugin recognize location of SonarQube. How to use in real time .I mean in real time they will install SonarQube in servers .how SonarQube recognize our source code to check quality.
In real-time your sonar cube need to integrate with Jenkins
So that at the time of ci/cd it will evaluate code smell
@@Javatechie OK Thanq sir...
sir how maven plugin recognize location of SonarQube in local?
How can we perform analysis on a standalone code without eclicpse and maven.
Cleaning or creating temp directory /opt/sonarqube/temp i got this exception please give me solution
Hi Basant, thanks for this wonderful tutorial , i have tried this everything works fine but one issue is there that code coverage always shows 0 , am i missing some configuration ? please reply. thanks
Do you added Jacoco plugin proper version as per your requirement
@@Javatechie I am using jococo 0.8 version, my project is using Java 8
@@Javatechie there is something on my Console while running sonar:sonar command : 'sonar.coverage.jacoco.xmlReportPaths' is not defined .
Same just google it , it may be due to version incompatible am not sure for that
Hello sir, I tried to do the same setup in my local by following your video. Everything went right but when i am going to sonarqube dashboard after executing jacoco and sonar command successfully, its showing project is not analyzed yet. Any help would be appreciated. Sonar version 7.3
He told explicitly to use Long Term Support, but you used latest version :)
Hi Sir , how to cover this snippet. if(StringUtils.isNotBlank(value)
Pass the null value in the method from where you are invoking this StringUtils
Sure, I will try. Thank you
supose i'm using ant build tool that time how can run sonarqube i see ur video run maven build inside goal u gived some path same thing in ant how can work plz expln once
Mahindra sure will let u know soon .may be some goal should be available .
plz expln my dovt
why youtube can't give caption for your video
Not sure buddy
Do you have exanple using only C# ?
Does java8 support sonarqube?
Yes Java version doesn't matter here
good job, could you share the source code?
Please check the video description
i am not able to pass proper goals while maven build .
by passing this i have done finally--> clean org.jacoco:jacoco-maven-plugin:prepare-agent
Which build u r not able to run?
After accessing the sonarqube in browser I am not able to see my project .
sunil run once mvn:install then sonar:sonar refresh your browser.
Bhai Odia Ki ??😬🤐
I'm a Full Time Pentester ,
Need Source Code Review Suggestions
ha ha
Sir How to give jacoco command in Gradle
brother plz make a video on code debugging
Hi Chintu ,will do
Just get Not authorized. Analyzing this project requires authentication. Please provide a user token in sonar.login or other credentials in sonar.login and sonar.password. But generated tokens don't work '-'