PHPExcel_Calculation D

Total Complexity 510
Dependencies 13
Dependents 23
Total lines 3,829
Lines of code 1,414
Logical lines of code 1,011
Comment lines 795
Methods 56
Properties 31

Methods 56

Method Rating Maintainability Complexity Lines of code
_parseFormula()
D
9
113 257
_processTokenStack()
D
8
101 306
_executeBinaryComparisonOperation()
B
40 23 56
setLocale()
B
39 19 60
_executeNumericBinaryOperation()
B
40 19 57
_calculateFormulaValue()
B
45 17 37
calculateCellValue()
A
43 15 45
_resizeMatricesExtend()
A
49 15 34
_resizeMatricesShrink()
A
50 15 30
extractNamedRange()
A
44 10 44
_showTypeDetails()
A
50 10 28
_showValue()
A
50 10 26
_convertMatrixReferences()
A
47 9 38
_validateBinaryOperand()
A
56 8 17
extractCellRange()
A
49 7 32
_checkMatrixOperands()
S
53 7 22
_translateFormulaToLocale()
S
53 7 21
_translateFormulaToEnglish()
S
53 7 21
_unwrapResult()
S
62 8 10
_translateSeparator()
S
56 6 17
_wrapResult()
S
61 6 11
_translateFormula()
S
54 5 21
getInstance()
S
61 5 12
__construct()
S
59 4 13
_dataTestReference()
S
60 4 13
_localeFunc()
S
62 4 11
setArrayReturnType()
S
65 4 9
parseFormula()
S
67 4 7
_getMatrixDimensions()
S
59 3 14
listFunctions()
S
62 3 12
_loadLocales()
S
64 3 9
unsetInstance()
S
68 3 7
getValueFromCache()
S
64 3 9
listFunctionNames()
S
65 3 9
calculateFormula()
S
59 2 14
__destruct()
S
73 2 5
clearCalculationCacheForWorksheet()
S
73 2 5
renameCalculationCacheForWorksheet()
S
70 2 6
calculate()
S
69 2 7
saveValueToCache()
S
73 2 5
_raiseFormulaError()
S
70 2 6
isImplemented()
S
66 2 8
flushInstance()
S
82 1 3
getDebugLog()
S
82 1 3
__clone()
S
80 1 3
getTRUE()
S
79 1 3
getFALSE()
S
79 1 3
getArrayReturnType()
S
80 1 3
getCalculationCacheEnabled()
S
82 1 3
setCalculationCacheEnabled()
S
77 1 4
enableCalculationCache()
S
81 1 3
disableCalculationCache()
S
81 1 3
clearCalculationCache()
S
81 1 3
getLocale()
S
81 1 3
_mkMatrix()
S
80 1 3
listAllFunctionNames()
S
80 1 3