SpamifyGuard 1.0

Does Spamify Guard work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 5.08 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.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/spamify-guard/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=spamify-guard%2Fspamify-guard.php&plugin_status=all&paged=1&s&_wpnonce=2d0ed4ff08
Aspect after-activation
HTTP status 200
Load time 0.401 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Settings → Spamify Guard

Page screenshot: Settings → Spamify Guard
URL /wp-admin/options-general.php?page=spamifyguard-key-config
Aspect menu-item
HTTP status 200
Load time 0.136 s
Memory usage 3.35 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 500
Load time 0.077 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.319 s0.293 s-0.026 s3.38 MiB3.39 MiB+ 12.05 KiB
/wp-admin/edit.php0.193 s0.200 s+0.007 s3.41 MiB3.42 MiB+ 12.41 KiB
/wp-admin/post-new.php0.798 s0.552 s-0.246 s5.46 MiB5.47 MiB+ 17.04 KiB
/wp-admin/upload.php0.542 s0.489 s-0.053 s3.32 MiB3.32 MiB- 4.99 KiB
/wp-admin/options-writing.php0.210 s0.254 s+0.044 s3.32 MiB3.3 MiB- 12.41 KiB
/wp-admin/media-new.php0.299 s0.247 s-0.052 s3.29 MiB3.3 MiB+ 7.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.186 s-0.015 s3.31 MiB3.33 MiB+ 12.37 KiB
/wp-admin/post-new.php?post_type=page0.580 s0.545 s-0.035 s5.45 MiB5.47 MiB+ 16.63 KiB
/wp-admin/options-discussion.php0.232 s0.230 s-0.002 s3.3 MiB3.3 MiB- 4.5 KiB
/wp-admin/edit-comments.php0.265 s0.348 s+0.083 s3.34 MiB3.33 MiB- 5 KiB
Average 0.364 s0.334 s-0.030 s3.76 MiB3.76 MiB+ 5.08 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
CSS
Language % Lines of code Comment lines Files
PHP85.2%241296
CSS14.8%4201
Total 283 29 7

PHP Code Analysis | More results »

Lines of code 185
Total complexity 60
Median class complexity 30.0
Median method complexity 2.0
Most complex class SpamifyGuard_Admin
Most complex function SpamifyGuard_Admin::enter_api_key()
Classes 2
Methods 25
Functions 0

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.

Options wp_options 1

PHP Error Log 34 lines

[17-Feb-2024 01:53:04 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /wp-content/plugins/spamify-guard/class.spamifyguard.php:93
Stack trace:
#0 /wp-content/plugins/spamify-guard/class.spamifyguard.php(57): SpamifyGuard::http_post()
#1 /wp-includes/class-wp-hook.php(324): SpamifyGuard::validate()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/general-template.php(3052): do_action()
#5 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#6 /wp-includes/template.php(790): require_once('...')
#7 /wp-includes/template.php(725): load_template()
#8 /wp-includes/general-template.php(48): locate_template()
#9 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#10 /wp-includes/template-loader.php(106): include('...')
#11 /wp-blog-header.php(19): require_once('...')
#12 /index.php(17): require('...')
#13 {main}
  thrown in /wp-content/plugins/spamify-guard/class.spamifyguard.php on line 93
[17-Feb-2024 01:53:12 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /wp-content/plugins/spamify-guard/class.spamifyguard.php:93
Stack trace:
#0 /wp-content/plugins/spamify-guard/class.spamifyguard.php(57): SpamifyGuard::http_post()
#1 /wp-includes/class-wp-hook.php(324): SpamifyGuard::validate()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/general-template.php(3052): do_action()
#5 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#6 /wp-includes/template.php(790): require_once('...')
#7 /wp-includes/template.php(725): load_template()
#8 /wp-includes/general-template.php(48): locate_template()
#9 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#10 /wp-includes/template-loader.php(106): include('...')
#11 /wp-blog-header.php(19): require_once('...')
#12 /index.php(17): require('...')
#13 {main}
  thrown in /wp-content/plugins/spamify-guard/class.spamifyguard.php on line 93
See also: All tests for this plugin