Coverage Report

Statementstmt 43.3% 144 / 332 Branchbran 0.0% 0 / 72 Conditioncond 0.0% 0 / 61 MC/DCmcdc 0.0% 0 / 34 Subroutinesub 48.0% 37 / 77 Podpod 56.6% 17 / 30 totaltotal 32.6% 198 / 606 CC 61 scar 37.6 CC 61 · cov 31% · CRAP 42.8
Prefix: blib/lib/Ethereum/RPC/

Top SCAR

Contract.pm 42.7
CC
35
Cov
20%
get_hex_param
240.0
BUILD
42.0
get_function_offset
42.0
CRAP 71.3
Contract/ContractTransaction.pm 38.5
CC
19
Cov
29%
send_transaction
72.0
get_contract_address
72.0
call_transaction
30.0
CRAP 46.8
Client.pm 19.4
CC
4
Cov
51%
AUTOLOAD
20.0
contract
2.0
__ANON__
1.1
CRAP 6.9
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
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
5 5 files < 75%
1 1 file 75-90%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 35.3 70 / 1980.0 0 / 440.0 0 / 370.0 0 / 2048.6 18 / 37100 10 / 1028.3 98 / 34638 40.9
CC
38
Cov
25%
CRAP 60.0
Contract.pm 29.5 47 / 1590.0 0 / 380.0 0 / 370.0 0 / 2044.4 12 / 27100 9 / 923.4 68 / 29035 42.7
CC
35
Cov
20%
get_hex_param
240.0
BUILD
42.0
get_function_offset
42.0
CRAP 71.3
Client.pm 58.9 23 / 390.0 0 / 6n/a n/a 60.0 6 / 10100 1 / 153.5 30 / 564 19.4
CC
4
Cov
51%
AUTOLOAD
20.0
contract
2.0
__ANON__
1.1
CRAP 6.9
Contract 53.2 49 / 920.0 0 / 280.0 0 / 240.0 0 / 1460.0 12 / 20100 7 / 736.7 68 / 18524 34.7
CC
24
Cov
34%
CRAP 32.3
ContractTransaction.pm 50.9 28 / 550.0 0 / 180.0 0 / 240.0 0 / 1460.0 6 / 10100 3 / 329.8 37 / 12419 38.5
CC
19
Cov
29%
send_transaction
72.0
get_contract_address
72.0
call_transaction
30.0
CRAP 46.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