MyStyleOptionsTest S

Total Complexity 23
Dependencies 1
Dependents 0
Total lines 354
Lines of code 182
Logical lines of code 132
Comment lines 105
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
test_is_demo_mode_for_non_demo_key()
S
61 2 13
test_get_secret()
S
62 2 12
test_is_demo_mode_for_demo_key()
S
62 2 12
test_get_api_key()
S
62 2 12
test_is_option_enabled_returns_true_when_val_not_set_and_default_set_to_true()
S
64 1 11
test_is_redirect_url_permitted_returns_false_when_domain_not_whitelisted()
S
63 1 11
test_is_redirect_url_permitted_returns_true_when_domain_whitelisted()
S
63 1 11
test_is_option_enabled_returns_false_when_val_not_set()
S
71 1 6
test_is_option_enabled_returns_false_when_val_equals_0()
S
64 1 10
test_is_option_enabled_returns_true_when_val_equals_1()
S
64 1 10
test_enable_configur8()
S
67 1 8
test_is_redirect_url_permitted_returns_false_when_no_whitelist_exists()
S
71 1 6
test_are_keys_installed()
S
65 1 9
test_get_redirect_url_whitelist_with_alternate_line_endings()
S
65 1 9
test_get_alternate_design_complete_redirect_url()
S
67 1 8
test_enable_alternate_design_complete_redirect()
S
67 1 8
test_get_form_integration_config()
S
66 1 9
test_get_enable_flash()
S
67 1 8
test_get_redirect_url_whitelist()
S
65 1 9