Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.36MB] [CPU: ▲106.33ms] 75% from 4 tests
Server-side resources used by Geo Controller
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 1,406.67ms on /wp-admin/admin.php?page=cf-geoplugin-activate)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.75 ▲3.28 | 77.64 ▲35.80 |
Dashboard /wp-admin | 6.82 ▲3.51 | 619.61 ▲570.68 |
Posts /wp-admin/edit.php | 6.73 ▲3.37 | 91.19 ▲41.93 |
Add New Post /wp-admin/post-new.php | 9.34 ▲3.45 | 396.17 ▲307.17 |
Media Library /wp-admin/upload.php | 6.55 ▲3.32 | 77.17 ▲40.40 |
Site Protection /wp-admin/admin.php?page=cf-geoplugin-defender | 6.67 | 71.97 |
Settings /wp-admin/admin.php?page=cf-geoplugin-settings | 6.86 | 71.04 |
Activate Unlimited /wp-admin/admin.php?page=cf-geoplugin-activate | 6.69 | 1,406.67 |
Geo Controller /wp-admin/admin.php?page=cf-geoplugin | 6.67 | 65.08 |
Debug Mode /wp-admin/admin.php?page=cf-geoplugin-debug | 6.76 | 63.97 |
Server storage [IO: ▲10.65MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 467 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_cfgp_seo_redirection |
wp_cfgp_rest_access_token |
wp_cfgp_cache |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_cfgp_widget_currency_converter |
theysaidso_admin_options |
widget_theysaidso_widget |
cf-geoplugin-ID |
cf-geoplugin-activation |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Geo Controller
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,358 ▲572 | 14.37 ▲0.11 | 2.58 ▲0.53 | 33.48 ▼13.79 |
Dashboard /wp-admin | 2,688 ▲511 | 5.82 ▲0.31 | 88.07 ▼3.42 | 88.16 ▲49.64 |
Posts /wp-admin/edit.php | 2,284 ▲184 | 2.29 ▲0.27 | 42.86 ▲6.30 | 42.79 ▲7.98 |
Add New Post /wp-admin/post-new.php | 3,249 ▲1,714 | 18.80 ▲0.61 | 673.30 ▲57.54 | 85.38 ▲17.08 |
Media Library /wp-admin/upload.php | 1,571 ▲174 | 4.30 ▲0.15 | 105.43 ▲1.15 | 46.87 ▲2.93 |
Site Protection /wp-admin/admin.php?page=cf-geoplugin-defender | 3,431 | 7.67 | 178.61 | 93.25 |
Settings /wp-admin/admin.php?page=cf-geoplugin-settings | 3,937 | 2.43 | 41.84 | 75.14 |
Activate Unlimited /wp-admin/admin.php?page=cf-geoplugin-activate | 1,252 | 1.94 | 32.74 | 49.66 |
Geo Controller /wp-admin/admin.php?page=cf-geoplugin | 3,801 | 1.91 | 34.00 | 46.82 |
Debug Mode /wp-admin/admin.php?page=cf-geoplugin-debug | 2,333 | 1.92 | 35.10 | 45.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_cfgp_widget_currency_converter
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 72× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/cf-geoplugin/inc/classes/SEO_Redirection.php
- > /wp-content/plugins/cf-geoplugin/inc/filters/seo_redirection_import.php
- > /wp-content/plugins/cf-geoplugin/inc/classes/SEO.php
- > /wp-content/plugins/cf-geoplugin/inc/classes/Debug.php
- > /wp-content/plugins/cf-geoplugin/inc/filters/seo_redirection_table.php
- > /wp-content/plugins/cf-geoplugin/inc/classes/CF_Geoplugin.php
- > /wp-content/plugins/cf-geoplugin/inc/classes/Utilities.php
- > /wp-content/plugins/cf-geoplugin/inc/settings/license.php
- > /wp-content/plugins/cf-geoplugin/inc/classes/Taxonomy.php
- > /wp-content/plugins/cf-geoplugin/inc/filters/main_page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: tor, tor detection, user location detection, seo optimization, spam protection...
cf-geoplugin/cf-geoplugin.php Passed 13 tests
"Geo Controller" version 8.6.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
123 characters long description:
Unlock the power of location-based functionality of WordPress – The ultimate all-in-one geolocation plugin for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin74,809 lines of code in 422 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 321 | 157,206 | 52 | 48,312 |
PHP | 75 | 2,943 | 3,997 | 21,704 |
PO File | 1 | 944 | 1,145 | 2,354 |
JavaScript | 11 | 190 | 125 | 1,427 |
CSS | 13 | 168 | 15 | 1,011 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 51.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 365.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 55 | 100.00% |
▷ Final classes | 1 | 1.82% |
Methods | 627 | |
▷ Static methods | 233 | 37.16% |
▷ Public methods | 526 | 83.89% |
▷ Protected methods | 53 | 8.45% |
▷ Private methods | 48 | 7.66% |
Functions | 67 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 67 | 100.00% |
Constants | 129 | |
▷ Global constants | 46 | 35.66% |
▷ Class constants | 83 | 64.34% |
▷ Public constants | 83 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/developed-by.png | 14.55KB | 5.35KB | ▼ 63.21% |