Coverage Report

Statementstmt 53.4% 141 / 264 Branchbran 5.5% 3 / 54 Conditioncond 0.0% 0 / 34 MC/DCmcdc 0.0% 0 / 19 Subroutinesub 52.1% 37 / 71 Podpod 53.5% 15 / 28 totaltotal 41.7% 196 / 470 CC 44 scar 31.3 CC 44 · cov 41% · CRAP 22.9
Prefix: blib/lib/Ethereum/RPC/

Top SCAR

Contract.pm 36.7
CC
20
Cov
28%
get_function_id
110.0
BUILD
56.0
get_hex_param
12.0
CRAP 39.4
Contract/ContractTransaction.pm 35.7
CC
16
Cov
30%
get_contract_address
72.0
call_transaction
30.0
send_transaction
30.0
CRAP 35.4
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) 51.1 69 / 1359.3 3 / 320.0 0 / 100.0 0 / 558.0 18 / 31100 8 / 844.3 98 / 22124 34.0
CC
24
Cov
41%
CRAP 30.0
Contract.pm 37.8 36 / 950.0 0 / 240.0 0 / 100.0 0 / 542.8 9 / 21100 7 / 732.1 52 / 16220 36.7
CC
20
Cov
28%
get_function_id
110.0
BUILD
56.0
get_hex_param
12.0
CRAP 39.4
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.0 47 / 870.0 0 / 220.0 0 / 240.0 0 / 1460.0 12 / 20100 7 / 737.9 66 / 17421 31.8
CC
21
Cov
35%
CRAP 24.1
ContractTransaction.pm 52.0 26 / 500.0 0 / 120.0 0 / 240.0 0 / 1460.0 6 / 10100 3 / 330.9 35 / 11316 35.7
CC
16
Cov
30%
get_contract_address
72.0
call_transaction
30.0
send_transaction
30.0
CRAP 35.4
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