Programming tools for C and Perl

Programming tools for C and Perl, which I normally run my programs through

gcov, man gcov
gprof, man gprof

------

Lint:
-h      Apply a number of heuristic tests to attempt to intuit bugs,
         improve style, and reduce waste.
-p      Attempt to check portability of code to other dialects of C.
-s      Strict ANSI C mode.
lint -h -p -s  filename

------

Splint:
devel/splint
-strict-lib	 Use strict version of the ANSI standard library.
OR
-posix-strict-lib Use the strict version of the POSIX standard library.

------

Rats, Rough Auditing Tool for Security
For C, Perl, PHP, and  Python
security/rats
 --warning 3	Includes low severity vulnerabilities.
 --html 	Output in HTML

------

To document:
either doxygen or robodoc ?

------

For perl:

Perltidy
devel/perltidy 
A lot of options, including html output. Chech the man page.

Skriv et svar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *