Devel::Coverage

Veamos un ejemplo de uso:
perl -d:Coverage  /usr/local/bin/latex2html lhp
... salida de nuestr programa
$ ls -ltr | tail -2
drwxr-xr-x  2 lhp lhp   4096 2005-04-27 16:59 lhp
-rw-r--r--  1 lhp lhp 185967 2005-04-27 16:59 latex2html.cvp
$ coverperl latex2html.cvp | head -30
Total of 1 instrumentation runs.

/home/lhp/.latex2html-init
        7   main::bot_navigation_panel
                7    line 283
        0   main::do_cmd_originalTeX
                0    line 158
                0    line 159
                0    line 160
        0   main::do_cmd_spanishTeX
                0    line 151
                0    line 152
                0    line 153
        2   main::spanish_titles
                1    line 37
                1    line 40
                1    line 43
                1    line 46
                1    line 49
                1    line 52
                1    line 54
                1    line 57
                1    line 66
                1    line 69
                1    line 73
                1    line 76
                1    line 79
        0   main::spanish_today
                0    line 215
                0    line 216

Casiano Rodríguez León
Licencia de Creative Commons
Programación Distribuida y Mejora del Rendimiento
por Casiano Rodríguez León is licensed under a Creative Commons Reconocimiento 3.0 Unported License.

Permissions beyond the scope of this license may be available at http://campusvirtual.ull.es/ocw/course/view.php?id=44.
2012-06-19