JoomSport Predictions 3.0.2

Does JoomSport Predictions work with WordPress 6.6.2 and PHP 8.1.12? 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: 146.12 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=68d9b66f5d
Aspect after-activation
HTTP status 200
Load time 0.813 s
Memory usage 3.6 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.329 s
Memory usage 3.62 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.280 s
Memory usage 3.62 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.208 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.217 s
Memory usage 3.48 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.090 s
Memory usage 5.84 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.362 s0.381 s+0.019 s3.47 MiB3.59 MiB+ 124.19 KiB
/wp-admin/edit.php0.212 s0.332 s+0.120 s3.54 MiB3.64 MiB+ 104.7 KiB
/wp-admin/post-new.php0.801 s0.624 s-0.177 s5.75 MiB6.01 MiB+ 258.82 KiB
/wp-admin/upload.php0.706 s0.469 s-0.237 s3.49 MiB3.58 MiB+ 91.23 KiB
/wp-admin/options-writing.php0.228 s0.366 s+0.138 s3.41 MiB3.57 MiB+ 167.35 KiB
/wp-admin/media-new.php0.295 s0.353 s+0.058 s3.4 MiB3.57 MiB+ 180.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.322 s+0.121 s3.47 MiB3.59 MiB+ 123.25 KiB
/wp-admin/post-new.php?post_type=page0.609 s0.618 s+0.009 s5.75 MiB6 MiB+ 254.41 KiB
/wp-admin/options-discussion.php0.330 s0.526 s+0.196 s3.41 MiB3.57 MiB+ 169.66 KiB
/wp-admin/edit-comments.php0.237 s0.304 s+0.067 s3.49 MiB3.59 MiB+ 105.35 KiB
/0.316 s0.207 s-0.109 s3.45 MiB3.48 MiB+ 27.66 KiB
Average 0.391 s0.409 s+0.019 s3.88 MiB4.02 MiB+ 146.12 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
Language % Lines of code Comment lines Files
PHP80.9%6,39746443
CSS10.5%83374
JavaScript7.9%624313
HTML0.6%4501
SVG0.1%1001
Total 7,909 502 52

PHP Code Analysis | More results »

Lines of code 5,384
Total complexity 1,169
Median class complexity 16.0
Median method complexity 2.0
Most complex class classJsportUserround
Most complex function ClassJsportPredictionKnockout::getViewResult()
Classes 33
Methods 225
Functions 9

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 4

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_league_outcome_points_form_meta_box": {
            "title": "Outcome League Points",
            "context": "jswprediction_tab_league1"
        }
    },
    "jswprediction_round": {
        "joomsport_player_personal_form_meta_box": {
            "title": "Matches",
            "context": "jswprediction_tab_round1"
        },
        "jswprediction_round_settings_form_meta_box": {
            "title": "Settings",
            "context": "jswprediction_tab_round1"
        }
    }
}

PHP Error Log 8 lines

[15-Sep-2024 18:54:05 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(324): JoomsportPredictionPageSettings::action()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): 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