NewStatPress 1.3.3

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

Summary

Errors
2PHP warnings
36PHP notices
1PHP deprecation warnings
2Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 50.67 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 version5.6
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=0a714a8e6b
Aspect after-activation
HTTP status 200
Load time 0.808 s
Memory usage 2.74 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.275 s
Memory usage 3.13 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.185 s
Memory usage 2.78 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.211 s
Memory usage 3.07 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.219 s
Memory usage 2.7 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.164 s
Memory usage 2.69 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.184 s
Memory usage 2.86 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.213 s
Memory usage 3.18 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.178 s
Memory usage 2.7 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.167 s
Memory usage 2.7 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.177 s
Memory usage 2.7 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.163 s
Memory usage 2.7 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.203 s
Memory usage 2.7 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.240 s
Memory usage 2.7 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.250 s
Memory usage 3.27 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.188 s
Memory usage 2.77 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.279 s
Memory usage 2.64 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 0.979 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.264 s0.385 s+0.121 s2.79 MiB2.84 MiB+ 52.94 KiB
/wp-admin/edit.php0.369 s0.218 s-0.151 s2.84 MiB2.89 MiB+ 52.66 KiB
/wp-admin/post-new.php1.332 s1.194 s-0.138 s4.94 MiB5 MiB+ 67.52 KiB
/wp-admin/upload.php0.522 s0.432 s-0.090 s2.67 MiB2.72 MiB+ 52.16 KiB
/wp-admin/options-writing.php0.258 s0.195 s-0.063 s2.68 MiB2.7 MiB+ 21.9 KiB
/wp-admin/media-new.php0.215 s0.217 s+0.002 s2.64 MiB2.7 MiB+ 53.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.214 s+0.020 s2.68 MiB2.73 MiB+ 53.75 KiB
/wp-admin/post-new.php?post_type=page0.601 s0.925 s+0.324 s4.92 MiB4.99 MiB+ 67.52 KiB
/wp-admin/options-discussion.php0.225 s0.296 s+0.071 s2.65 MiB2.7 MiB+ 54.41 KiB
/wp-admin/edit-comments.php0.217 s0.232 s+0.015 s2.75 MiB2.8 MiB+ 51.13 KiB
/0.279 s0.248 s-0.031 s2.61 MiB2.64 MiB+ 30.28 KiB
Average 0.407 s0.414 s+0.007 s3.11 MiB3.16 MiB+ 50.67 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
SQL72.6%64,07201
PO File18.3%16,1519,33621
PHP5.9%5,20383317
JavaScript1.3%1,17517615
CSS0.9%783982
JSON0.5%44606
Markdown0.4%33201
HTML0.1%7402
Total 88,236 10,443 65

PHP Code Analysis | More results »

Lines of code 5,264
Total complexity 866
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function nsp_Options()
Classes 0
Methods 0
Functions 136

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 3

User Metadata wp_usermeta 2

Sidebar Widgets 2

ID Name
newstatpressNewStatPress Stats
newstatpress toppostsNewStatPress TopPosts

PHP Error Log 61 lines

[13-Jan-2021 19:44:19 UTC] PHP Warning:  Illegal string offset 'news' in /wp-content/plugins/newstatpress/newstatpress.php on line 131
[13-Jan-2021 19:44:19 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /wp-content/plugins/newstatpress/newstatpress.php on line 131
[13-Jan-2021 19:44:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5 for query 
    SELECT count(distinct spider)
    FROM wp_statpress
    WHERE
      spider<>'' AND
      id >
   made by do_action('newstatpress_page_nsp_visits'), WP_Hook->do_action, WP_Hook->apply_filters, nsp_DisplayVisitsPageC, nsp_DisplayVisitsPage, nsp_SpyBot
[13-Jan-2021 19:44:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY MaxId DESC, id DESC' at line 13 for query 
    SELECT *
    FROM wp_statpress as T1
    JOIN
    (SELECT spider,max(id) as MaxId
     FROM wp_statpress
     WHERE spider<>''
     GROUP BY spider
     ORDER BY MaxId
     DESC LIMIT 0, 10
    ) as T2
    ON T1.spider = T2.spider
    WHERE T1.id > 
    ORDER BY MaxId DESC, id DESC
   made by do_action('newstatpress_page_nsp_visits'), WP_Hook->do_action, WP_Hook->apply_filters, nsp_DisplayVisitsPageC, nsp_DisplayVisitsPage, nsp_SpyBot
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined index: limitquery in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 76
[13-Jan-2021 19:44:23 UTC] PHP Notice:  Undefined variable: class_install in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 179
[13-Jan-2021 19:44:24 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 371
[13-Jan-2021 19:44:24 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 385
[13-Jan-2021 19:44:24 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 387
[13-Jan-2021 19:44:24 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 402
[13-Jan-2021 19:44:24 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 404
[13-Jan-2021 19:44:24 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 405
[13-Jan-2021 19:44:24 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 406
[13-Jan-2021 19:44:26 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 84
See also: All tests for this plugin