JoomSport Predictions 2.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: 138.05 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.113 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=7e34f5cd97
Aspect after-activation
HTTP status 200
Load time 0.825 s
Memory usage 3.19 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.313 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.272 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.241 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.211 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.172 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.294 s0.352 s+0.058 s3.08 MiB3.27 MiB+ 186.63 KiB
/wp-admin/edit.php0.180 s0.588 s+0.408 s3.11 MiB3.31 MiB+ 197.05 KiB
/wp-admin/post-new.php0.787 s0.992 s+0.205 s5.27 MiB5.38 MiB+ 111.37 KiB
/wp-admin/upload.php0.663 s0.353 s-0.310 s3.03 MiB3.14 MiB+ 115.27 KiB
/wp-admin/options-writing.php0.153 s0.436 s+0.283 s3.02 MiB3.15 MiB+ 128.42 KiB
/wp-admin/media-new.php0.248 s0.332 s+0.084 s3.01 MiB3.14 MiB+ 138.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.165 s0.283 s+0.118 s3.04 MiB3.18 MiB+ 148.85 KiB
/wp-admin/post-new.php?post_type=page0.769 s1.040 s+0.271 s5.26 MiB5.36 MiB+ 110.66 KiB
/wp-admin/options-discussion.php0.334 s0.369 s+0.035 s3 MiB3.15 MiB+ 144.91 KiB
/wp-admin/edit-comments.php0.231 s0.344 s+0.113 s3.04 MiB3.19 MiB+ 148.84 KiB
/0.277 s0.251 s-0.026 s2.91 MiB3 MiB+ 87.76 KiB
Average 0.373 s0.485 s+0.113 s3.43 MiB3.57 MiB+ 138.05 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

[25-Jul-2021 14:35:39 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