Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/geo-captcha-geo-blacklist/geo-captcha-blacklist-pages.php+7
Undefined index: action
Server metrics [RAM: ▼1.81MB] [CPU: ▼52.78ms] Passed 4 tests
Analyzing server-side resources used by Geo-Captcha & Geo-Blacklist
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 5.03 ▼36.90 |
Dashboard /wp-admin | 2.20 ▼1.11 | 7.04 ▼42.40 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 7.89 ▼41.86 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 6.68 ▼89.96 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 8.56 ▼23.98 |
Server storage [IO: ▲2.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_recent-comments |
geo_capblack_manuell_spam |
geo_capblack_comments |
db_upgraded |
geo_capblack_whitelisted_spam |
geo_capblack_log_ips |
can_compress_scripts |
widget_theysaidso_widget |
geo_capblack_legal |
geo_capblack_registered_comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Geo-Captcha & Geo-Blacklist
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 14.41 ▼0.02 | 1.65 ▼0.17 | 44.29 ▼3.85 |
Dashboard /wp-admin | 2,249 ▲58 | 4.94 ▲0.04 | 101.37 ▼1.90 | 66.44 ▲19.63 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.04 ▼0.01 | 38.69 ▼1.90 | 34.93 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,710 ▲177 | 24.46 ▲0.85 | 654.93 ▲66.35 | 58.10 ▲8.89 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.16 ▼0.05 | 100.50 ▲3.37 | 46.50 ▲5.00 |
Stats /wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-stats | 26 | 0.44 | 0.11 | 14.79 |
Log /wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-logs | 26 | 0.44 | 0.09 | 6.98 |
Settings /wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-settings | 26 | 0.44 | 0.12 | 6.83 |
Geo Captcha /wp-admin/geo-captcha-blacklist.php | 26 | 0.44 | 0.08 | 6.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/geo-captcha-geo-blacklist/geo-captcha-blacklist-pages.php+7
Undefined index: action
- Zombie WordPress options detected upon uninstall: 17 options
- widget_recent-posts
- geo_capblack_manuell_spam
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- geo_capblack_whitelisted_spam
- geo_capblack_registered_comments
- widget_recent-comments
- geo_capblack_black
- geo_capblack_comments
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage_show.php
- > /wp-content/plugins/geo-captcha-geo-blacklist/securimage/example_form.php
- > /wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage_play.php
- > /wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage_example.php
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/geo-captcha-geo-blacklist/geo-captcha-blacklist-pages.php:4
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/geo-captcha-geo-blacklist/securimage/securimage.php on line 652
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-stats
- > Network (severe)
wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-stats - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-logs
- > Network (severe)
wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-logs - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-settings
- > Network (severe)
wp-admin/geo-captcha-blacklist.php?page=geo-captcha-blacklist-settings - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/geo-captcha-blacklist.php
- > Network (severe)
wp-admin/geo-captcha-blacklist.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (logo.jpg), #2 (screenshot-1.gif), #3 (screenshot-2.gif), #4 (screenshot-3.gif)
geo-captcha-geo-blacklist/geo-captcha-blacklist.php 92% from 13 tests
The main file in "Geo-Captcha & Geo-Blacklist" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("geo-captcha-geo-blacklist.php" instead of "geo-captcha-blacklist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,962 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 300 | 568 | 1,811 |
PO File | 1 | 69 | 111 | 137 |
CSS | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 47.50 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_white.png | 1.56KB | 1.00KB | ▼ 36.01% |
images/icon_bad.png | 0.54KB | 0.54KB | ▼ 0.54% |
images/icon_black.png | 1.55KB | 0.77KB | ▼ 50.57% |
images/geo-captcha-blacklist-icon.png | 4.62KB | 1.64KB | ▼ 64.46% |
images/geo-captcha-blacklist-icon16.png | 1.56KB | 0.75KB | ▼ 52.22% |