lessc D

Total Complexity 503
Dependencies 3
Dependents 2
Total lines 2,234
Lines of code 1,540
Logical lines of code 1,090
Comment lines 189
Methods 123
Properties 17

Methods 123

Method Rating Maintainability Complexity Lines of code
compileProp()
D
30 33 114
reduce()
D
32 32 93
patternMatch()
C
38 26 67
compileValue()
B
42 19 47
funcToColor()
B
43 19 44
op_color_color()
A
48 13 31
tryImport()
A
45 12 39
op_number_number()
A
47 12 33
evaluate()
A
48 12 31
findBlocks()
A
49 12 29
cachedCompile()
A
50 12 29
compileMediaQuery()
A
48 9 33
toHSL()
A
49 9 29
sortProps()
A
47 8 41
zipSetArgs()
A
49 8 31
lib_mix()
A
49 8 28
lib_contrast()
A
51 8 27
coerceColor()
A
51 8 25
multiplyMedia()
A
54 8 22
lib_data_uri()
S
56 8 15
lib__sprintf()
S
52 7 22
assertArgs()
S
56 7 16
toRGB()
S
52 6 22
compileBlock()
S
53 6 22
multiplySelectors()
S
55 6 21
get()
S
57 6 16
parse()
S
56 5 20
lib_e()
S
57 5 17
toRGB_helper()
S
64 6 8
patternMatchAll()
S
61 5 12
compileMedia()
S
55 4 19
deduplicate()
S
58 4 16
findImport()
S
63 5 9
stringConcatenate()
S
61 4 13
injectVariables()
S
59 4 13
compileFile()
S
57 3 16
flattenList()
S
69 4 6
colorArgs()
S
63 4 9
mediaParent()
S
65 4 9
fixColor()
S
67 4 7
compileSelectors()
S
62 3 12
findClosestSelectors()
S
63 3 12
compile()
S
56 2 19
compressList()
S
73 3 4
newFormatter()
S
66 3 9
lib_alpha()
S
71 3 5
lib_rgbahex()
S
65 3 8
coerceString()
S
66 3 9
checkedCompile()
S
68 3 7
op_number_color()
S
72 3 5
lib_extract()
S
66 3 7
op_color_number()
S
68 3 6
compileImportedProps()
S
63 2 11
lib_green()
S
69 2 7
toBool()
S
77 2 4
__construct()
S
74 2 5
throwError()
S
71 2 6
ccompile()
S
70 2 6
assertNumber()
S
74 2 4
assertColor()
S
72 2 5
lib_red()
S
69 2 7
lib_blue()
S
69 2 7
lib_spin()
S
66 2 7
lib_fadein()
S
70 2 5
lib_unit()
S
64 2 9
compileProps()
S
70 2 6
expandParentSelectors()
S
63 2 10
lib_ispixel()
S
77 2 3
lib_ispercentage()
S
77 2 3
lib_isem()
S
77 2 3
lib_isrem()
S
77 2 3
lib_round()
S
63 2 10
cexecute()
S
70 2 6
lib_fadeout()
S
70 2 5
setPreserveComments()
S
81 1 3
lib_mod()
S
74 1 4
lib_pi()
S
81 1 3
lib_pow()
S
74 1 4
eq()
S
80 1 3
lib_lightness()
S
75 1 4
lib_saturation()
S
75 1 4
compileRoot()
S
71 1 6
makeParser()
S
73 1 5
setFormatter()
S
81 1 3
compileNestedBlock()
S
67 1 8
lib_saturate()
S
69 1 6
set()
S
80 1 3
registerFunction()
S
80 1 3
unregisterFunction()
S
80 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
lib_tan()
S
80 1 3
popEnv()
S
74 1 5
lib_lighten()
S
69 1 6
lib_fade()
S
71 1 5
lib_darken()
S
69 1 6
lib_luma()
S
73 1 4
lib_desaturate()
S
69 1 6
lib_ceil()
S
74 1 4
clamp()
S
78 1 3
lib_floor()
S
74 1 4
lib_argb()
S
80 1 3
fileExists()
S
80 1 3
lib_percentage()
S
74 1 4
lib_iskeyword()
S
78 1 3
pushEnv()
S
68 1 8
lib_iscolor()
S
80 1 3
lib_isstring()
S
78 1 3
lib_isnumber()
S
78 1 3
lib_sqrt()
S
80 1 3
lib_acos()
S
75 1 4
lib_asin()
S
75 1 4
lib_hue()
S
75 1 4
lib_cos()
S
80 1 3
lib_sin()
S
80 1 3
makeOutputBlock()
S
66 1 9
lib_atan()
S
75 1 4