Differences between "command line" and "Delphi-IDE" Check

Since the new version 2020.06 there are differences in the testing of the command line variant to the IDE variant.

Example:
constructor TfrmAkkreditive.Create(AStartParameter: IRunFormularParams; IsArchiv: Boolean); //FI:W525
begin

  • FIsArchiv := IsArchiv;*

  • if IsArchiv then*

  • begin*

  • Mainform.FFormSuffix := 'ARCHIV';*

  • frmAkkreditiveArchiv := inherited Create(AStartParameter);*

  • end*

  • else*

  • frmAkkreditive := inherited Create(AStartParameter);*
    end;

The Commandline-Check: I901 Useless comment "fi:w525" detected. No warnings or hints have been found at this line (933, 0)

If I remove the "FI:W525" the IDE-Check: W525 Missing INHERITED call in constructor

This is a Problem for our Quality-Check.

Best regards

Thorsten Elmers

Development │ Thorsten.Elmers@TimberTec.com
T +49 4521-7600-0

It may depend on command line params. Do you set libpath and searchpath?

Hey.
We didn't include SearchPath in the Settings.
image
What "LibPath" did FixInsight used in IDE.

Is the Lib Path important because there are different results for the same unit.

Good morning.
Is there any evidence here?

Best regards

Good morning.

Is there a hotfix that solves this problem?
We need a reliable evaluation between IDE check and command line check (which runs automatically).
If this is not given, we will not renew our FixInsight licence any further.

With kind regards
T.Elmers

Hello,

we just recently switched from FixInsight 2019.01upd1 to latest version 2021.10 and also observed this.

As Roman mentioned earlier, we found out that we now need to pass Delphi's sources path (e.g. C:\Program Files (x86)\Embarcadero\Studio\21.0\source ) as --libpath to FixInsightCL.exe.
Also --unitscopes should be given.

For further details, find the duplicate topic that we opened, here: FixInsight 2021.10 CL detects fewer issues than its IDE expert

Best regards,
Thorsten Schroff