False positives on undefined variables.

This Forum is for General Issues about Analyzer

False positives on undefined variables.

Postby keuler on Wed May 13, 2015 2:01 pm

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?

:|
keuler
Propeller Head
 
Posts: 63
Joined: Sun Sep 20, 2009 2:54 pm

Re: False positives on undefined variables.

Postby Dirk on Thu May 28, 2015 3:36 pm

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.

Postby Dirk on Thu May 28, 2015 4:53 pm

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. :|
Dirk
Jr. Propeller Head
 
Posts: 4
Joined: Fri Apr 05, 2013 11:50 am

Re: False positives on undefined variables.

Postby Mari0n on Sun May 08, 2016 10:29 pm

@Dirk - Thanks, that really helped me with my falsely reported broken links :D
Mari0n
Propeller Head
 
Posts: 29
Joined: Thu Mar 12, 2015 11:35 pm

Re: False positives on undefined variables.

Postby glejeune on Tue May 17, 2016 11:58 am

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.
glejeune
Jr. Propeller Head
 
Posts: 2
Joined: Tue May 17, 2016 5:46 am


Return to Analyzer's General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest