MyStyleDesignProfilePageTest S

Total Complexity 28
Dependencies 11
Dependents 0
Total lines 649
Lines of code 258
Logical lines of code 193
Comment lines 232
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
test_init_with_post_request()
S
52 2 23
test_init_with_no_design_id()
S
54 2 20
test_init_with_valid_design_id()
S
55 2 19
test_get_design_id_from_url_without_permalinks()
S
62 2 12
test_get_design_url_with_custom_slug()
S
57 1 18
test_init_with_a_non_existant_design_id()
S
57 1 17
test_filter_title()
S
58 1 16
test_get_design_id_from_url_with_a_custom_slug()
S
59 1 15
test_get_design_url_without_permalinks()
S
62 1 11
test_get_design_url_with_permalinks()
S
63 1 11
setUp()
S
70 1 6
test_filter_body_class_adds_class_to_design_profile_page()
S
64 1 10
test_get_design_id_from_url_with_permalinks()
S
66 1 8
test_delete()
S
70 1 6
test_get_index_url_with_permalinks()
S
65 1 9
test_get_index_url_without_permalinks()
S
67 1 8
tearDown()
S
67 1 8
test_exists()
S
74 1 5
test_is_current_post_returns_false_when_not_current_post()
S
76 1 4
test_is_current_post_returns_true_when_current_post()
S
67 1 8
test_get_id()
S
73 1 5
test_create()
S
72 1 5
test_constructor()
S
70 1 6
test_show_add_to_cart()
S
67 1 8