fabriciocolombo / sonar-delphi

SonarQube Delphi Plugin
91 stars 46 forks source link

No metric (PUBLIC_API) for org.sonar.plugins.delphi.metrics.ComplexityMetrics #36

Closed gosukretess closed 8 years ago

gosukretess commented 8 years ago

Greetings, I have problem running Delphi project analysis. Every time after parsing I am getting error: No metric (PUBLIC_API) for org.sonar.plugins.delphi.metrics.ComplexityMetrics@46f3a146

To be honest I am not sure what metric in Sonar is, and where to start debugging. the articles covering metrics in Sonar Docs are unavailable :/

fabriciocolombo commented 8 years ago

What SonarQube and Delphi Plugin version are you using?

gosukretess commented 8 years ago

SonarQube 4.5.2, plugin 0.3.3

fabriciocolombo commented 8 years ago

I can't reproduce the error using the same versions. Please, run the analysis using debug mode (-X,--debug) and attach the log file.

gosukretess commented 8 years ago

Log attached Delphilog.txt

Edit - I found files which cause this error. One of them (the shortest, changed extension so github wil allow posting it): FailingScript.txt

fabriciocolombo commented 8 years ago

Please, try with this snapshot: 0.3.4-16012016.jar. Feel free to reopen if something goes wrong.