Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Code Analysis with SonarQube in Android project
Search
Hieu Vu
November 14, 2023
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Code Analysis with SonarQube in Android project
Lightning talk with Android Developers at Nab in Huddle session
Hieu Vu
November 14, 2023
More Decks by Hieu Vu
See All by Hieu Vu
Moboarding Triage - Mobile Banking Showcase
hieuwu
0
38
Integrate GitHub Actions with Teams
hieuwu
0
170
The Law of Demeter
hieuwu
0
300
Lottie & LottieFiles Introduction
hieuwu
0
48
Project X - UX UI Resume Tailoring
hieuwu
0
100
Kitemetric - Company Management Software Introduction
hieuwu
0
71
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.9k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Done Done
chrislema
187
17k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
Mind Mapping
helmedeiros
1
370
The browser strikes back
jonoalderson
0
1.7k
Writing Fast Ruby
sferik
630
63k
Transcript
Code Analysis in Android project with SonarQube Funky Bags Squad
Presenter: Hieu Vu
About Sonar equips developers and organizations to systematically achieve a
state of Clean Code so that all code is fit for development and production.
Benefits
SonarQube vs SonarCloud Self-managed static analysis tool for continuous codebase
inspection Cloud-based static analysis tool for your CI/CD workflows
Local setup 1 Download SonarQube from official site. (https://www.sonarsource.com/products/sonarqube/downloads/)
Local setup Local setup 2 Extract and run the bash
file according to your OS It is located at bin folder
Local setup Local setup 3 Open terminal, run ./sonar.sh start
Local setup Local setup 4 Open browser, go to http://localhost:9000/
Default account: admin/admin
Local setup Local setup 5 After logging in successfully, a
dashboard will be displays Click on Create Project > Manually & fill in project information
Local setup Local setup 6 Select first option for simplicity
then click Create Project
Local setup Local setup 7 Select DevOps tools you want
to integrate with, it will provide instruction We will choose Locally
Local setup Local setup 8 Generate token & follow instruction
to run code analysis
Android Setup 9 Add plugin in build.gradle (app)
Android Setup 10 Open terminal, copy command from SonarQube and
run
Analysis Result
Analysis Result
Analysis Result
Analysis Result
Demo