Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼142.77ms] 75% from 4 tests
An overview of server-side resources used by No-Bot Registration
Please have a look at the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 2,204.23ms on /wp-admin/tools.php?page=ajdg-nobot-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.10 | 25.04 ▲0.88 |
Dashboard /wp-admin | 3.16 ▲0.10 | 32.30 ▼2.64 |
Posts /wp-admin/edit.php | 3.21 ▲0.09 | 31.42 ▼5.34 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.08 | 68.98 ▼563.98 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 24.14 ▲1.12 |
No-Bot Registration /wp-admin/tools.php?page=ajdg-nobot-settings | 3.63 | 2,204.23 |
Server storage [IO: ▲0.08MB] [DB: ▲0.05MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
ajdg_nobot_protect |
ajdg_nobot_blacklist_message |
ajdg_nobot_security_message |
ajdg_nobot_questions |
ajdg_nobot_answers |
ajdg_nobot_hide_review |
Browser metrics Passed 4 tests
An overview of browser requirements for No-Bot Registration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,828 ▲203 | 16.23 ▲0.29 | 8.59 ▲3.42 | 78.29 ▼22.57 |
Dashboard /wp-admin | 2,937 ▲41 | 6.12 ▼0.03 | 116.58 ▼19.93 | 169.83 ▼7.72 |
Posts /wp-admin/edit.php | 2,744 ▲4 | 3.22 ▼0.00 | 65.70 ▼0.71 | 142.38 ▼3.54 |
Add New Post /wp-admin/post-new.php | 3,812 ▼3 | 18.82 ▼0.58 | 407.05 ▼45.76 | 157.32 ▼19.70 |
Media Library /wp-admin/upload.php | 1,756 ▲4 | 5.50 ▼0.06 | 139.88 ▼3.80 | 185.37 ▼0.85 |
No-Bot Registration /wp-admin/tools.php?page=ajdg-nobot-settings | 1,652 | 2.38 | 60.40 | 169.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/no-bot-registration/no-bot-registration.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
no-bot-registration/no-bot-registration.php 92% from 13 tests
"No-Bot Registration" version 1.7.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin449 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 92 | 120 | 404 |
CSS | 1 | 7 | 4 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 17 | |
▷ Named functions | 17 | 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
PNG files should be compressed to save space and minimize bandwidth usage
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% |