LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
shb

Let VI Analyzer ignore paths matching patterns

Status: Completed
Folder skipping based on INI token implemented in LabVIEW 2012.

When a folder under source control is added to the VI analyzer the subfolder for version control is inserted too. Lets get around this by allowing patterns for folders (or files too) which should be ignored. So adding ".svn" would solve the problem of files of subversion being checked.

I see three possibilities to save the patterns:

- for each top level folder

- in the configuration file

- globally (not preferred, other users do not get the setting)

 

(There is a discussion about VI Analyzer and SVN under http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=290839#M290839)

 

Greetings,

shb

 

5 Comments
Taggart
Trusted Enthusiast

I just ran into this problem today with SVN and VI Analyzer. 

 

If I select a folder under SVN to run VI Analyzer on, then it also runs the VI Analyzer tests on the .vi.svn-base files.  This takes forever and then it also posts them in the results so it also screws up all the statistics. 

 

One solution is to Export the files somewhere and then vi analyzer, which works but is a pain.

 

There is already the .ini key for the mass compile to ignore SVN folders, why can't we just use that token in VI Analyzer?

 

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
warren_scott
Active Participant

The worse part is that the .ini key to ignore SVN folders isn't named to suggest it is only applicable to mass compiling(skipSVNFolders), which makes me think it is already applicable to mass compiling, traversing search directories, vi analyzer ... ANYTHING in LabVIEW ... except that is only applicable to mass compiling as far as I can tell.

I am completely in favor of having the ini flag apply to VI analyzer, and consider it a large defect the way things are currently implemented.

warren_scott
Active Participant

Didn't this get fixed in LV2011?

Darren
Proven Zealot

In LabVIEW 2011, the VI Analyzer Engine would respect the skipSCCFolders and skipSVNFolders INI tokens. In LabVIEW 2012, the VI Analyzer UI would also respect them. The skipSCCFolders="[foldername]" token defines a folder name. Any VIs that live under a folder of that name are ignored during an analysis. The skipSVNFolders=True token does the same thing, but only for folders called ".svn" specifically.

 

I will change the status of this idea to Completed. 

Darren
Proven Zealot
Status changed to: Completed
Folder skipping based on INI token implemented in LabVIEW 2012.