Branch Coverage

blib/lib/Mojolicious/Command/daemon.pm
Criterion Covered Total %
branch 7 8 87.5


line true false branch
22 1 4 unless getopt(\@args, "b|backlog=i", sub { $daemon->backlog($_[1]); } , "c|clients=i", sub { $daemon->max_clients($_[1]); } , "i|inactivity-timeout=i", sub { $daemon->inactivity_timeout($_[1]); } , "k|keep-alive-timeout=i", sub { $daemon->keep_alive_timeout($_[1]); } , "l|listen=s", \my @listen, "p|proxy:s", \my @proxy, "r|requests=i", sub { $daemon->max_requests($_[1]); } )
24 0 4 if @listen
25 3 1 if @proxy
27 2 2 if @trusted