-
Home
-
MyStyle Custom Product Designer
-
3.18.5
-
Code
-
Classes
- MyStyleProductTest
Total Complexity |
13 |
Dependencies |
10 |
Dependents |
0 |
Total lines |
214 |
Lines of code |
80 |
Logical lines of code |
54 |
Comment lines |
87 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
test_get_parent_design() |
S |
62 |
1 |
11 |
setUp() |
S |
77 |
1 |
4 |
tearDown() |
S |
71 |
1 |
6 |
test_constructor() |
S |
72 |
1 |
5 |
test_get_by_id() |
S |
72 |
1 |
5 |
test_get_id() |
S |
73 |
1 |
5 |
test_get_type() |
S |
70 |
1 |
6 |
test_get_children() |
S |
72 |
1 |
5 |
mock_mystyle_metadata() |
S |
82 |
1 |
3 |
test_product_is_customizable_returns_false_when_product_not_mystyle_enabled() |
S |
68 |
1 |
7 |
test_is_customizable_returns_true_when_product_is_mystyle_enabled() |
S |
66 |
1 |
8 |
test_product_configur8_enabled_returns_false_when_configur8_not_enabled() |
S |
68 |
1 |
7 |
test_configur8_enabled_returns_true_when_configur8_is_enabled() |
S |
66 |
1 |
8 |