Coverage Report

Statementstmt 54.7% 138 / 252 Branchbran 6.5% 3 / 46 Conditioncond 0.0% 0 / 20 MC/DCmcdc 0.0% 0 / 12 Subroutinesub 51.4% 36 / 70 Podpod 53.5% 15 / 28 totaltotal 44.8% 192 / 428 CC 33 scar 24.4 CC 33 · cov 44% · CRAP 11.4
Prefix: blib/lib/Ethereum/RPC/

Top SCAR

Contract/ContractTransaction.pm 34.6
CC
13
Cov
33%
get_contract_address
72.0
send_transaction
20.0
call_transaction
12.0
CRAP 31.8
Contract.pm 23.1
CC
12
Cov
32%
BUILD
30.0
get_function_id
20.0
get_hex_param
12.0
CRAP 10.0
Contract/ContractResponse.pm 16.5
CC
6
Cov
45%
to_hex
12.0
to_big_int
6.0
to_big_float
6.0
CRAP 5.2
Client.pm 11.5
CC
5
Cov
75%
AUTOLOAD
6.9
contract
2.0
BEGIN
1.0
CRAP 3.2
Contract/Helper/UnitConversion.pm 5.9
CC
1
Cov
46%
to_wei
2.0
to_kwei
2.0
to_mwei
2.0
CRAP 1.8
4 4 files < 75%
2 2 files 75-90%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 53.2 66 / 12412.5 3 / 240.0 0 / 20.0 0 / 156.6 17 / 30100 8 / 849.7 94 / 18916 20.7
CC
16
Cov
46%
CRAP 7.9
Contract.pm 39.2 33 / 840.0 0 / 160.0 0 / 20.0 0 / 140.0 8 / 20100 7 / 736.9 48 / 13012 23.1
CC
12
Cov
32%
BUILD
30.0
get_function_id
20.0
get_hex_param
12.0
CRAP 10.0
Client.pm 82.5 33 / 4037.5 3 / 8n/a n/a 90.0 9 / 10100 1 / 177.9 46 / 595 11.5
CC
5
Cov
75%
AUTOLOAD
6.9
contract
2.0
BEGIN
1.0
CRAP 3.2
Contract 54.6 47 / 860.0 0 / 220.0 0 / 180.0 0 / 1160.0 12 / 20100 7 / 740.2 66 / 16418 30.5
CC
18
Cov
37%
CRAP 21.0
ContractTransaction.pm 53.0 26 / 490.0 0 / 120.0 0 / 180.0 0 / 1160.0 6 / 10100 3 / 333.9 35 / 10313 34.6
CC
13
Cov
33%
get_contract_address
72.0
send_transaction
20.0
call_transaction
12.0
CRAP 31.8
ContractResponse.pm 56.7 21 / 370.0 0 / 10n/a n/a 60.0 6 / 10100 4 / 450.8 31 / 616 16.5
CC
6
Cov
45%
to_hex
12.0
to_big_int
6.0
to_big_float
6.0
CRAP 5.2
Contract/Helper 59.5 25 / 42n/a n/a n/a 35.0 7 / 200.0 0 / 1342.6 32 / 751 5.0
CC
1
Cov
60%
CRAP 1.6
UnitConversion.pm 45.8 11 / 24n/a n/a n/a 20.0 3 / 150.0 0 / 1227.4 14 / 511 5.9
CC
1
Cov
46%
to_wei
2.0
to_kwei
2.0
to_mwei
2.0
CRAP 1.8
ImportHelper.pm 77.7 14 / 18n/a n/a n/a 80.0 4 / 50.0 0 / 175.0 18 / 241 1.8
CC
1
Cov
78%
from_truffle_build
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2