JoomSport Predictions 2.1.1

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

Summary

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

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

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

Environment
WordPress version5.8
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=6da9c803a7
Aspect after-activation
HTTP status 200
Load time 1.639 s
Memory usage 3.18 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.325 s
Memory usage 3.2 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.301 s
Memory usage 3.2 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.216 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.238 s
Memory usage 3 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 2.280 s
Memory usage 4.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.352 s0.453 s+0.101 s3.08 MiB3.26 MiB+ 186.63 KiB
/wp-admin/edit.php0.177 s0.320 s+0.143 s3.11 MiB3.31 MiB+ 197.05 KiB
/wp-admin/post-new.php1.461 s1.140 s-0.321 s5.27 MiB5.37 MiB+ 111.37 KiB
/wp-admin/upload.php0.392 s0.516 s+0.124 s3.03 MiB3.14 MiB+ 115.27 KiB
/wp-admin/options-writing.php0.143 s0.285 s+0.142 s3.02 MiB3.13 MiB+ 112.37 KiB
/wp-admin/media-new.php0.237 s0.363 s+0.126 s3.01 MiB3.14 MiB+ 138.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.155 s0.369 s+0.214 s3.04 MiB3.18 MiB+ 148.85 KiB
/wp-admin/post-new.php?post_type=page1.113 s1.193 s+0.080 s5.26 MiB5.36 MiB+ 110.66 KiB
/wp-admin/options-discussion.php0.293 s0.462 s+0.169 s3 MiB3.14 MiB+ 144.91 KiB
/wp-admin/edit-comments.php0.229 s0.386 s+0.157 s3.04 MiB3.19 MiB+ 148.84 KiB
/0.306 s0.355 s+0.049 s2.91 MiB3 MiB+ 87.76 KiB
Average 0.442 s0.531 s+0.089 s3.43 MiB3.57 MiB+ 136.59 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.6%5,05638939
CSS12.2%79264
JavaScript9.4%613313
HTML0.7%4501
SVG0.2%1001
Total 6,516 426 48

PHP Code Analysis | More results »

Lines of code 4,398
Total complexity 817
Median class complexity 15.0
Median method complexity 2.0
Most complex class classJsportUserround
Most complex function classJsportUserround::loadObject()
Classes 31
Methods 199
Functions 12

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 8 lines

[28-Jul-2021 11:36:58 UTC] PHP Fatal error:  Uncaught Error: Class 'JoomSportHelperSelectBox' not found in /wp-content/plugins/joomsport-prediction/includes/pages/joomsport-prediction-page-settings.php:85
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): JoomsportPredictionPageSettings::action()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(470): 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 85
See also: All tests for this plugin