PHPExcel_Calculation D

Total Complexity 532
Dependencies 13
Dependents 15
Total lines 3,890
Lines of code 1,465
Logical lines of code 1,040
Comment lines 798
Methods 57
Properties 32

Methods 57

Method Rating Maintainability Complexity Lines of code
_parseFormula()
D
9
113 257
_processTokenStack()
D
8
102 307
_executeBinaryComparisonOperation()
D
31 42 94
setLocale()
B
39 19 60
_executeNumericBinaryOperation()
B
42 19 48
calculateCellValue()
A
41 15 53
_calculateFormulaValue()
A
45 15 37
_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
58 4 14
_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
74 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
72 1 5
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