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
0
83
Code Analysis with SonarQube in Android project
Lightning talk with Android Developers at Nab in Huddle session
Hieu Vu
November 14, 2023
Tweet
Share
More Decks by Hieu Vu
See All by Hieu Vu
Moboarding Triage - Mobile Banking Showcase
hieuwu
0
22
Integrate GitHub Actions with Teams
hieuwu
0
140
The Law of Demeter
hieuwu
0
250
Lottie & LottieFiles Introduction
hieuwu
0
41
Project X - UX UI Resume Tailoring
hieuwu
0
85
Kitemetric - Company Management Software Introduction
hieuwu
0
64
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Raft: Consensus for Rubyists
vanstee
140
7.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Music & Morning Musume
bryan
46
6.8k
A designer walks into a library…
pauljervisheath
207
24k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
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