Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.89ms] Passed 4 tests
This is a short check of server-side resources used by Astounding Spam Prevention
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 39.21 ▲2.40 |
Dashboard /wp-admin | 3.49 ▲0.19 | 48.48 ▲4.28 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 45.41 ▼6.51 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 80.20 ▼13.34 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 36.70 ▲1.89 |
Astounding Spam Prevention /wp-admin/options-general.php?page=astound_control | 3.48 | 32.10 |
Server storage [IO: ▲0.74MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
astound_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Astounding Spam Prevention
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.44 ▼0.09 | 1.77 ▲0.22 | 43.54 ▼1.11 |
Dashboard /wp-admin | 2,206 ▲29 | 5.64 ▲0.01 | 85.98 ▲2.04 | 41.40 ▼0.23 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 1.99 ▼0.03 | 33.34 ▼3.95 | 34.47 ▲1.57 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.41 ▲0.33 | 616.26 ▼88.38 | 54.94 ▼2.59 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.20 ▼0.09 | 93.46 ▼12.67 | 40.23 ▼7.21 |
Astounding Spam Prevention /wp-admin/options-general.php?page=astound_control | 1,787 | 2.00 | 22.41 | 45.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=astound_control
- > Notice in wp-content/plugins/astounding-spam-prevention/includes/astound-admin-options.php+785
Undefined variable: hip
- > GET request to /wp-admin/options-general.php?page=astound_control
- > Notice in wp-content/plugins/astounding-spam-prevention/includes/astound-admin-options.php+787
Undefined variable: email
- > GET request to /wp-admin/options-general.php?page=astound_control
- > Notice in wp-content/plugins/astounding-spam-prevention/includes/astound-admin-options.php+790
Undefined variable: author
- > GET request to /wp-admin/options-general.php?page=astound_control
- > Notice in wp-content/plugins/astounding-spam-prevention/includes/astound-admin-options.php+793
Undefined variable: subject
- > GET request to /wp-admin/options-general.php?page=astound_control
- > Notice in wp-content/plugins/astounding-spam-prevention/includes/astound-admin-options.php+796
Undefined variable: comment
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'astound_module' not found in wp-content/plugins/astounding-spam-prevention/modules/astound_chkwlist.php:2
- > PHP Fatal error
Uncaught Error: Class 'astound_module' not found in wp-content/plugins/astounding-spam-prevention/modules/astound_chktor.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: There are too many tags (22 tag instead of maximum 10)
astounding-spam-prevention/astound-spam-prevention.php 92% from 13 tests
The main file in "Astounding Spam Prevention" v. 1.19 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("astounding-spam-prevention.php" instead of "astound-spam-prevention.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin25,986 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 215 | 4,863 | 25,587 |
JavaScript | 1 | 19 | 6 | 317 |
CSS | 1 | 11 | 6 | 82 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 8.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 57 | |
▷ Named functions | 57 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin