lnd D

Total Complexity 134
Dependencies 4
Dependents 1
Total lines 1,021
Lines of code 529
Logical lines of code 332
Comment lines 266
Methods 41
Properties 12

Methods 41

Method Rating Maintainability Complexity Lines of code
get_node_alias()
A
53 11 23
request()
S
49 7 30
is_node_locked()
S
56 6 20
close_channel()
S
54 6 20
is_node_reachable()
S
57 6 18
is_node_online()
S
56 5 20
get_new_invoice()
S
53 4 22
get_node_synced()
S
58 4 17
get_peer_alias()
S
58 4 17
get_total_channel_balance()
S
58 4 16
get_total_blockchain_balance()
S
58 4 16
get_unconfirmed_balance()
S
58 4 16
get_confirmed_balance()
S
58 4 16
get_node_num_channels()
S
58 4 16
get_node_num_peers()
S
58 4 16
get_node_version()
S
59 3 14
get_node_closed_channels()
S
60 3 14
invoice_is_paid()
S
61 3 13
get_node_pubkey()
S
61 3 13
get_node_blockheight()
S
61 3 13
get_transactions()
S
63 3 11
connect_peer()
S
61 2 12
open_channel()
S
63 2 11
get_node_chain_address()
S
68 2 8
unlock_wallet()
S
65 2 9
get_node_peers()
S
68 2 8
get_network_details()
S
68 2 8
get_network_graph()
S
67 2 8
__construct()
S
74 2 5
disconnect_peer()
S
65 2 9
set_host()
S
64 2 9
decode_invoice()
S
66 2 9
get_node_pending_channels()
S
66 2 9
get_node_open_channels()
S
66 2 9
get_invoices()
S
66 2 9
pay_invoice()
S
64 2 10
load_tls_cert()
S
67 2 8
load_macaroon_from_data()
S
69 2 7
set_cacert_file()
S
70 2 7
set_connection_timeout()
S
74 2 5
draw_qr()
S
65 1 8