PHPExcel_Calculation D

Total Complexity 524
Dependencies 13
Dependents 23
Total lines 7,741
Lines of code 1,446
Logical lines of code 1,027
Comment lines 1,120
Methods 57
Properties 31

Methods 57

Method Rating Maintainability Complexity Lines of code
_parseFormula()
D
9
113 257
_processTokenStack()
D
8
102 307
_executeBinaryComparisonOperation()
D
34 32 82
setLocale()
B
39 19 60
_executeNumericBinaryOperation()
B
42 19 48
_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
_validateBinaryOperand()
A
51 11 24
_showTypeDetails()
A
50 10 28
_showValue()
A
50 10 26
_convertMatrixReferences()
A
47 9 38
extractCellRange()
A
49 7 32
_checkMatrixOperands()
S
53 7 22
_translateFormulaToEnglish()
S
53 7 21
_translateFormulaToLocale()
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
getValueFromCache()
S
64 3 9
listFunctionNames()
S
65 3 9
_loadLocales()
S
64 3 9
unsetInstance()
S
68 3 7
calculateFormula()
S
59 2 14
saveValueToCache()
S
73 2 5
isImplemented()
S
66 2 8
_raiseFormulaError()
S
70 2 6
calculate()
S
69 2 7
__destruct()
S
73 2 5
renameCalculationCacheForWorksheet()
S
70 2 6
clearCalculationCacheForWorksheet()
S
73 2 5
disableCalculationCache()
S
81 1 3
getDebugLog()
S
82 1 3
listAllFunctionNames()
S
80 1 3
getLocale()
S
81 1 3
flushInstance()
S
82 1 3
strcmpLowercaseFirst()
S
68 1 7
enableCalculationCache()
S
81 1 3
__clone()
S
80 1 3
getTRUE()
S
79 1 3
getFALSE()
S
79 1 3
clearCalculationCache()
S
81 1 3
getCalculationCacheEnabled()
S
82 1 3
_mkMatrix()
S
80 1 3
setCalculationCacheEnabled()
S
77 1 4
getArrayReturnType()
S
80 1 3