ftnchek

Static analyzer for Fortran 77 programs to check syntax and common errors.

brewmacoslinux
Try with needOr install directly
Source

About

Fortran 77 program checker

Commands

ftnchek

Examples

check a fortran file for errors$ ftnchek program.f
check multiple fortran files at once$ ftnchek file1.f file2.f file3.f
check fortran file and show all warnings$ ftnchek -w program.f
check fortran file with strict argument checking$ ftnchek -arguments program.f
check fortran file and save report to output file$ ftnchek program.f > report.txt