Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.54ms] Passed 4 tests
An overview of server-side resources used by HumanCaptcha by Outerbridge
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.83 ▼9.43 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.95 ▼1.67 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.96 ▼6.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.67 ▼8.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.69 ▲4.89 |
HumanCaptcha /wp-admin/options-general.php?page=obr-hlc | 3.26 | 36.66 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_obr_humancaptcha_qanda |
wp_obr_humancaptcha_admin |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
obr_humancaptcha_version |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for HumanCaptcha by Outerbridge
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.53 ▼0.70 | 1.94 ▲0.00 | 43.98 ▲2.62 |
Dashboard /wp-admin | 2,207 ▲22 | 5.76 ▼0.06 | 105.29 ▲5.47 | 41.31 ▼4.58 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.00 | 36.16 ▼5.00 | 35.51 ▼3.92 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 22.97 ▼0.50 | 666.59 ▲33.49 | 61.73 ▲9.09 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.17 ▼0.05 | 95.92 ▼14.78 | 44.00 ▼0.88 |
HumanCaptcha /wp-admin/options-general.php?page=obr-hlc | 1,352 | 2.03 | 24.87 | 29.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_obr_humancaptcha_admin
- wp_obr_humancaptcha_qanda
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- obr_humancaptcha_version
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/humancaptcha/outerbridge-humancaptcha.php on line 50
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/humancaptcha/outerbridge-humancaptcha-admin.php:48
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/humancaptcha/outerbridge-humancaptcha.php on line 48
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/humancaptcha/outerbridge-humancaptcha.php:58
- > PHP Notice
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
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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (screenshot-1.png shows how the question slots seamlessly into the comments section of the WordPress site.), #2 (screenshot-2.png shows the administration section of the Outerbridge HumanCaptcha plugin.)
humancaptcha/outerbridge-humancaptcha.php 92% from 13 tests
The main PHP file in "HumanCaptcha by Outerbridge" ver. 4.1.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("humancaptcha.php" instead of "outerbridge-humancaptcha.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin754 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 45 | 56 | 483 |
PO File | 3 | 104 | 102 | 271 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
2 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 134.87KB | 49.05KB | ▼ 63.63% |
screenshot-1.png | 32.31KB | 14.41KB | ▼ 55.41% |