JoomSport Predictions 2.1.5

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

Summary

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

Memory usage: 203.86 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.1
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=71fa309ad7
Aspect after-activation
HTTP status 200
Load time 0.680 s
Memory usage 3.66 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.314 s
Memory usage 3.67 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.292 s
Memory usage 3.67 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.189 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.187 s
Memory usage 3.49 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.037 s
Memory usage 5.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.404 s+0.072 s3.47 MiB3.66 MiB+ 194.49 KiB
/wp-admin/edit.php0.203 s0.317 s+0.114 s3.54 MiB3.69 MiB+ 154.98 KiB
/wp-admin/post-new.php0.806 s0.692 s-0.114 s5.76 MiB6.07 MiB+ 324.76 KiB
/wp-admin/upload.php0.643 s0.412 s-0.231 s3.49 MiB3.63 MiB+ 140.82 KiB
/wp-admin/options-writing.php0.225 s0.338 s+0.113 s3.41 MiB3.62 MiB+ 216.95 KiB
/wp-admin/media-new.php0.275 s0.312 s+0.037 s3.4 MiB3.62 MiB+ 230.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.307 s+0.099 s3.47 MiB3.64 MiB+ 172.84 KiB
/wp-admin/post-new.php?post_type=page0.583 s0.614 s+0.031 s5.75 MiB6.06 MiB+ 324.77 KiB
/wp-admin/options-discussion.php0.212 s0.568 s+0.356 s3.41 MiB3.62 MiB+ 219.26 KiB
/wp-admin/edit-comments.php0.466 s0.326 s-0.140 s3.49 MiB3.66 MiB+ 174.95 KiB
/0.337 s0.195 s-0.142 s3.4 MiB3.49 MiB+ 88.28 KiB
Average 0.390 s0.408 s+0.018 s3.87 MiB4.07 MiB+ 203.86 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
PHP80.2%5,91349840
CSS10.7%79264
JavaScript8.3%613313
HTML0.6%4501
SVG0.1%1001
Total 7,373 535 49

PHP Code Analysis | More results »

Lines of code 5,266
Total complexity 1,061
Median class complexity 16.0
Median method complexity 2.0
Most complex class classJsportUserround
Most complex function ClassJsportPredictionKnockout::getViewResult()
Classes 33
Methods 212
Functions 15

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 9

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

[28-Jul-2024 22:30:10 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '> 'ScoreBonus'' at line 1 for query SELECT id FROM wp_jswprediction_types WHERE 'identif' => 'ScoreBonus' made by activate_plugin, do_action('activate_joomsport-prediction/joomsport-prediction.php'), WP_Hook->do_action, WP_Hook->apply_filters, JoomSportPredictionAdminInstall::_installdb
[28-Jul-2024 22:30:14 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
[28-Jul-2024 22:30:25 UTC] PHP Warning:  Undefined array key "post_type" in /wp-content/plugins/joomsport-prediction/includes/joomsport-prediction-functions.php on line 80
See also: All tests for this plugin