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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼11.31ms] Passed 4 tests
An overview of server-side resources used by Spam Protection Without Captcha
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 39.69 ▼0.59 |
Dashboard /wp-admin | 3.47 ▲0.12 | 44.75 ▼41.91 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 45.80 ▼4.93 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 87.29 ▲3.37 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.06 ▲2.20 |
Spam Protection Without Captcha /wp-admin/options-general.php?page=spwc-admin-settings | 3.36 | 30.36 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
spwc_admin_options |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Spam Protection Without Captcha
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.67 ▼0.71 | 1.89 ▲0.20 | 42.67 ▼1.47 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲0.02 | 94.58 ▼31.67 | 38.69 ▼3.61 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▲0.01 | 39.26 ▲3.28 | 34.39 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.58 ▲0.53 | 581.86 ▼21.28 | 50.57 ▼2.63 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▼0.01 | 97.47 ▲2.60 | 42.49 ▼0.35 |
Spam Protection Without Captcha /wp-admin/options-general.php?page=spwc-admin-settings | 1,384 | 2.28 | 50.67 | 24.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- spwc_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: nocaptcha, spam, captcha, bot, comments
spam-protection-without-captcha/plugin.php 85% from 13 tests
The entry point to "Spam Protection Without Captcha" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("spam-protection-without-captcha.php" instead of "plugin.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
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
No dangerous file extensions were detected761 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 27 | 732 |
JavaScript | 2 | 2 | 0 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 37.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 3 | 6.98% |
▷ Public methods | 40 | 93.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.98% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG images were found in this plugin