ftnchek is a static analyzer for Fortran 77 programs. It intended to detect defects in Fortran code that are legal but may cause problems. As such, it is not a debugger, but will find issues like
- unused variables
- uninitialized variables
The program will not catch all syntax errors, so it should be used in conjunction with a compiler.