Variable use report - PicInfo sample application

             
PicMain Reads Live Dead (exp) Writes Live Dead (exp)
ProgramTitle 1 1 0 (0) 1 1 0 (0)
 
PicBMP Reads Live Dead (exp) Writes Live Dead (exp)
BMPType 2 2 0 (0) 3 3 0 (0)
InfoHeader 6 6 0 (0) 1 1 0 (0)
CoreHeader 5 5 0 (0) 1 1 0 (0)
IsRLE 0 0 0 (0) 2 2 0 (0)
StoredFilename 1 1 0 (0) 0 0 0 (0)
 
PicGIF Reads Live Dead (exp) Writes Live Dead (exp)
StoredFilename 1 1 0 (0) 1 1 0 (0)
FileOK 3 2 1 (0) 2 2 0 (0)
Signature 5 4 1 (0) 1 1 0 (0)
LogicalScreenDescriptor 5 5 0 (0) 1 1 0 (0)
MaxColors 1 1 0 (0) 1 1 0 (0)

Legend

Reads = Total number of read locations
Writes = Total number of write locations
Live = Number of live reads/writes
Dead = Number of dead reads/writes
(Exp) = Number of dead reads/writes that may execute by an external call
Red color = No live reads found, possibly useless variable
Magenta color = No live writes found, variable is possibly always zero or empty