WordPress Popular Posts 6.1.4

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: 142.87 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=c9df5b2d3d
Aspect after-activation
HTTP status 200
Load time 0.315 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.547 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.292 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.267 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.638 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.457 s0.304 s-0.153 s3.07 MiB3.24 MiB+ 169.05 KiB
/wp-admin/edit.php0.201 s0.228 s+0.027 s3.1 MiB3.26 MiB+ 163.35 KiB
/wp-admin/post-new.php0.878 s1.427 s+0.549 s5.02 MiB5.1 MiB+ 81.24 KiB
/wp-admin/upload.php0.759 s0.445 s-0.314 s3.02 MiB3.16 MiB+ 150.02 KiB
/wp-admin/options-writing.php0.220 s0.327 s+0.107 s3.01 MiB3.15 MiB+ 136.05 KiB
/wp-admin/media-new.php0.280 s0.316 s+0.036 s2.99 MiB3.15 MiB+ 162.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.218 s+0.033 s3.01 MiB3.17 MiB+ 166.66 KiB
/wp-admin/post-new.php?post_type=page1.076 s1.008 s-0.068 s5.01 MiB5.09 MiB+ 75.58 KiB
/wp-admin/options-discussion.php0.334 s0.279 s-0.055 s3 MiB3.15 MiB+ 149.79 KiB
/wp-admin/edit-comments.php0.298 s0.260 s-0.038 s3.03 MiB3.17 MiB+ 149.27 KiB
/0.355 s0.302 s-0.053 s3.03 MiB3.19 MiB+ 168.38 KiB
Average 0.458 s0.465 s+0.006 s3.39 MiB3.53 MiB+ 142.87 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.1%5,7632,33741
JavaScript18.3%1,697469
CSS14.1%1,3095514
JSON5.3%490010
SVG0.2%1501
Total 9,274 2,438 75

PHP Code Analysis | More results »

Lines of code 5,046
Total complexity 1,143
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

[15-Jul-2023 01:11:58 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[15-Jul-2023 01:12:01 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[15-Jul-2023 01:12:10 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[15-Jul-2023 01:12:11 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