False positives on undefined variables.

This Forum is for General Issues about Analyzer
Post Reply
keuler
Propeller Head
Posts: 63
Joined: Sun Sep 20, 2009 2:54 pm

False positives on undefined variables.

Post by keuler »

It looks like Analyzer is giving people a lot of erroneous results. My main complaint is that it's finding hundreds of hits in the Undefined Variables report, when the variables clearly are defined.

Does anyone have this particular problem too?

:|
Dirk
Jr. Propeller Head
Posts: 4
Joined: Fri Apr 05, 2013 11:50 am

Re: False positives on undefined variables.

Post by Dirk »

This shows up as a Database Error for me:
Variable: SQL logic error or missing databasetable Variable has no column named Variable Type
I have Undefined Variables reported, and Broken Links reported related to these variables.

This must be a bug in Analyzer, since these variables are all valid, and they work OK in Flare.
Dirk
Jr. Propeller Head
Posts: 4
Joined: Fri Apr 05, 2013 11:50 am

Re: False positives on undefined variables.

Post by Dirk »

You can clean up the mess by closing both Analyzer and Flare, and then deleting the Analyzer cache.

Go to

Code: Select all

C:\Users\[your_username]\AppData\Local\MadCap Software\Analyzer
and delete all the files in this folder. By default, "AppData" is hidden by Windows, so you might need to turn on hidden directories.

When you restart Analyzer, it will do a new analysis of the project.

I still consider this to be a bug, since MadCap should be able to clean up their own mess in restricted directories. :|
Mari0n
Propeller Head
Posts: 29
Joined: Thu Mar 12, 2015 11:35 pm

Re: False positives on undefined variables.

Post by Mari0n »

@Dirk - Thanks, that really helped me with my falsely reported broken links :D
glejeune
Jr. Propeller Head
Posts: 3
Joined: Tue May 17, 2016 5:46 am

Re: False positives on undefined variables.

Post by glejeune »

This was helpful - thanks!
As an additional tip, I found that exposing the AppData folder (removing the hidden attribute), and setting it to read/write, and not read-only, made Analyzer able to find and update the report list automatically.
Post Reply