Maulik
(Maulik)
May 24, 2023, 7:27pm
1
Hi Team, I am getting The main branch has no lines of code. error. ANALYSIS SUCCESSFUL but still cant see the report on Sonarqube dashboard.
230 files indexed
228 source files to be analyzed
INFO: 228/228 source files have been analyzed
Analysis report generated in 100ms, dir size=122.2 kB
INFO: Analysis report compressed in 23ms, zip size=14.9 kB
INFO: Analysis report uploaded in 227ms
INFO: ANALYSIS SUCCESSFUL
Colin
(Colin)
May 26, 2023, 8:21am
2
Hey there.
As requested in the template post, what version of SonarQube are you using?
avl
(Andreas L.)
May 26, 2023, 12:15pm
3
Further question: what type of sources to you expect to have scanned in that folder hierarchy?
Some languages need a specific preparations, like e.g. C/C++/…, otherwise it will dismiss all those files, that it couldn’t find meta-info for. what kind of meta info it needs, depends on the language to be scanned.
Maulik
(Maulik)
May 30, 2023, 2:59am
4
I am using * Version 9.9 (build 65466).
Maulik
(Maulik)
May 30, 2023, 3:00am
5
I am looking to scan iOS project which is using swift language.
Colin
(Colin)
May 30, 2023, 10:06am
6
I would suggest sharing your full analysis logs, redacting information as necessary (like file names)
Maulik
(Maulik)
May 30, 2023, 2:28pm
7
Colin, Thanks for checking. I was able to resolve the issue after updating the properties file.
1 Like