Nelio_AB_Testing_Alternative_Preview S

Total Complexity 43
Dependencies 0
Dependents 1
Total lines 302
Lines of code 203
Logical lines of code 106
Comment lines 75
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
run_preview_hook_if_preview_mode_is_active()
S
52 7 24
fix_links_in_preview()
S
54 6 20
maybe_add_preview_class()
S
56 4 18
is_preview_mode_valid()
S
57 4 15
maybe_add_preview_script()
S
53 3 24
enable_preview_browsing()
S
54 1 30
instance()
S
72 2 6
should_split_testing_be_disabled()
S
72 2 6
should_simulate_anonymous_visitor()
S
72 2 6
maybe_add_overlay()
S
72 2 6
get_experiment_id()
S
71 2 6
get_alternative_id()
S
71 2 6
get_timestamp()
S
71 2 6
get_nonce()
S
71 2 6
disable_preview_browsing()
S
72 1 15
init()
S
64 1 9