Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.74ms] Passed 4 tests
This is a short check of server-side resources used by Honeypot Anti-Spam
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.00 ▼0.07 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.54 ▼3.96 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.95 ▲3.00 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.39 ▼18.95 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.77 ▲0.01 |
Honeypot Antispam /wp-admin/options-general.php?page=honeypot-antispam | 3.25 | 31.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
antispam_settings |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Honeypot Anti-Spam
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.37 | 1.52 ▲0.01 | 41.42 ▲1.14 |
Dashboard /wp-admin | 2,199 ▲18 | 5.63 ▼0.02 | 79.28 ▼20.54 | 37.03 ▼7.11 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.05 | 35.78 ▼1.43 | 33.68 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.13 ▼0.00 | 691.63 ▲4.02 | 70.31 ▲17.88 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.06 | 92.36 ▼17.78 | 40.52 ▼7.49 |
Honeypot Antispam /wp-admin/options-general.php?page=honeypot-antispam | 812 | 1.99 | 23.11 | 26.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- antispam_settings
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (14 tag instead of maximum 10)
honeypot-antispam/honeypot-antispam.php Passed 13 tests
"Honeypot Anti-Spam" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
32 characters long description:
No spam in comments. No captcha.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected393 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 96 | 19 | 301 |
JavaScript | 1 | 11 | 9 | 52 |
PO File | 1 | 12 | 14 | 40 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin