WordPress Popular Posts 6.2.0

Does WordPress Popular Posts work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 148.95 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/wordpress-popular-posts/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=wordpress-popular-posts%2Fwordpress-popular-posts.php&plugin_status=all&paged=1&s&_wpnonce=9294a2e14d
Aspect after-activation
HTTP status 200
Load time 0.303 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

Settings → WordPress Popular Posts

Page screenshot: Settings → WordPress Popular Posts
URL /wp-admin/options-general.php?page=wordpress-popular-posts
Aspect menu-item
HTTP status 200
Load time 0.491 s
Memory usage 3.41 MiB
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.206 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.381 s
Memory usage 3.24 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 1.413 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.278 s0.252 s-0.026 s3.07 MiB3.24 MiB+ 171.13 KiB
/wp-admin/edit.php0.179 s0.193 s+0.014 s3.1 MiB3.26 MiB+ 166.74 KiB
/wp-admin/post-new.php0.754 s0.689 s-0.065 s5.02 MiB5.1 MiB+ 80.93 KiB
/wp-admin/upload.php0.538 s0.445 s-0.093 s3.02 MiB3.16 MiB+ 150.03 KiB
/wp-admin/options-writing.php0.182 s0.163 s-0.019 s3.01 MiB3.15 MiB+ 136.05 KiB
/wp-admin/media-new.php0.268 s0.209 s-0.059 s2.99 MiB3.15 MiB+ 162.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.202 s+0.016 s3.01 MiB3.17 MiB+ 166.66 KiB
/wp-admin/post-new.php?post_type=page0.590 s0.690 s+0.100 s5.01 MiB5.09 MiB+ 75.57 KiB
/wp-admin/options-discussion.php0.205 s0.236 s+0.031 s3 MiB3.15 MiB+ 149.79 KiB
/wp-admin/edit-comments.php0.212 s0.229 s+0.017 s3.03 MiB3.17 MiB+ 149.27 KiB
/0.299 s0.255 s-0.044 s2.97 MiB3.19 MiB+ 230.06 KiB
Average 0.336 s0.324 s-0.012 s3.38 MiB3.53 MiB+ 148.95 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP62.2%5,7772,33741
JavaScript18.3%1,697469
CSS14.1%1,3095514
JSON5.3%490010
SVG0.2%1501
Total 9,288 2,438 75

PHP Code Analysis | More results »

Lines of code 5,060
Total complexity 1,148
Median class complexity 12.0
Median method complexity 3.0
Most complex class WordPressPopularPosts\Admin\Admin
Most complex function WordPressPopularPosts\Query::build_query()
Classes 27
Methods 180
Functions 4

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 3

Options wp_options 3

Sidebar Widgets 1

ID Name
wppWordPress Popular Posts

Meta Boxes

{
    "dashboard": {
        "wpp_trending_dashboard_widget": {
            "title": "Trending now",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[24-Jul-2023 17:56:18 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[24-Jul-2023 17:56:20 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[24-Jul-2023 17:56:27 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[24-Jul-2023 17:56:28 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
See also: All tests for this plugin, How to Hide WordPress Popular Posts Admin Menus and Widgets