adept-jpg-compressor icon indicating copy to clipboard operation
adept-jpg-compressor copied to clipboard

Write a variable call graph script

Open technopagan opened this issue 12 years ago • 0 comments

Write a script which finds each function and within it detects global and local variables. Then it outputs a graphed list of:

functionname

  • global variables created & altered by this function --- globalvar_name (number of alterations within function) --- globalvar_name (number of alterations within function)
  • local variables created & altered by this function --- localvar_name (number of alterations within function) --- localvar_name (number of alterations within function)

This output will enable us to find unnecessary global variables, illogical redefinitions of variables etc.

technopagan avatar Jul 26 '13 11:07 technopagan