seedprod_lessc D

Total Complexity 418
Dependencies 3
Dependents 2
Total lines 2,046
Lines of code 1,426
Logical lines of code 933
Comment lines 169
Methods 102
Properties 17

Methods 102

Method Rating Maintainability Complexity Lines of code
reduce()
C
32 29 101
compileProp()
C
32 26 99
patternMatch()
B
40 20 61
funcToColor()
B
41 19 56
compileValue()
B
42 18 47
evaluate()
A
46 12 37
op_number_number()
A
47 12 35
cachedCompile()
A
50 12 29
tryImport()
A
44 11 43
findBlocks()
A
47 11 39
op_color_color()
A
48 11 31
toHSL()
A
47 9 37
compileMediaQuery()
A
49 8 30
zipSetArgs()
A
51 8 25
multiplyMedia()
A
54 8 21
sortProps()
S
50 7 29
lib__sprintf()
S
50 7 28
coerceColor()
S
51 7 24
lib_mix()
S
51 6 25
compileBlock()
S
53 6 22
multiplySelectors()
S
55 6 21
toRGB_helper()
S
57 6 17
get()
S
57 6 16
toRGB()
S
52 5 24
parse()
S
56 5 20
lib_e()
S
57 5 17
injectVariables()
S
58 4 15
findImport()
S
63 5 9
stringConcatenate()
S
61 4 13
fixColor()
S
63 4 11
compileMedia()
S
55 3 19
compileFile()
S
57 3 17
mediaParent()
S
65 4 9
lib_rgbahex()
S
60 3 13
compileSelectors()
S
62 3 12
findClosestSelectors()
S
63 3 12
compile()
S
56 2 19
op_number_color()
S
72 3 5
coerceString()
S
66 3 9
lib_alpha()
S
71 3 5
compressList()
S
67 3 7
newFormatter()
S
65 3 10
checkedCompile()
S
68 3 7
flattenList()
S
69 3 6
colorArgs()
S
64 3 9
patternMatchAll()
S
65 3 9
compileImportedProps()
S
63 2 11
toBool()
S
71 2 7
op_color_number()
S
64 2 10
throwError()
S
71 2 6
ccompile()
S
70 2 6
assertNumber()
S
70 2 6
__construct()
S
74 2 5
assertColor()
S
69 2 7
cexecute()
S
70 2 6
expandParentSelectors()
S
63 2 10
compileProps()
S
72 2 5
lib_fadein()
S
70 2 5
lib_fadeout()
S
70 2 5
lib_spin()
S
64 2 9
lib_ispixel()
S
77 2 3
lib_ispercentage()
S
77 2 3
lib_isem()
S
77 2 3
lib_percentage()
S
74 1 4
setPreserveComments()
S
81 1 3
compileRoot()
S
71 1 6
makeParser()
S
73 1 5
setFormatter()
S
81 1 3
compileNestedBlock()
S
67 1 8
unregisterFunction()
S
80 1 3
registerFunction()
S
80 1 3
lib_isnumber()
S
78 1 3
setVariables()
S
79 1 3
unsetVariable()
S
80 1 3
setImportDir()
S
80 1 3
addImportDir()
S
77 1 4
allParsedFiles()
S
82 1 3
addParsedFile()
S
79 1 3
compileCSSBlock()
S
63 1 10
preg_quote()
S
79 1 3
eq()
S
80 1 3
set()
S
80 1 3
lib_isstring()
S
78 1 3
lib_darken()
S
69 1 6
fileExists()
S
80 1 3
lib_saturation()
S
75 1 4
lib_hue()
S
75 1 4
clamp()
S
78 1 3
lib_desaturate()
S
69 1 6
lib_saturate()
S
69 1 6
lib_lighten()
S
69 1 6
lib_round()
S
74 1 4
lib_iscolor()
S
80 1 3
lib_ceil()
S
74 1 4
lib_floor()
S
74 1 4
lib_argb()
S
80 1 3
makeOutputBlock()
S
66 1 9
pushEnv()
S
68 1 8
popEnv()
S
74 1 5
lib_fade()
S
71 1 5
lib_iskeyword()
S
78 1 3
lib_lightness()
S
75 1 4