Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysis: 0% everywhere #80

Open
Kowaio opened this issue Feb 27, 2015 · 2 comments
Open

Analysis: 0% everywhere #80

Kowaio opened this issue Feb 27, 2015 · 2 comments

Comments

@Kowaio
Copy link

Kowaio commented Feb 27, 2015

Hi guys,

Sorry to bother you with this issue but I didn't find anything in here or by googling it.

I've installed SonarQube, sonar-runner and this plugin (0.4) and tried to analyse the project I'm working on.

Here's the result : http://cl.ly/image/1I281B1M3C1A

As you can see, the files and directories are correctly found but there are no issues encountered, as well as duplications and so on. And yeah, it's weird.

Regarding the installation I have:

In my sonar-project.properties I have:
sonar.projectKey=Project
sonar.projectName=Project
sonar.projectVersion=1.0
sonar.language=objc
sonar.sources=/Users/username/Desktop/project_root/project_name/Classes
sonar.objectivec.project=project_name.xcodeproj
sonar.objectivec.workspace=project_name.xcworkspace
sonar.objectivec.appScheme=project_name
sonar.sourceEncoding=UTF-8

And when running ./run-sonar.sh in my project_root/ directory, I've got this output:
$ ./run-sonar.sh
Running run-sonar.sh...
Extracting Xcode project information..
.........
Skipping tests as no test scheme has been provided!
Running OCLint...
Running SonarQube using SonarQube Runner...
$

Thanks a lot guys, let me know if you need more info.

Best,

@wooster
Copy link

wooster commented Mar 3, 2015

You need a testScheme setting in the sonar-project.properties file, like so:

sonar.objectivec.testScheme=UnitTests

@rompic
Copy link

rompic commented Mar 20, 2015

see #71
check your quality profile!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants