-
Notifications
You must be signed in to change notification settings - Fork 204
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
oclint report created, files index in sonar, but vialotions don't show up? #71
Comments
thanks for your report. It looks similar to existing issue #52, doesn't it? What version of the plugin and of Sonar are you using? Please notice that a new release is coming very soon (today) to support Sonar 4, so you better wait for this release before going any further. |
Hi, This may be caused by a wrong quality profile. |
sonar 4.5.1 selecting another quality profile did it. We had the commercial plugin installed before(trial) and had an empty profile after deinstalling. |
I have the same problem. Does the Objective C fixing support Sonar 5.0.1? |
It doesn't help....Here is my sonar-project.properties. sonar.projectKey=Project sonar.projectDescription=Description sonar.sources=MyProject sonar.objectivec.project= MyProject.xcodeproj sonar.objectivec.appScheme=MyProject sonar.sourceEncoding=UTF-8 sonar.junit.reportsPath=sonar-reportssonar.objectivec.coverage.reportPattern=sonar-reports/coverage*.xmlsonar.objectivec.oclint.report=sonar-reports/oclint.xmlsonar.objectivec.excludedPathsFromCoverage=.Tests. oclint.xml is generated under sonar-reports/. Here is the log that I get: I'm using |
can you post a screenshot of your sonar quality Profiles page? you could also try to start the sonar runner with the -X / --debug flag in the run-sonar.sh file to get additional information (and post this blabla in anonymized form):
|
Sure. Thanks for your help. Here is the screenshot of my profile page. Here is the log 14:54:16.744 INFO - Store results in database |
Hi, You must use 'OCLint' profile as default . The other one 'Sonar Way' is a remain of the commercial plugin installation (you can remove it) |
Yes. How can I set OCLint as default and remove Sonar Way? Thanks so much! |
Log in as administrator, click on "set as default" next to OCLint. click on delete next to Sonar Way |
Thanks very much. It works now! |
Hi @cyrilpicat Log:
Dashboard: I am getting LOC and duplication details but not the issues, as the code has violating snippets. |
same problem like SivaTrichy |
Same here |
Same here and using: SonarQube 5.5 , sonar-objective-c-plugin-0.5.0-SNAPSHOT.jar.
|
Hi i'm trying to set this up:
oc lint report:
The parameter '...' is unused.
Sonar-Runner Log
10:14:35.873 DEBUG - Language of file 'config/Config.m' is detected to be 'objc'
10:14:36.288 INFO - 598 files indexed
...
10:14:42.309 INFO - Processing OCLint report /export/home/jenkins/workspace/project/ab/./sonar-reports/oclint.xml
10:14:42.310 DEBUG - Collection violations for /export/home/jenkins/workspace/project/ab/config/Config.m
10:14:42.311 DEBUG - File /export/home/jenkins/workspace/project/ab/config/Config.m was found in the project.
looks good. but the violations do not show up in sonar? any hints?
The text was updated successfully, but these errors were encountered: