Ticket #6313: top_offenders.txt

File top_offenders.txt, 4.0 KB (added by nickm, 7 years ago)

cyclomatic complexity >= 20

Line 
1accounting_parse_options        20
2circuit_end_reason_to_control_string    20
3do_main_loop    20
4evdns_server_callback   20
5options_init_from_torrc 20
6parse_socks_client      20
7router_pick_trusteddirserver_impl       20
8stream_end_reason_to_socks5_response    20
9tor_addr_parse_PTR_name 20
10circuit_detach_stream   21
11circuit_purpose_to_controller_hs_state_string   21
12circuit_purpose_to_controller_string    21
13circuit_purpose_to_string       21
14compute_weighted_bandwidths     21
15config_clear    21
16directory_initiate_command_rend 21
17extend_cell_parse       21
18or_state_load   21
19set_exitconn_info_from_resolve  21
20validate_dir_servers    21
21assert_circuit_ok       22
22channel_flush_some_cells_from_outgoing_queue    22
23connection_edge_compatible_with_circuit 22
24dirserv_generate_networkstatus_vote_obj 22
25errno_to_stream_end_reason      22
26evdns_callback  22
27networkstatus_check_weights     22
28smartlist_split_string  22
29tor_tls_create_certificate      22
30warn_if_last_router_excluded    22
31channel_tls_process_auth_challenge_cell 23
32circuit_expire_old_circuits_clientside  23
33connection_handle_listener_read 23
34directory_handle_command_post   23
35entry_guard_set_status  23
36relay_command_to_string 23
37rend_encode_v2_descriptors      23
38rend_process_relay_cell 23
39tor_addr_compare_masked 23
40addressmap_rewrite      24
41channel_tls_process_netinfo_cell        24
42circuit_send_next_onion_skin    24
43conn_close_if_marked    24
44connection_ap_handshake_socks_resolved  24
45connection_read_proxy_handshake 24
46consider_adding_dir_servers     24
47extrainfo_parse_entry_from_string       24
48getinfo_helper_misc     24
49handle_proxy_line       24
50resolve_my_address      24
51router_pick_directory_server_impl       24
52smartlist_choose_node_by_bandwidth      25
53tor_gzip_uncompress     25
54circuit_predict_and_launch_new  26
55circuit_set_circid_chan_helper  26
56connection_ap_handshake_attach_circuit  26
57connection_edge_package_raw_inbuf       26
58connection_or_group_set_badness 26
59extrainfo_dump_to_string        26
60getinfo_helper_config   26
61rend_parse_v2_service_descriptor        26
62router_rebuild_descriptor       26
63tor_addr_is_internal_   26
64tor_version_parse       26
65networkstatus_compute_bw_weights_v10    27
66options_act_reversible  27
67router_set_networkstatus_v2     27
68run_connection_housekeeping     27
69directory_send_command  28
70networkstatus_v2_parse_from_string      28
71options_init_logs       28
72router_dump_router_to_string    28
73routerlist_remove_old_routers   28
74unescape_string 28
75authority_cert_parse_from_string        29
76circuit_find_to_cannibalize     29
77channel_change_state    30
78circuit_resume_edge_reading_helper      30
79connection_exit_begin_conn      30
80handle_control_authenticate     30
81parse_dir_authority_line        30
82tor_inet_ntop   30
83config_get_assigned_option      31
84get_next_token  31
85tokenize_string 31
86channel_tls_process_versions_cell       32
87connection_free_        32
88connection_listener_new 32
89dirserv_get_status_impl 32
90handle_control_attachstream     32
91rend_config_services    32
92connection_handle_read_impl     34
93tor_inet_pton   35
94tor_vsscanf     35
95config_assign_value     36
96control_event_stream_status     36
97router_differences_are_cosmetic 36
98channel_tls_process_authenticate_cell   37
99circuit_mark_for_close_ 37
100directory_get_from_dirserver    37
101connection_read_to_buf  38
102tor_tls_context_new     38
103rend_service_introduce  39
104router_add_to_routerlist        39
105connection_edge_process_relay_cell_not_open     41
106connection_ap_process_end_not_open      42
107entry_guards_parse_state        42
108tor_addr_parse_mask_ports       42
109getinfo_helper_dir      44
110networkstatus_compute_bw_weights_v9     44
111conn_state_to_string    45
112getinfo_helper_events   45
113rep_hist_load_mtbf_data 45
114connection_handle_write_impl    47
115parse_config_line_from_str_verbose      48
116init_keys       49
117networkstatus_verify_bw_weights 50
118assert_connection_ok    51
119circuit_is_acceptable   51
120parse_port_config       51
121circuit_get_open_circ_or_launch 54
122networkstatus_set_current_consensus     56
123channel_tls_process_certs_cell  57
124routerstatus_parse_entry_from_string    60
125parse_socks     62
126router_parse_entry_from_string  66
127connection_control_process_inbuf        79
128networkstatus_compute_consensus 87
129connection_edge_process_relay_cell      89
130circuit_expire_building 91
131connection_ap_handshake_rewrite_and_attach      92
132networkstatus_parse_vote_from_string    98
133run_scheduled_events    98
134connection_dir_client_reached_eof       111
135directory_handle_command_get    119
136options_act     155
137options_validate        294