/usr/local/bin/iotrace

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary blib/lib/Git/Server.pm »
1 #!/usr/local/bin/perl
2  
3 =pod
4  
5 =head1 NAME
6  
7 iotrace - Like strace enough to log STDIN STDOUT STDERR I/O
8  
9 =head1 SYNOPSYS
10  
11 $ iotrace -v -s9000 -tt -e execve,clone,openat,close,read,write -o /tmp/sort.iotrace sort < /etc/passwd > /tmp/passwd.sorted
12 $ iotrace -v -s9000 -o /tmp/perl.iotrace perl -n -e 'print if /./' < /etc/bashrc > /tmp/bashrc.nonblanklines.txt
13 $ diff -wui /etc/bashrc /tmp/bashrc.nonblanklines.txt
14  
15 =cut
16  
17 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 7 ▶use FindBin qw($RealBin); # Allow bootstrap or symlink method too
Subroutine BEGIN: called CC=1 SCAR=0.0
20 7 ▶use lib "$RealBin/../lib","$RealBin/../lib/perl5";
Subroutine BEGIN: called CC=1 SCAR=0.0
21 7 ▶use IO::Trace qw(iotrace);
Subroutine BEGIN: called CC=1 SCAR=0.0
22 7 iotrace;
↑ Summary blib/lib/Git/Server.pm »