CSPHeadersFeature S

Total Complexity 21
Dependencies 0
Dependents 1
Total lines 188
Lines of code 141
Logical lines of code 65
Comment lines 16
Methods 8
Properties 4

Methods 8

Method Rating Maintainability Complexity Lines of code
add_csp_header()
A
37 4 84
ensure_sources()
S
58 5 16
process_output_buffer()
S
55 2 19
get_user_defined()
S
71 3 5
get_auto_detected()
S
71 3 5
get_site_origin()
S
73 2 4
__construct()
S
72 1 5
normalize_url()
S
79 1 3