Embarcadero / SonarDelphi

Embarcadero's official version of the Sonar-Delphi plugin for use to analyze Delphi projects with SonarQube. Working to collect updates and contributions from other versions into this one and move if forward with new features.
GNU Lesser General Public License v2.1
63 stars 12 forks source link

PMD output report takes way longer then normal in SQ 9.8 #10

Open crenan opened 1 year ago

crenan commented 1 year ago

I was able to update to SonarQube v9.8 and using the current version of this plugin the step PMD output report: ... takes way longer to finish comparing to older SonarQube versions.

SQ v9.6 [2023-01-04T12:37:29.097Z] INFO: Sensor PMD sensor [delphi] (done) | time=135332ms

SQ v9.7 [2023-01-10T13:14:50.507Z] INFO: Sensor PMD sensor [delphi] (done) | time=166753ms

SQ v9.8 [2023-01-09T23:39:38.341Z] INFO: Sensor PMD sensor [delphi] (done) | time=3219421ms

I had to downgrade to v9.7.

magic5644 commented 1 year ago

Hello everyone, did someone work on this issue ? We deteted the same problem, the sonar scan take a lot of time on PMD output report

Cirras commented 9 months ago

Hi @crenan, @magic5644,

For a plugin that's more performant on current versions of SonarQube, see: integrated-application-development/sonar-delphi

crenan commented 9 months ago

Hi @Cirras. Good to know. Does it work with D7?

Cirras commented 9 months ago

Hi @crenan,

Yes, but it's primarily been tested on newer versions (Rio onward).

Known problem: We support the MSBuild-based .dproj/.groupproj/.opset files, but don't offer the same support for the .dof/.cfg/.bpg files > from Delphi 7 and older.

Solution: Set these Project Options properties in sonar-project.properties (or the SonarQube UI).


And of course, you're welcome to raise an issue if you run into any problems or have an inquiry. 😄