NewStatPress 1.4.2

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

Summary

Errors
5PHP warnings
8PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 56.51 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 20,000+
WordPress.org page https://wordpress.org/plugins/newstatpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 18

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=newstatpress%2Fnewstatpress.php&plugin_status=all&paged=1&s&_wpnonce=993f3bf0dc
Aspect after-activation
HTTP status 200
Load time 0.480 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

NewStatPress

Page screenshot: NewStatPress
URL /wp-admin/admin.php?page=nsp-main
Aspect menu-item
HTTP status 200
Load time 0.327 s
Memory usage 4.2 MiB
JS errors None
Resource errors None

NewStatPress → Details

Page screenshot: NewStatPress → Details
URL /wp-admin/admin.php?page=nsp-details
Aspect menu-item
HTTP status 200
Load time 0.205 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

NewStatPress → Visits

Page screenshot: NewStatPress → Visits
URL /wp-admin/admin.php?page=nsp-visits
Aspect menu-item
HTTP status 200
Load time 0.185 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

NewStatPress → Visits → Visitors

Page screenshot: NewStatPress → Visits → Visitors
URL /wp-admin/admin.php?page=nsp-visits&tab=visitors
Aspect menu-item-tab
HTTP status 200
Load time 0.170 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

NewStatPress → Visits → Spy Bot

Page screenshot: NewStatPress → Visits → Spy Bot
URL /wp-admin/admin.php?page=nsp-visits&tab=spybot
Aspect menu-item-tab
HTTP status 200
Load time 0.170 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

NewStatPress → Search

Page screenshot: NewStatPress → Search
URL /wp-admin/admin.php?page=nsp-search
Aspect menu-item
HTTP status 200
Load time 0.228 s
Memory usage 4 MiB
JS errors None
Resource errors None

NewStatPress → Tools

Page screenshot: NewStatPress → Tools
URL /wp-admin/admin.php?page=nsp-tools
Aspect menu-item
HTTP status 200
Load time 0.197 s
Memory usage 4.2 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Update

Page screenshot: NewStatPress → Tools → Update
URL /wp-admin/admin.php?page=nsp-tools&tab=update
Aspect menu-item-tab
HTTP status 200
Load time 0.162 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Export

Page screenshot: NewStatPress → Tools → Export
URL /wp-admin/admin.php?page=nsp-tools&tab=export
Aspect menu-item-tab
HTTP status 200
Load time 0.193 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Optimize

Page screenshot: NewStatPress → Tools → Optimize
URL /wp-admin/admin.php?page=nsp-tools&tab=optimize
Aspect menu-item-tab
HTTP status 200
Load time 0.165 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Repair

Page screenshot: NewStatPress → Tools → Repair
URL /wp-admin/admin.php?page=nsp-tools&tab=repair
Aspect menu-item-tab
HTTP status 200
Load time 0.161 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Remove

Page screenshot: NewStatPress → Tools → Remove
URL /wp-admin/admin.php?page=nsp-tools&tab=remove
Aspect menu-item-tab
HTTP status 200
Load time 0.175 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Informations

Page screenshot: NewStatPress → Tools → Informations
URL /wp-admin/admin.php?page=nsp-tools&tab=info
Aspect menu-item-tab
HTTP status 200
Load time 0.181 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

NewStatPress → Options

Page screenshot: NewStatPress → Options
URL /wp-admin/admin.php?page=nsp-options
Aspect menu-item
HTTP status 200
Load time 0.248 s
Memory usage 4.29 MiB
JS errors None
Resource errors None

NewStatPress → Credits

Page screenshot: NewStatPress → Credits
URL /wp-admin/admin.php?page=nsp-credits
Aspect menu-item
HTTP status 200
Load time 0.212 s
Memory usage 3.7 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.231 s
Memory usage 3.58 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.642 s
Memory usage 5.57 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.404 s0.423 s+0.019 s3.72 MiB3.77 MiB+ 54.82 KiB
/wp-admin/edit.php0.192 s0.350 s+0.158 s3.75 MiB3.8 MiB+ 53.48 KiB
/wp-admin/post-new.php0.771 s0.957 s+0.186 s5.53 MiB5.59 MiB+ 56.63 KiB
/wp-admin/upload.php0.415 s0.425 s+0.010 s3.68 MiB3.73 MiB+ 53.01 KiB
/wp-admin/options-writing.php0.283 s0.180 s-0.103 s3.61 MiB3.71 MiB+ 100.13 KiB
/wp-admin/media-new.php0.298 s0.217 s-0.081 s3.66 MiB3.71 MiB+ 57.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.203 s+0.009 s3.68 MiB3.74 MiB+ 54.4 KiB
/wp-admin/post-new.php?post_type=page0.737 s0.658 s-0.079 s5.53 MiB5.58 MiB+ 48.22 KiB
/wp-admin/options-discussion.php0.320 s0.375 s+0.055 s3.59 MiB3.65 MiB+ 56.3 KiB
/wp-admin/edit-comments.php0.226 s0.232 s+0.006 s3.69 MiB3.74 MiB+ 52.92 KiB
/0.307 s0.216 s-0.091 s3.55 MiB3.58 MiB+ 34.48 KiB
Average 0.377 s0.385 s+0.008 s4 MiB4.05 MiB+ 56.51 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.

SQL
PO File
Language % Lines of code Comment lines Files
SQL71.2%64,07201
PO File17.6%15,8359,50321
PHP8.0%7,1851,26817
JavaScript1.5%1,31625915
CSS0.9%790982
Markdown0.4%36801
JSON0.3%29804
HTML0.1%7402
Total 89,938 11,128 63

PHP Code Analysis | More results »

Lines of code 7,250
Total complexity 970
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function nsp_database_search()
Classes 0
Methods 0
Functions 134

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 1

Options wp_options 2

User Metadata wp_usermeta 2

Sidebar Widgets 2

ID Name
newstatpressNewStatPress Stats
newstatpresstoppostsNewStatPress TopPosts

PHP Error Log 13 lines

[31-May-2022 21:15:12 UTC] PHP Warning:  Illegal string offset 'news' in /wp-content/plugins/newstatpress/newstatpress.php on line 268
[31-May-2022 21:15:12 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /wp-content/plugins/newstatpress/newstatpress.php on line 268
[31-May-2022 21:15:14 UTC] PHP Warning:  Division by zero in /wp-content/plugins/newstatpress/includes/nsp-visits.php on line 379
[31-May-2022 21:15:15 UTC] PHP Warning:  Division by zero in /wp-content/plugins/newstatpress/includes/nsp-visits.php on line 151
[31-May-2022 21:15:15 UTC] PHP Warning:  filemtime(): stat failed for /wp-content/plugins/newstatpress/includes//newstatpress/includes/includes/ip2nation.sql in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 156
[31-May-2022 21:15:15 UTC] PHP Notice:  Undefined variable: class_install in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 204
[31-May-2022 21:15:16 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 341
[31-May-2022 21:15:16 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 357
[31-May-2022 21:15:16 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 363
[31-May-2022 21:15:16 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 382
[31-May-2022 21:15:16 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 388
[31-May-2022 21:15:16 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 394
[31-May-2022 21:15:16 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp-tools.php on line 400
See also: All tests for this plugin