wpl_scssc D

Total Complexity 615
Dependencies 3
Dependents 3
Total lines 2,609
Lines of code 1,845
Logical lines of code 1,263
Comment lines 139
Methods 149
Properties 62

Methods 149

Method Rating Maintainability Complexity Lines of code
reduce()
D
23
64 143
compileChild()
D
20
58 181
compileValue()
B
38 23 62
applyArguments()
B
39 19 65
mergeMediaTypes()
A
46 14 42
op_color_color()
A
46 14 36
matchExtends()
A
47 14 34
matchExtendsSingle()
A
48 12 31
compileMediaQuery()
A
45 11 42
callBuiltin()
A
48 11 30
flattenSelectors()
A
50 11 28
alter_color()
A
51 11 24
findImport()
A
51 10 26
sortArgs()
A
49 9 33
joinSelectors()
A
52 8 25
multiplyMedia()
A
53 8 23
compileImport()
A
54 8 21
compileMedia()
S
50 7 27
lib_mix()
S
51 7 25
scale_color_helper()
S
55 7 20
multiplySelectors()
S
55 6 21
toHSL()
S
53 6 21
flattenSelectorSingle()
S
56 6 18
lib_comparable()
S
63 7 9
hueToRGB()
S
60 6 13
injectVariables()
S
53 5 21
normalizeValue()
S
55 5 19
getNormalizedNumbers()
S
55 5 19
lib_zip()
S
56 5 19
combineSelectorSingle()
S
58 5 17
op_add()
S
58 5 16
coerceColor()
S
58 5 15
lib_type_of()
S
59 5 15
evalSelectorPart()
S
59 5 14
shouldEval()
S
61 5 12
hasSelectorPlaceholder()
S
63 5 11
get()
S
62 5 11
compileSelectorPart()
S
60 4 14
pushExtends()
S
60 4 14
listSeparatorForJoin()
S
63 4 11
setExisting()
S
66 4 8
coerceList()
S
69 4 6
fixColor()
S
67 4 7
throwError()
S
63 4 10
lib_min()
S
63 4 10
mediaParent()
S
65 4 9
toRGB()
S
57 3 15
lib_max()
S
63 4 10
compileStringContent()
S
63 3 11
extractInterpolation()
S
61 3 11
importFile()
S
57 2 16
op_eq()
S
66 3 8
isSelfExtend()
S
67 3 8
compileChildren()
S
70 3 6
expToString()
S
64 3 9
lib_rgba()
S
62 3 10
lib_quote()
S
69 3 6
coercePercent()
S
66 3 9
lib_index()
S
63 3 10
op_and()
S
73 3 5
op_or()
S
73 3 5
coerceString()
S
66 3 9
lib_alpha()
S
69 3 6
compile()
S
54 1 21
adjustHsl()
S
67 2 7
lib_unquote()
S
72 2 5
lib_transparentize()
S
67 2 7
lib_if()
S
72 2 5
lib_opacify()
S
67 2 7
lib_invert()
S
64 2 9
isTruthy()
S
79 2 3
compileSelector()
S
72 2 5
assertNumber()
S
72 2 5
assertColor()
S
75 2 4
assertList()
S
73 2 5
lib_ie_hex_str()
S
70 2 5
lib_grayscale()
S
71 2 5
coerceForExpression()
S
72 2 6
toBool()
S
80 2 3
pushEnv()
S
65 2 9
lib_nth()
S
70 2 5
getStoreEnv()
S
79 2 3
set()
S
67 2 8
lib_saturate()
S
67 2 7
lib_opacity()
S
72 2 5
coerceUnit()
S
67 2 7
lib_unit()
S
68 2 7
lib_unitless()
S
74 2 4
normalizeNumber()
S
66 2 8
lib_desaturate()
S
71 1 5
lib_darken()
S
71 1 5
lib_complement()
S
78 1 3
lib_lighten()
S
71 1 5
lib_fade_in()
S
80 1 3
lib_adjust_hue()
S
71 1 5
setRaw()
S
75 1 4
lib_fade_out()
S
80 1 3
lib_percentage()
S
72 1 5
lib_round()
S
73 1 5
lib_floor()
S
73 1 5
lib_ceil()
S
73 1 5
lib_lightness()
S
71 1 5
evalSelector()
S
79 1 3
lib_length()
S
75 1 4
compileBlock()
S
64 1 9
lib_join()
S
67 1 7
lib_append()
S
69 1 6
compileNestedBlock()
S
66 1 8
compileRoot()
S
73 1 5
makeOutputBlock()
S
64 1 10
lib_counter()
S
73 1 4
lib_abs()
S
73 1 5
op_add_number_number()
S
77 1 3
lib_saturation()
S
71 1 5
registerFunction()
S
79 1 3
op_gte_number_number()
S
78 1 3
op_gt_number_number()
S
79 1 3
op_lte_number_number()
S
78 1 3
op_lt_number_number()
S
78 1 3
fileExists()
S
80 1 3
normalizeName()
S
79 1 3
setFormatter()
S
81 1 3
op_number_color()
S
72 1 5
setNumberPrecision()
S
81 1 3
setImportPaths()
S
80 1 3
addImportPath()
S
80 1 3
getParsedFiles()
S
82 1 3
popEnv()
S
74 1 5
unsetVariable()
S
80 1 3
op_neq()
S
79 1 3
op_color_number()
S
72 1 5
lib_hue()
S
71 1 5
lib_scale_color()
S
79 1 3
lib_hsla()
S
69 1 6
lib_hsl()
S
74 1 4
setVariables()
S
79 1 3
lib_blue()
S
75 1 4
lib_green()
S
75 1 4
lib_red()
S
75 1 4
op_mul_number_number()
S
77 1 3
op_mod_number_number()
S
77 1 3
lib_change_color()
S
79 1 3
change_color_helper()
S
82 1 3
lib_adjust_color()
S
79 1 3
adjust_color_helper()
S
80 1 3
op_sub_number_number()
S
77 1 3
op_div_number_number()
S
77 1 3
lib_rgb()
S
74 1 4
unregisterFunction()
S
79 1 3