SucuriScanCacheHeaders B

Total Complexity 78
Dependencies 3
Dependents 1
Total lines 219
Lines of code 164
Logical lines of code 107
Comment lines 5
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
selectCacheDirective()
C
42 27 42
getCacheDirectives()
A
52 16 23
isNoCacheable()
A
59 13 11
getCacheDirectiveFromOption()
A
45 7 38
getCacheControlStaleFactor()
S
60 6 13
getFuturePostMaxTime()
S
54 4 21
mergeHttpHeader()
S
72 2 5
setCacheHeaders()
S
70 2 7
isWooCommerceInstalled()
S
75 1 4