PHPExcel_Calculation D

Total Complexity 530
Dependencies 13
Dependents 18
Total lines 4,340
Lines of code 1,518
Logical lines of code 1,034
Comment lines 744
Methods 56
Properties 32

Methods 56

Method Rating Maintainability Complexity Lines of code
_parseFormula()
D
8
114 271
processTokenStack()
D
7
102 323
executeBinaryComparisonOperation()
D
31 42 99
setLocale()
B
38 19 65
executeNumericBinaryOperation()
B
41 19 52
calculateCellValue()
A
41 15 55
_calculateFormulaValue()
A
44 15 41
resizeMatricesExtend()
A
49 15 34
resizeMatricesShrink()
A
50 15 30
extractNamedRange()
A
44 10 44
validateBinaryOperand()
A
51 11 26
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
_translateFormulaToLocale()
S
53 7 21
_translateFormulaToEnglish()
S
53 7 21
unwrapResult()
S
62 8 10
calculateFormula()
S
54 6 21
translateSeparator()
S
55 6 19
wrapResult()
S
61 6 11
translateFormula()
S
54 5 21
getInstance()
S
61 5 12
dataTestReference()
S
60 4 13
localeFunc()
S
60 4 13
parseFormula()
S
62 4 11
setArrayReturnType()
S
65 4 9
getMatrixDimensions()
S
59 3 14
listFunctions()
S
61 3 13
listFunctionNames()
S
65 3 9
getValueFromCache()
S
64 3 9
loadLocales()
S
64 3 9
calculate()
S
69 2 7
renameCalculationCacheForWorksheet()
S
70 2 6
clearCalculationCacheForWorksheet()
S
73 2 5
isImplemented()
S
66 2 8
raiseFormulaError()
S
67 2 8
saveValueToCache()
S
74 2 5
strcmpLowercaseFirst()
S
72 1 5
listAllFunctionNames()
S
80 1 3
__destruct()
S
81 1 3
flushInstance()
S
82 1 3
getDebugLog()
S
82 1 3
__clone()
S
80 1 3
getCalculationCacheEnabled()
S
82 1 3
getTRUE()
S
79 1 3
getFALSE()
S
79 1 3
getArrayReturnType()
S
80 1 3
setCalculationCacheEnabled()
S
77 1 4
mkMatrix()
S
80 1 3
enableCalculationCache()
S
81 1 3
disableCalculationCache()
S
81 1 3
clearCalculationCache()
S
81 1 3
getLocale()
S
81 1 3
__construct()
S
69 1 6