lessc D

Total Complexity 435
Dependencies 3
Dependents 2
Total lines 1,994
Lines of code 1,354
Logical lines of code 972
Comment lines 169
Methods 108
Properties 17

Methods 108

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