PHPExcel_Calculation D

Total Complexity 503
Dependencies 9
Dependents 24
Total lines 3,749
Lines of code 1,415
Logical lines of code 1,002
Comment lines 738
Methods 52
Properties 29

Methods 52

Method Rating Maintainability Complexity Lines of code
_parseFormula()
D
8
113 275
_processTokenStack()
D
8
100 305
_executeBinaryComparisonOperation()
B
40 23 56
_calculateFormulaValue()
B
39 21 61
_executeNumericBinaryOperation()
B
40 19 57
setLocale()
B
39 18 58
calculateCellValue()
A
43 16 45
_resizeMatricesExtend()
A
49 15 34
_resizeMatricesShrink()
A
50 15 30
extractNamedRange()
A
45 10 42
_showTypeDetails()
A
50 10 28
_showValue()
A
50 10 26
_convertMatrixReferences()
A
47 9 38
_validateBinaryOperand()
A
56 8 17
extractCellRange()
S
49 7 30
_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
__construct()
S
58 5 14
_dataTestReference()
S
60 4 13
_localeFunc()
S
62 4 11
parseFormula()
S
67 4 7
setArrayReturnType()
S
65 4 9
_getMatrixDimensions()
S
59 3 14
listFunctions()
S
62 3 12
getInstance()
S
70 3 6
flushInstance()
S
73 3 5
_writeDebug()
S
66 3 8
listFunctionNames()
S
65 3 9
calculateFormula()
S
60 2 13
calculate()
S
69 2 7
isImplemented()
S
66 2 8
__destruct()
S
73 2 5
_raiseFormulaError()
S
70 2 6
disableCalculationCache()
S
81 1 3
__clone()
S
80 1 3
listAllFunctionNames()
S
80 1 3
setCalculationCacheExpirationTime()
S
80 1 3
getTRUE()
S
79 1 3
enableCalculationCache()
S
81 1 3
getFALSE()
S
79 1 3
getCalculationCacheExpirationTime()
S
81 1 3
clearCalculationCache()
S
80 1 3
getArrayReturnType()
S
80 1 3
getLocale()
S
81 1 3
getCalculationCacheEnabled()
S
81 1 3
setCalculationCacheEnabled()
S
76 1 4
_mkMatrix()
S
80 1 3