Coverage Report

Statementstmt 0.0% 0 / 2251 Branchbran 0.0% 0 / 442 Conditioncond 0.0% 0 / 343 MC/DCmcdc 0.0% 0 / 198 Subroutinesub 0.0% 0 / 419 Podpod 0.0% 0 / 187 totaltotal 0.0% 0 / 3840 CC 221 scar 30.2 CC 221 · cov 0% · CRAP 20.4
Prefix: blib/lib/

Top SCAR

Gungho/Request/http.pm untested 52.9
CC
16
Cov
0%
format
272.0
new
2.0
prepare_request
2.0
CRAP 198.4
Gungho/Log/Dispatch.pm untested 46.0
CC
13
Cov
0%
setup
156.0
BEGIN
6.0
BEGIN
2.0
CRAP 99.7
Gungho/Engine/POE.pm untested 35.7
CC
26
Cov
0%
_poe_handle_response
90.0
run
56.0
_poe_start_request
56.0
CRAP 35.4
Gungho/Engine/Danga/Socket.pm untested 35.3
CC
17
Cov
0%
start_request
90.0
send_request
20.0
setup
12.0
CRAP 34.1
Gungho/Component/Authentication.pm untested 30.2
CC
6
Cov
0%
check_authentication_challenge
42.0
authenticate
2.0
BEGIN
2.0
CRAP 20.5
51 51 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 0.0 0 / 16n/a n/a n/a 0.0 0 / 50.0 0 / 10.0 0 / 221 6.9
CC
1
Cov
0%
CRAP 2.0
Gungho.pm untested 0.0 0 / 16n/a n/a n/a 0.0 0 / 50.0 0 / 10.0 0 / 221 6.9
CC
1
Cov
0%
component_base_class
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Gungho 0.0 0 / 2850.0 0 / 380.0 0 / 370.0 0 / 210.0 0 / 710.0 0 / 250.0 0 / 47720 16.4
CC
20
Cov
0%
CRAP 5.2
Engine.pm untested 0.0 0 / 250.0 0 / 8n/a n/a 0.0 0 / 60.0 0 / 30.0 0 / 425 23.0
CC
5
Cov
0%
handle_dns_response
20.0
finish_request
6.0
handle_response
2.0
CRAP 10.0
Inline.pm untested 0.0 0 / 320.0 0 / 100.0 0 / 100.0 0 / 60.0 0 / 70.0 0 / 30.0 0 / 686 20.4
CC
6
Cov
0%
BEGIN
12.0
bootstrap
12.0
_setup_old_parameters
6.0
CRAP 7.7
Util.pm untested 0.0 0 / 190.0 0 / 40.0 0 / 50.0 0 / 20.0 0 / 50.0 0 / 10.0 0 / 363 18.4
CC
3
Cov
0%
load_module
12.0
BEGIN
2.0
BEGIN
2.0
CRAP 6.3
Request.pm untested 0.0 0 / 760.0 0 / 120.0 0 / 190.0 0 / 110.0 0 / 150.0 0 / 80.0 0 / 1417 17.3
CC
7
Cov
0%
id
12.0
notes
12.0
_find_digest_class
6.0
CRAP 5.6
Response.pm untested 0.0 0 / 300.0 0 / 4n/a n/a 0.0 0 / 70.0 0 / 30.0 0 / 443 16.7
CC
3
Cov
0%
notes
12.0
new
2.0
clone
2.0
CRAP 5.3
Base.pm untested 0.0 0 / 25n/a n/a n/a 0.0 0 / 60.0 0 / 20.0 0 / 331 6.9
CC
1
Cov
0%
new
2.0
mk_virtual_methods
2.0
BEGIN
2.0
CRAP 2.0
Component.pm untested 0.0 0 / 14n/a 0.0 0 / 30.0 0 / 20.0 0 / 40.0 0 / 10.0 0 / 241 6.9
CC
1
Cov
0%
feature_name
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Exception.pm untested 0.0 0 / 11n/a n/a n/a 0.0 0 / 3n/a 0.0 0 / 141 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Handler.pm untested 0.0 0 / 13n/a n/a n/a 0.0 0 / 50.0 0 / 10.0 0 / 191 6.9
CC
1
Cov
0%
stop
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Log.pm untested 0.0 0 / 12n/a n/a n/a 0.0 0 / 40.0 0 / 10.0 0 / 171 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Plugin.pm untested 0.0 0 / 10n/a n/a n/a 0.0 0 / 3n/a 0.0 0 / 131 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Provider.pm untested 0.0 0 / 18n/a n/a n/a 0.0 0 / 60.0 0 / 20.0 0 / 261 6.9
CC
1
Cov
0%
stop
2.0
dispatch_request
2.0
BEGIN
2.0
CRAP 2.0
Gungho/Base 0.0 0 / 10n/a n/a n/a 0.0 0 / 40.0 0 / 10.0 0 / 151 6.9
CC
1
Cov
0%
CRAP 2.0
Class.pm untested 0.0 0 / 10n/a n/a n/a 0.0 0 / 40.0 0 / 10.0 0 / 151 6.9
CC
1
Cov
0%
setup
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Gungho/Component 0.0 0 / 5300.0 0 / 1060.0 0 / 1050.0 0 / 600.0 0 / 990.0 0 / 500.0 0 / 95054 23.6
CC
54
Cov
0%
CRAP 10.6
Authentication.pm untested 0.0 0 / 510.0 0 / 100.0 0 / 30.0 0 / 20.0 0 / 80.0 0 / 20.0 0 / 766 30.2
CC
6
Cov
0%
check_authentication_challenge
42.0
authenticate
2.0
BEGIN
2.0
CRAP 20.5
BlockPrivateIP.pm untested 0.0 0 / 380.0 0 / 200.0 0 / 90.0 0 / 60.0 0 / 80.0 0 / 40.0 0 / 8511 30.1
CC
11
Cov
0%
address_is_private
42.0
block_private_ip_address
20.0
request_is_allowed
6.0
CRAP 20.2
Cache.pm untested 0.0 0 / 380.0 0 / 120.0 0 / 30.0 0 / 20.0 0 / 60.0 0 / 30.0 0 / 647 27.8
CC
7
Cov
0%
cache
30.0
setup_cache_backends
12.0
setup
2.0
CRAP 16.2
Setup.pm untested 0.0 0 / 640.0 0 / 120.0 0 / 80.0 0 / 50.0 0 / 80.0 0 / 40.0 0 / 1017 25.1
CC
7
Cov
0%
bootstrap
20.0
load_config
20.0
new
2.0
CRAP 12.3
RobotRules.pm untested 0.0 0 / 840.0 0 / 160.0 0 / 300.0 0 / 160.0 0 / 140.0 0 / 90.0 0 / 1699 20.4
CC
9
Cov
0%
send_request
20.0
allowed
12.0
handle_response
6.0
CRAP 7.7
Core.pm untested 0.0 0 / 1760.0 0 / 260.0 0 / 430.0 0 / 230.0 0 / 350.0 0 / 210.0 0 / 32414 19.1
CC
14
Cov
0%
setup_provider
20.0
setup_handler
20.0
handle_response
12.0
CRAP 6.8
RobotsMETA.pm untested 0.0 0 / 250.0 0 / 40.0 0 / 30.0 0 / 20.0 0 / 60.0 0 / 20.0 0 / 423 17.5
CC
3
Cov
0%
handle_response
12.0
setup
2.0
BEGIN
2.0
CRAP 5.8
Scraper.pm untested 0.0 0 / 340.0 0 / 40.0 0 / 30.0 0 / 20.0 0 / 80.0 0 / 20.0 0 / 533 16.1
CC
3
Cov
0%
_load_scraper
12.0
scrape
2.0
BEGIN
2.0
CRAP 5.0
Throttle.pm untested 0.0 0 / 200.0 0 / 20.0 0 / 30.0 0 / 20.0 0 / 60.0 0 / 30.0 0 / 362 11.5
CC
2
Cov
0%
send_request
6.0
feature_name
2.0
throttle
2.0
CRAP 3.1
Gungho/Component/Authentication 0.0 0 / 570.0 0 / 140.0 0 / 60.0 0 / 40.0 0 / 90.0 0 / 40.0 0 / 948 22.4
CC
8
Cov
0%
CRAP 9.4
Basic.pm untested 0.0 0 / 570.0 0 / 140.0 0 / 60.0 0 / 40.0 0 / 90.0 0 / 40.0 0 / 948 22.4
CC
8
Cov
0%
authenticate
20.0
get_basic_credentials
12.0
setup
6.0
CRAP 9.4
Gungho/Component/RobotRules 0.0 0 / 520.0 0 / 80.0 0 / 50.0 0 / 30.0 0 / 110.0 0 / 40.0 0 / 835 24.3
CC
5
Cov
0%
CRAP 11.3
Rule.pm untested 0.0 0 / 400.0 0 / 80.0 0 / 50.0 0 / 30.0 0 / 80.0 0 / 40.0 0 / 685 26.1
CC
5
Cov
0%
allowed
30.0
new
2.0
setup
2.0
CRAP 13.7
Storage.pm untested 0.0 0 / 12n/a n/a n/a 0.0 0 / 3n/a 0.0 0 / 151 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Gungho/Component/RobotRules/Storage 0.0 0 / 1360.0 0 / 260.0 0 / 190.0 0 / 100.0 0 / 180.0 0 / 100.0 0 / 21914 22.4
CC
14
Cov
0%
CRAP 9.4
Cache.pm untested 0.0 0 / 790.0 0 / 140.0 0 / 160.0 0 / 80.0 0 / 80.0 0 / 50.0 0 / 1308 22.9
CC
8
Cov
0%
push_pending_robots_txt
20.0
get_pending_robots_txt
12.0
get_rule
6.0
CRAP 9.9
DB_File.pm untested 0.0 0 / 570.0 0 / 120.0 0 / 30.0 0 / 20.0 0 / 100.0 0 / 50.0 0 / 897 21.8
CC
7
Cov
0%
setup
20.0
push_pending_robots_txt
12.0
get_rule
6.0
CRAP 8.9
Gungho/Component/Throttle 0.0 0 / 1250.0 0 / 240.0 0 / 190.0 0 / 100.0 0 / 240.0 0 / 120.0 0 / 21413 19.1
CC
13
Cov
0%
CRAP 6.8
Domain.pm untested 0.0 0 / 400.0 0 / 100.0 0 / 70.0 0 / 40.0 0 / 50.0 0 / 20.0 0 / 686 25.0
CC
6
Cov
0%
throttle
20.0
setup
12.0
BEGIN
2.0
CRAP 12.2
Provider.pm untested 0.0 0 / 440.0 0 / 100.0 0 / 40.0 0 / 20.0 0 / 100.0 0 / 70.0 0 / 776 17.2
CC
6
Cov
0%
send_request
12.0
dispatch_requests
6.0
pushback_request
6.0
CRAP 5.6
Throttler.pm untested 0.0 0 / 190.0 0 / 20.0 0 / 80.0 0 / 40.0 0 / 40.0 0 / 10.0 0 / 382 12.8
CC
2
Cov
0%
prepare_throttler
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
Simple.pm untested 0.0 0 / 220.0 0 / 2n/a n/a 0.0 0 / 50.0 0 / 20.0 0 / 312 12.0
CC
2
Cov
0%
throttle
6.0
setup
2.0
BEGIN
2.0
CRAP 3.3
Gungho/Engine 0.0 0 / 1620.0 0 / 520.0 0 / 340.0 0 / 190.0 0 / 240.0 0 / 120.0 0 / 30326 35.7
CC
26
Cov
0%
CRAP 35.4
POE.pm untested 0.0 0 / 1620.0 0 / 520.0 0 / 340.0 0 / 190.0 0 / 240.0 0 / 120.0 0 / 30326 35.7
CC
26
Cov
0%
_poe_handle_response
90.0
run
56.0
_poe_start_request
56.0
CRAP 35.4
Gungho/Engine/Danga 0.0 0 / 1160.0 0 / 320.0 0 / 140.0 0 / 90.0 0 / 130.0 0 / 60.0 0 / 19017 35.3
CC
17
Cov
0%
CRAP 34.1
Socket.pm untested 0.0 0 / 1160.0 0 / 320.0 0 / 140.0 0 / 90.0 0 / 130.0 0 / 60.0 0 / 19017 35.3
CC
17
Cov
0%
start_request
90.0
send_request
20.0
setup
12.0
CRAP 34.1
Gungho/Engine/IO 0.0 0 / 1240.0 0 / 220.0 0 / 150.0 0 / 100.0 0 / 220.0 0 / 90.0 0 / 20212 20.0
CC
12
Cov
0%
CRAP 7.4
Async.pm untested 0.0 0 / 1240.0 0 / 220.0 0 / 150.0 0 / 100.0 0 / 220.0 0 / 90.0 0 / 20212 20.0
CC
12
Cov
0%
send_request
20.0
setup
12.0
setup_impl_class
12.0
CRAP 7.4
Gungho/Handler 0.0 0 / 360.0 0 / 40.0 0 / 30.0 0 / 20.0 0 / 100.0 0 / 30.0 0 / 583 12.0
CC
3
Cov
0%
CRAP 3.3
Inline.pm untested 0.0 0 / 220.0 0 / 40.0 0 / 30.0 0 / 20.0 0 / 60.0 0 / 20.0 0 / 393 13.9
CC
3
Cov
0%
setup
6.0
handle_response
6.0
BEGIN
2.0
CRAP 4.0
Null.pm untested 0.0 0 / 14n/a n/a n/a 0.0 0 / 40.0 0 / 10.0 0 / 191 6.9
CC
1
Cov
0%
handle_response
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Gungho/Handler/FileWriter 0.0 0 / 31n/a 0.0 0 / 50.0 0 / 30.0 0 / 90.0 0 / 30.0 0 / 511 6.9
CC
1
Cov
0%
CRAP 2.0
Simple.pm untested 0.0 0 / 31n/a 0.0 0 / 50.0 0 / 30.0 0 / 90.0 0 / 30.0 0 / 511 6.9
CC
1
Cov
0%
setup
2.0
path_to
2.0
handle_response
2.0
CRAP 2.0
Gungho/Log 0.0 0 / 840.0 0 / 260.0 0 / 220.0 0 / 120.0 0 / 110.0 0 / 30.0 0 / 15814 43.8
CC
14
Cov
0%
CRAP 79.7
Dispatch.pm untested 0.0 0 / 660.0 0 / 240.0 0 / 220.0 0 / 120.0 0 / 70.0 0 / 20.0 0 / 13313 46.0
CC
13
Cov
0%
setup
156.0
BEGIN
6.0
BEGIN
2.0
CRAP 99.7
Simple.pm untested 0.0 0 / 180.0 0 / 2n/a n/a 0.0 0 / 40.0 0 / 10.0 0 / 252 12.8
CC
2
Cov
0%
new
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
Gungho/Plugin 0.0 0 / 1540.0 0 / 200.0 0 / 90.0 0 / 50.0 0 / 330.0 0 / 170.0 0 / 23811 13.5
CC
11
Cov
0%
CRAP 3.9
RequestTimer.pm untested 0.0 0 / 300.0 0 / 6n/a n/a 0.0 0 / 70.0 0 / 40.0 0 / 474 14.8
CC
4
Cov
0%
BEGIN
6.0
setup
6.0
log_stop
6.0
CRAP 4.4
RequestLog.pm untested 0.0 0 / 470.0 0 / 6n/a n/a 0.0 0 / 80.0 0 / 40.0 0 / 654 14.3
CC
4
Cov
0%
BEGIN
6.0
setup
6.0
log_response
6.0
CRAP 4.2
Statistics.pm untested 0.0 0 / 340.0 0 / 40.0 0 / 40.0 0 / 20.0 0 / 70.0 0 / 40.0 0 / 553 13.3
CC
3
Cov
0%
log_start_request
6.0
log_end_request
6.0
setup
2.0
CRAP 3.8
Apoptosis.pm untested 0.0 0 / 430.0 0 / 40.0 0 / 50.0 0 / 30.0 0 / 110.0 0 / 50.0 0 / 713 11.7
CC
3
Cov
0%
check_apoptosis
6.0
is_time_to_die
6.0
setup
2.0
CRAP 3.2
Gungho/Plugin/Statistics/Format 0.0 0 / 280.0 0 / 20.0 0 / 20.0 0 / 10.0 0 / 50.0 0 / 10.0 0 / 392 12.0
CC
2
Cov
0%
CRAP 3.3
XML.pm untested 0.0 0 / 280.0 0 / 20.0 0 / 20.0 0 / 10.0 0 / 50.0 0 / 10.0 0 / 392 12.0
CC
2
Cov
0%
format
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.3
Gungho/Plugin/Statistics/Storage 0.0 0 / 570.0 0 / 40.0 0 / 90.0 0 / 60.0 0 / 130.0 0 / 60.0 0 / 953 11.2
CC
3
Cov
0%
CRAP 3.1
SQLite.pm untested 0.0 0 / 570.0 0 / 40.0 0 / 90.0 0 / 60.0 0 / 130.0 0 / 60.0 0 / 953 11.2
CC
3
Cov
0%
dbh
6.0
DESTROY
6.0
setup
2.0
CRAP 3.1
Gungho/Provider 0.0 0 / 1440.0 0 / 260.0 0 / 180.0 0 / 110.0 0 / 250.0 0 / 140.0 0 / 23814 23.8
CC
14
Cov
0%
CRAP 10.8
YAML.pm untested 0.0 0 / 620.0 0 / 120.0 0 / 90.0 0 / 50.0 0 / 80.0 0 / 40.0 0 / 1007 26.5
CC
7
Cov
0%
dispatch
30.0
_load_from_yaml
12.0
new
2.0
CRAP 14.1
Inline.pm untested 0.0 0 / 380.0 0 / 100.0 0 / 60.0 0 / 40.0 0 / 80.0 0 / 50.0 0 / 716 25.9
CC
6
Cov
0%
dispatch
30.0
setup
6.0
new
2.0
CRAP 13.4
Simple.pm untested 0.0 0 / 440.0 0 / 40.0 0 / 30.0 0 / 20.0 0 / 90.0 0 / 50.0 0 / 673 12.4
CC
3
Cov
0%
setup
6.0
dispatch
6.0
new
2.0
CRAP 3.5
Gungho/Provider/File 0.0 0 / 440.0 0 / 80.0 0 / 20.0 0 / 10.0 0 / 60.0 0 / 30.0 0 / 645 27.7
CC
5
Cov
0%
CRAP 16.0
Simple.pm untested 0.0 0 / 440.0 0 / 80.0 0 / 20.0 0 / 10.0 0 / 60.0 0 / 30.0 0 / 645 27.7
CC
5
Cov
0%
dispatch
30.0
new
2.0
pushback_request
2.0
CRAP 16.0
Gungho/Request 0.0 0 / 600.0 0 / 300.0 0 / 190.0 0 / 110.0 0 / 70.0 0 / 30.0 0 / 13016 52.9
CC
16
Cov
0%
CRAP 198.4
http.pm untested 0.0 0 / 600.0 0 / 300.0 0 / 190.0 0 / 110.0 0 / 70.0 0 / 30.0 0 / 13016 52.9
CC
16
Cov
0%
format
272.0
new
2.0
prepare_request
2.0
CRAP 198.4