Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Code Analysis with SonarQube in Android project
Search
Hieu Vu
November 14, 2023
95
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
29
Integrate GitHub Actions with Teams
hieuwu
0
160
The Law of Demeter
hieuwu
0
290
Lottie & LottieFiles Introduction
hieuwu
0
44
Project X - UX UI Resume Tailoring
hieuwu
0
97
Kitemetric - Company Management Software Introduction
hieuwu
0
69
Featured
See All Featured
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
450
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Invisible Side of Design
smashingmag
301
52k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
950
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
260
Navigating Weather and Climate Data
rabernat
0
240
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
200
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
210
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