lessc D

Total Complexity 490
Dependencies 3
Dependents 2
Total lines 2,224
Lines of code 1,530
Logical lines of code 1,086
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 25 66
funcToColor()
B
43 19 44
compileValue()
B
42 18 47
tryImport()
A
45 12 39
op_number_number()
A
47 12 33
evaluate()
A
48 12 31
cachedCompile()
A
50 12 29
op_color_color()
A
49 11 29
findBlocks()
A
49 11 29
compileMediaQuery()
A
48 9 33
toHSL()
A
50 9 27
sortProps()
A
47 8 41
lib_contrast()
A
51 8 27
coerceColor()
A
51 8 25
multiplyMedia()
A
54 8 22
zipSetArgs()
S
49 7 30
lib_data_uri()
S
56 8 15
lib_mix()
S
50 7 27
lib__sprintf()
S
52 7 22
compileBlock()
S
53 6 22
multiplySelectors()
S
55 6 21
assertArgs()
S
57 6 16
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
patternMatchAll()
S
61 5 12
deduplicate()
S
58 4 16
findImport()
S
63 5 9
injectVariables()
S
59 4 13
stringConcatenate()
S
61 4 13
compileMedia()
S
55 3 19
compileFile()
S
57 3 16
mediaParent()
S
65 4 9
fixColor()
S
67 4 7
findClosestSelectors()
S
63 3 12
compileSelectors()
S
62 3 12
compile()
S
56 2 19
compressList()
S
73 3 4
colorArgs()
S
64 3 9
newFormatter()
S
66 3 9
lib_rgbahex()
S
65 3 8
coerceString()
S
66 3 9
lib_alpha()
S
71 3 5
op_number_color()
S
72 3 5
lib_extract()
S
66 3 7
flattenList()
S
69 3 6
checkedCompile()
S
68 3 7
compileImportedProps()
S
63 2 11
ccompile()
S
70 2 6
lib_green()
S
69 2 7
assertColor()
S
72 2 5
assertNumber()
S
74 2 4
op_color_number()
S
70 2 5
lib_red()
S
69 2 7
throwError()
S
71 2 6
__construct()
S
74 2 5
lib_blue()
S
69 2 7
toBool()
S
77 2 4
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