-
Notifications
You must be signed in to change notification settings - Fork 75
Unable to analyze code #57
Comments
Same problem here. |
I assume you both are using OCLint? There seems to be an issue with the OCLint report parser, I've opened a pull request (#61) that should allow for OCLint reports to be parsed. |
can you paste the error in here
…On Mar 15, 2018 11:38 AM, "Tobias Raatiniemi" ***@***.***> wrote:
I assume you both are using OCLint? There seems to be an issue with the
OCLint report parser, I've opened a pull request (#61
<#61>) that should
allow for OCLint reports to be parsed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFTSizX0dzlbgx4FuQAY62z9bndurdg2ks5terUqgaJpZM4SWYei>
.
|
Actually, there is no error. If I run the OCLint I get 3k vulnerabilities but I can not see any on SonarQube dashboard. I am not sure if it is related, but I found out two things that can be the origin of the problem.
Upgraded to 7.2.1 and same issue. Happening the same with backelite sonar-swift plugin. Can you please help? |
@CRoig The issue with OCLint violations not being reported to SonarQube have been fixed in PR #61, however no maintainer have given any feedback nor merged the PR yet. Is your project configuration correct? E.g. correct path to source? Check the sonar-project.properties for guidance. The second issue you mentioned is related to the Lizard complexity reporting, which also have been resolved in PR #60 (with same status as previous PR). |
@raatiniemi Thanks for the answer. I have to admit the I misunderstood how backelite plugins have to be used. I was running My project is mixed ObjC and Swift. The swift analysis using Wether installing master branch or #61 branch, it fails to create oclint report file. The error stands for:
|
@CRoig I haven't used the How is your project configured? Does the value for |
I used build-and-deploy.sh to create a new objc plug-in, but after the replacement, I couldn't analyze the code on SonarQube-6.7.1, and the data I saw in the console was all 0.
The text was updated successfully, but these errors were encountered: