WordPress Popular Posts 6.0.0

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 190.45 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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=7d3af32f99
Aspect after-activation
HTTP status 200
Load time 0.511 s
Memory usage 3.86 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.504 s
Memory usage 4.09 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.339 s
Memory usage 3.73 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.302 s
Memory usage 3.9 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.863 s
Memory usage 5.66 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.350 s0.305 s-0.045 s3.72 MiB3.9 MiB+ 187.34 KiB
/wp-admin/edit.php0.174 s0.189 s+0.015 s3.75 MiB3.99 MiB+ 239.68 KiB
/wp-admin/post-new.php0.907 s1.157 s+0.250 s5.53 MiB5.69 MiB+ 158.34 KiB
/wp-admin/upload.php0.402 s0.380 s-0.022 s3.68 MiB3.85 MiB+ 177.67 KiB
/wp-admin/options-writing.php0.138 s0.150 s+0.012 s3.61 MiB3.83 MiB+ 221.25 KiB
/wp-admin/media-new.php0.362 s0.295 s-0.067 s3.66 MiB3.83 MiB+ 177.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.235 s+0.014 s3.68 MiB3.86 MiB+ 178.02 KiB
/wp-admin/post-new.php?post_type=page0.838 s0.939 s+0.101 s5.53 MiB5.68 MiB+ 153.35 KiB
/wp-admin/options-discussion.php0.209 s0.199 s-0.010 s3.59 MiB3.83 MiB+ 241.42 KiB
/wp-admin/edit-comments.php0.211 s0.219 s+0.008 s3.69 MiB3.86 MiB+ 176.9 KiB
/0.255 s0.219 s-0.036 s3.55 MiB3.73 MiB+ 183.16 KiB
Average 0.370 s0.390 s+0.020 s4 MiB4.19 MiB+ 190.45 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
PHP61.7%5,5912,31341
JavaScript18.4%1,667469
CSS14.3%1,2925514
JSON5.4%491010
SVG0.2%1501
Total 9,056 2,414 75

PHP Code Analysis | More results »

Lines of code 4,881
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 181
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

The log file is empty.

See also: All tests for this plugin, How to Hide WordPress Popular Posts Admin Menus and Widgets