Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.52ms] 75% from 4 tests
This is a short check of server-side resources used by No-Bot Registration
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,648.31ms on /wp-admin/tools.php?page=ajdg-nobot-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 41.33 ▲3.44 |
Dashboard /wp-admin | 3.41 ▲0.07 | 46.19 ▼12.22 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.26 ▼1.31 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 78.70 ▼15.98 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.09 ▲7.69 |
No-Bot Registration /wp-admin/tools.php?page=ajdg-nobot-settings | 4.55 | 1,648.31 |
Server storage [IO: ▲0.08MB] [DB: ▲0.10MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 12 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
ajdg_nobot_security_message |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
ajdg_nobot_questions |
ajdg_nobot_hide_review |
theysaidso_admin_options |
ajdg_nobot_blacklist_message |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for No-Bot Registration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲128 | 13.78 ▼0.87 | 8.32 ▲6.69 | 43.22 ▲3.83 |
Dashboard /wp-admin | 2,204 ▲23 | 5.62 ▼0.11 | 97.98 ▼1.11 | 43.55 ▼1.32 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.04 ▲0.08 | 34.94 ▼2.61 | 33.35 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.09 ▲0.40 | 644.99 ▼12.25 | 66.16 ▲14.27 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.11 ▼0.10 | 114.44 ▲13.82 | 49.27 ▲5.53 |
No-Bot Registration /wp-admin/tools.php?page=ajdg-nobot-settings | 1,220 | 2.03 | 22.65 | 66.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
no-bot-registration/no-bot-registration.php 92% from 13 tests
"No-Bot Registration" version 1.9.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin481 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 112 | 132 | 436 |
CSS | 1 | 7 | 4 | 45 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-close.png | 0.44KB | 0.49KB | 0.00% |