JoomSport Predictions 2.0.2

Does JoomSport Predictions work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 124.46 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.083 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/joomsport-prediction/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=joomsport-prediction%2Fjoomsport-prediction.php&plugin_status=all&paged=1&s&_wpnonce=5011248d68
Aspect after-activation
HTTP status 200
Load time 0.969 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

JoomSport Predictions

Page screenshot: JoomSport Predictions
URL /wp-admin/edit.php?post_type=jswprediction_league
Aspect menu-item
HTTP status 200
Load time 0.341 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

JoomSport Predictions → Rounds

Page screenshot: JoomSport Predictions → Rounds
URL /wp-admin/edit.php?post_type=jswprediction_round
Aspect menu-item
HTTP status 200
Load time 0.303 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

JoomSport Predictions → Settings

Page screenshot: JoomSport Predictions → Settings
URL /wp-admin/admin.php?page=joomsport_prediction_settings
Aspect menu-item
HTTP status 200
Load time 0.214 s
Memory usage N/A
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.216 s
Memory usage 2.74 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.636 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.272 s0.840 s+0.568 s2.82 MiB2.95 MiB+ 136.91 KiB
/wp-admin/edit.php0.187 s0.381 s+0.194 s2.86 MiB2.99 MiB+ 126.46 KiB
/wp-admin/post-new.php0.921 s0.951 s+0.030 s5.02 MiB5.14 MiB+ 117.76 KiB
/wp-admin/upload.php0.506 s0.564 s+0.058 s2.7 MiB2.81 MiB+ 114.5 KiB
/wp-admin/options-writing.php0.218 s0.305 s+0.087 s2.71 MiB2.81 MiB+ 105.63 KiB
/wp-admin/media-new.php0.232 s0.337 s+0.105 s2.67 MiB2.81 MiB+ 137.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.327 s+0.132 s2.77 MiB2.91 MiB+ 144.1 KiB
/wp-admin/post-new.php?post_type=page1.129 s0.752 s-0.377 s5.01 MiB5.12 MiB+ 117.05 KiB
/wp-admin/options-discussion.php0.330 s0.358 s+0.028 s2.67 MiB2.81 MiB+ 138.59 KiB
/wp-admin/edit-comments.php0.233 s0.358 s+0.125 s2.78 MiB2.92 MiB+ 142.67 KiB
/0.274 s0.242 s-0.032 s2.65 MiB2.74 MiB+ 87.65 KiB
Average 0.409 s0.492 s+0.083 s3.15 MiB3.27 MiB+ 124.46 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP77.3%4,89737738
CSS12.4%78464
JavaScript9.5%603313
HTML0.7%4501
SVG0.2%1001
Total 6,339 414 47

PHP Code Analysis | More results »

Lines of code 4,257
Total complexity 779
Median class complexity 15.5
Median method complexity 2.0
Most complex class classJsportUserround
Most complex function classJsportUserround::loadObject()
Classes 30
Methods 194
Functions 11

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 5

Options wp_options 2

Custom Post Types 2

ID Name
jswprediction_leagueLeague
jswprediction_roundRound

Sidebar Widgets 1

ID Name
jswp_prediction_user_statMy prediction stats

Meta Boxes

{
    "jswprediction_league": {
        "jswprediction_league_seasons_form_meta_box": {
            "title": "Assign to season",
            "context": "jswprediction_tab_league1"
        },
        "jswprediction_league_points_form_meta_box": {
            "title": "League Points",
            "context": "jswprediction_tab_league1"
        }
    },
    "jswprediction_round": {
        "joomsport_player_personal_form_meta_box": {
            "title": "Matches",
            "context": "jswprediction_tab_round1"
        }
    }
}

PHP Error Log 18 lines

[17-May-2021 16:53:39 UTC] PHP Fatal error:  Uncaught Error: Class 'JoomSportHelperSelectBox' not found in /wp-content/plugins/joomsport-prediction/includes/pages/joomsport-prediction-page-settings.php:82
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): JoomsportPredictionPageSettings::action()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 {main}
  thrown in /wp-content/plugins/joomsport-prediction/includes/pages/joomsport-prediction-page-settings.php on line 82
[17-May-2021 16:53:49 UTC] PHP Notice:  Undefined index: league_id in /wp-content/plugins/joomsport-prediction/includes/joomsport-prediction-widgets.php on line 74
[17-May-2021 16:53:49 UTC] PHP Notice:  Undefined index: league_on_fly in /wp-content/plugins/joomsport-prediction/includes/joomsport-prediction-widgets.php on line 75
[17-May-2021 16:53:49 UTC] PHP Fatal error:  Uncaught Error: Class 'JoomSportHelperSelectBox' not found in /wp-content/plugins/joomsport-prediction/includes/joomsport-prediction-widgets.php:103
Stack trace:
#0 /wp-includes/class-wp-widget.php(519): jswp_prediction_user_stat->form()
#1 /wp-admin/includes/widgets.php(274): WP_Widget->form_callback()
#2 /wp-admin/includes/widgets.php(60): wp_widget_control()
#3 /wp-admin/widgets.php(452): wp_list_widgets()
#4 {main}
  thrown in /wp-content/plugins/joomsport-prediction/includes/joomsport-prediction-widgets.php on line 103
See also: All tests for this plugin