FW2C
Name
Fw2c - QAC warning file to CSV converter/filter utility
Synopsis
FW2c [options] in_file -oout_file
Description
FW2C creates a comma-separated file (CSV) from an ASCII text source. The source file is a QAC warning file report.  In translating text from QAC format to a CSV format, FW2C can do this unconditionally (i.e. all messages copied) or via a filter.  When using the filter mode, only the desired warning groups or messages will be copied. A parameter file is used to determine the action of the filter.
QAC groups its messages by type, for example, portability, major or maintenance, not by level of risk.  If a user wishes to see only selected "high risk" warnings, it would require a major change to the configuration files.  There is also a situation where turning off a specific group may cause the exclusion of a particular high-risk warning in that group.  FW2C avoids this by allowing the user to select certain messages to always be included regardless of group. The same is true for excluding certain messages.  Entire groups may be turned off; but the warning message settings have a higher priority.  
The following situations can be handled with ease.

A group is turned off completely
A group is turned on completely
A group is turned off but some high-risk warnings are allowed.
A group is turned on but some low risk warnings are excluded.


The QAC warning report can now be considered as raw data, thus allowing the user to filter and post process the same raw data as many times as necessary without having to re-scan the source code.

Options
-p	parameter 
Do not use a parameter file to filter the warnings.  All warnings will be copied to the CSV file.
-pxxxxx	par file
The xxxxxx  represents the name of the parameter file to use. Note there are no spaces between the p and the file name. 
-l	link
Remove linked messages. See the "Linked warning removal" section for further details.
-v	version
Display the version and compile date of the utility
-?	Help
Display command line usage on screen.
-h	help
Display command line usage on screen.
-q	quiet
Quiet mode,  the opening banner and closing statistics will be suppressed.
-F    Function warnings
Create additional CSV files that group warnings into "within a function" and "outside a function".
in_file
The name of the QAC warning data file that will be used as input. If no name is given, the input defaults to stdin.
-oxxxx	output
The name of the output CSV file. The ".csv" extension will automatically be attached. If no name is given, the output defaults to "warning.csv".




FW2C-F  Option
The "F" option allows creation of a output file that has warnings grouped by function. This option also requires a new input file, "fsize.qac".  The three new output files that are created are as follows:
INFNC.CSV	  Contains only warnings that occur within functions.
OUTFNC.CSV Contains only warnings that occur outside of functions.
SUMFNC.CSV Contains the filename, function name and the start and ending line numbers of each respective function. A warning total for each function is also give along with the warning density for that function.


To create the fsize.qac file, the following line has to be added to the goqac.bat or script files .  
It should also be noted that the function length does not correspond exactly with the QAC STLIN metric. The reason for this is that the entire function length is counted. This means from the function name to the closing brace.