Subroutine Coverage

blib/lib/HTTP/Server/Simple.pm
Criterion Covered Total %
subroutine 14 37 37.8
pod 22 22 100.0


line count pod subroutine
1 3 n/a BEGIN
2 3 n/a BEGIN
5 3 n/a BEGIN
6 3 n/a BEGIN
7 3 n/a BEGIN
9 3 n/a BEGIN
137 11 Yes new
162 0 Yes lookup_localhost
187 16 Yes port
206 14 Yes family
228 8 Yes host
242 7 Yes background
269 3 n/a BEGIN
273 0 Yes run
283 3 n/a BEGIN
293 0 n/a __ANON__
304 0 n/a __ANON__
317 0 Yes net_server
320 0 n/a _default_run
324 0 n/a __ANON__
359 0 Yes restart
369 3 n/a BEGIN
379 0 n/a _process_request
385 0 n/a __ANON__
466 0 Yes stdio_handle
480 0 Yes stdin_handle
493 0 Yes stdout_handle
511 0 Yes handler
544 0 Yes setup
578 0 Yes headers
627 0 Yes print_banner
645 0 Yes parse_request
674 0 Yes parse_headers
701 0 Yes setup_listener
744 0 Yes after_setup_listener
757 0 Yes bad_request
774 0 Yes valid_http_method