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

Комментарии • 59

  • @LearnCodeWithBiswa
    @LearnCodeWithBiswa 3 года назад +1

    Java techie is one of the best channel

  • @mohammedshabbir1347
    @mohammedshabbir1347 3 года назад +2

    Very nice explanation. Thanks basant.

  • @zishanansari5583
    @zishanansari5583 3 года назад +1

    This is really very good, Keep it up sir

  • @chiranjeevikunchala1460
    @chiranjeevikunchala1460 4 года назад +3

    Thank you, Sir...your way of explanation very good and easy to understand

  • @nikhilbharne
    @nikhilbharne 6 лет назад +3

    Bro really helpful 👌👍👍👍

  • @gopensharma1201
    @gopensharma1201 3 года назад +1

    Good for learning. Thanks

  • @prasantasahoo2590
    @prasantasahoo2590 6 лет назад +1

    Thanks @Basant...it will help a lot....

  • @maweryoutube9852
    @maweryoutube9852 Год назад +1

    Amazing

  • @vndprasadgrandhi4344
    @vndprasadgrandhi4344 Год назад +1

    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 😊

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 2 года назад +1

    Thank you Sir..

  • @gopald7263
    @gopald7263 6 лет назад +1

    Awesome...

  • @debasish2332
    @debasish2332 4 года назад +1

    very good

  • @ainigma100
    @ainigma100 10 месяцев назад +1

    Great video! Can you please show the latest way of adding SonarQube to a spring boot 3 application using docker. Thank you in advance!

    • @Javatechie
      @Javatechie  10 месяцев назад +1

      Okay sure 👍

    • @ainigma100
      @ainigma100 10 месяцев назад

      Thank you!@@Javatechie

  • @rishiraj2548
    @rishiraj2548 Год назад +1

    👍💯

  • @b.vigneshhrithick6054
    @b.vigneshhrithick6054 4 года назад +1

    Thank you so much♥..

  • @kishordige9721
    @kishordige9721 Год назад

    Thank you so much

  • @ainigma100
    @ainigma100 2 года назад +1

    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.

    • @Javatechie
      @Javatechie  2 года назад +1

      You can set that rules

  • @arunbandari8936
    @arunbandari8936 3 года назад +2

    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.

    • @Javatechie
      @Javatechie  3 года назад +1

      In real-time your sonar cube need to integrate with Jenkins
      So that at the time of ci/cd it will evaluate code smell

    • @arunbandari8936
      @arunbandari8936 3 года назад

      @@Javatechie OK Thanq sir...

    • @arunbandari8936
      @arunbandari8936 3 года назад

      sir how maven plugin recognize location of SonarQube in local?

  • @bilalchandio1
    @bilalchandio1 Год назад

    How can we perform analysis on a standalone code without eclicpse and maven.

  • @rajasekar2756
    @rajasekar2756 2 года назад

    Cleaning or creating temp directory /opt/sonarqube/temp i got this exception please give me solution

  • @manishsingh-tu2gl
    @manishsingh-tu2gl 4 года назад +1

    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

    • @Javatechie
      @Javatechie  4 года назад

      Do you added Jacoco plugin proper version as per your requirement

    • @manishsingh-tu2gl
      @manishsingh-tu2gl 4 года назад

      @@Javatechie I am using jococo 0.8 version, my project is using Java 8

    • @manishsingh-tu2gl
      @manishsingh-tu2gl 4 года назад +1

      @@Javatechie there is something on my Console while running sonar:sonar command : 'sonar.coverage.jacoco.xmlReportPaths' is not defined .

    • @Javatechie
      @Javatechie  4 года назад

      Same just google it , it may be due to version incompatible am not sure for that

  • @VijaySingh-ol5tb
    @VijaySingh-ol5tb 4 года назад +1

    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

    • @ashu7pathak
      @ashu7pathak 2 года назад

      He told explicitly to use Long Term Support, but you used latest version :)

  • @AnilKumar-dt3sq
    @AnilKumar-dt3sq Год назад +1

    Hi Sir , how to cover this snippet. if(StringUtils.isNotBlank(value)

    • @Javatechie
      @Javatechie  Год назад

      Pass the null value in the method from where you are invoking this StringUtils

    • @AnilKumar-dt3sq
      @AnilKumar-dt3sq Год назад

      Sure, I will try. Thank you

  • @mahindrag9218
    @mahindrag9218 6 лет назад +1

    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

    • @Javatechie
      @Javatechie  6 лет назад

      Mahindra sure will let u know soon .may be some goal should be available .

    • @mahindrag9218
      @mahindrag9218 6 лет назад

      plz expln my dovt

  • @chenhdgaadd5635
    @chenhdgaadd5635 2 года назад +1

    why youtube can't give caption for your video

  • @andersonxavier83
    @andersonxavier83 4 года назад

    Do you have exanple using only C# ?

  • @KISHANKUMAR-pr6ew
    @KISHANKUMAR-pr6ew 2 года назад +1

    Does java8 support sonarqube?

    • @Javatechie
      @Javatechie  2 года назад

      Yes Java version doesn't matter here

  • @JoseCastro-ql1yl
    @JoseCastro-ql1yl Год назад +1

    good job, could you share the source code?

    • @Javatechie
      @Javatechie  Год назад

      Please check the video description

  • @sunilbehera2176
    @sunilbehera2176 6 лет назад +1

    i am not able to pass proper goals while maven build .

    • @sunilbehera2176
      @sunilbehera2176 6 лет назад +1

      by passing this i have done finally--> clean org.jacoco:jacoco-maven-plugin:prepare-agent

    • @Javatechie
      @Javatechie  6 лет назад +1

      Which build u r not able to run?

    • @sunilbehera2176
      @sunilbehera2176 6 лет назад +1

      After accessing the sonarqube in browser I am not able to see my project .

    • @Javatechie
      @Javatechie  6 лет назад

      sunil run once mvn:install then sonar:sonar refresh your browser.

  • @9861011496
    @9861011496 4 года назад +1

    Bhai Odia Ki ??😬🤐
    I'm a Full Time Pentester ,
    Need Source Code Review Suggestions

  • @bathulanagendra4621
    @bathulanagendra4621 5 лет назад

    Sir How to give jacoco command in Gradle

  • @chintunayak988
    @chintunayak988 5 лет назад

    brother plz make a video on code debugging

  • @zhrgci
    @zhrgci Год назад

    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 '-'