ITSEC_Site_Scanner_API B

Total Complexity 78
Dependencies 10
Dependents 1
Total lines 594
Lines of code 326
Logical lines of code 186
Comment lines 158
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
scan()
A
42 11 51
scan_main_site()
A
49 8 28
generate_signature()
S
51 7 25
make_request()
S
48 6 34
maybe_cache()
S
51 6 24
parse_response_body()
S
55 5 19
get_authorization_header()
S
58 5 16
register_site()
S
53 4 23
parse_response()
S
56 4 18
is_temporary_server_error()
S
58 4 15
scan_sub_site()
S
60 3 13
has_registered_site_key()
S
65 3 8
get_public_key()
S
63 2 11
call_api()
S
64 2 9
generate_key_pair()
S
63 2 10
get_registered_site_key()
S
71 2 5
clean_url()
S
78 1 3
clear_key_pair()
S
80 1 3
set_registered_site_key()
S
66 1 8
build_cache_key()
S
77 1 3