Total Complexity | 42 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 291 |
Lines of code | 195 |
Logical lines of code | 97 |
Comment lines | 81 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
run_preview_hook_if_preview_mode_is_active() | 50 | 8 | 26 | |
fix_links_in_preview() | 57 | 5 | 16 | |
is_preview_mode_valid() | 57 | 4 | 15 | |
maybe_add_preview_class() | 59 | 4 | 14 | |
maybe_add_preview_script() | 53 | 2 | 26 | |
enable_preview_browsing() | 50 | 1 | 38 | |
get_alternative_index() | 66 | 3 | 9 | |
instance() | 72 | 2 | 6 | |
should_split_testing_be_disabled() | 72 | 2 | 6 | |
should_simulate_anonymous_visitor() | 72 | 2 | 6 | |
maybe_add_overlay() | 72 | 2 | 6 | |
get_experiment_id() | 71 | 2 | 6 | |
get_timestamp() | 71 | 2 | 6 | |
get_nonce() | 71 | 2 | 6 | |
init() | 64 | 1 | 9 |