-
Home
-
Sucuri Security – Auditing, Malware Scanner and Security Hardening
-
1.9.8 (latest)
-
Code
-
Classes
- SucuriScanCORSHeaders
Total Complexity |
40 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
232 |
Lines of code |
121 |
Logical lines of code |
83 |
Comment lines |
54 |
Methods |
7 |
Properties |
0 |
Methods 7
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setCORSHeaders() |
B |
40 |
20 |
59 |
collectDirectiveValue() |
A |
55 |
9 |
18 |
sanitizeCommaSeparatedValue() |
S |
58 |
4 |
15 |
sanitizeMultiMethodValue() |
S |
58 |
4 |
15 |
sanitizeSimpleValue() |
S |
72 |
1 |
5 |
sanitizeHeaderToken() |
S |
75 |
1 |
4 |
sanitizeNumericValue() |
S |
72 |
1 |
5 |