Twig_NodeVisitor_Optimizer A

Total Complexity 56
Dependencies 18
Dependents 1
Total lines 225
Lines of code 121
Logical lines of code 63
Comment lines 49
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
enterOptimizeFor()
A
49 15 29
leaveNode()
A
50 12 25
enterNode()
A
54 10 19
optimizePrintNode()
S
61 4 13
__construct()
S
69 3 6
optimizeVariables()
S
67 3 7
optimizeRawFilter()
S
70 3 6
leaveOptimizeFor()
S
74 2 5
addLoopToAll()
S
73 2 5
addLoopToCurrent()
S
79 1 3
getPriority()
S
82 1 3