Twig_Parser A

Total Complexity 73
Dependencies 21
Dependents 5
Total lines 373
Lines of code 229
Logical lines of code 131
Comment lines 29
Methods 31
Properties 14

Methods 31

Method Rating Maintainability Complexity Lines of code
subparse()
B
39 18 60
filterBodyNodes()
A
51 12 24
parse()
A
43 10 46
setMacro()
S
60 4 13
getImportedSymbol()
S
69 3 7
getCurrentToken()
S
81 1 3
getStream()
S
82 1 3
setParent()
S
81 1 3
getParent()
S
82 1 3
getExpressionParser()
S
82 1 3
popLocalScope()
S
81 1 3
pushLocalScope()
S
80 1 3
isMainScope()
S
79 1 3
addImportedSymbol()
S
77 1 3
embedTemplate()
S
76 1 4
hasTraits()
S
80 1 3
__construct()
S
81 1 3
addTrait()
S
80 1 3
getEnvironment()
S
82 1 3
setBlock()
S
78 1 3
getBlock()
S
80 1 3
hasBlock()
S
79 1 3
pushBlockStack()
S
80 1 3
popBlockStack()
S
81 1 3
peekBlockStack()
S
79 1 3
getBlockStack()
S
82 1 3
addNodeVisitor()
S
80 1 3
addHandler()
S
80 1 3
getFilename()
S
81 1 3
getVarName()
S
77 1 3
hasMacro()
S
79 1 3