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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hieu Vu
November 14, 2023
0
88
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
25
Integrate GitHub Actions with Teams
hieuwu
0
150
The Law of Demeter
hieuwu
0
270
Lottie & LottieFiles Introduction
hieuwu
0
44
Project X - UX UI Resume Tailoring
hieuwu
0
89
Kitemetric - Company Management Software Introduction
hieuwu
0
65
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
How to Ace a Technical Interview
jacobian
281
24k
エンジニアに許された特別な時間の終わり
watany
106
240k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
250
Optimizing for Happiness
mojombo
378
71k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
We Have a Design System, Now What?
morganepeng
55
8k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
Crafting Experiences
bethany
1
94
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
RailsConf 2023
tenderlove
30
1.4k
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