Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.51MB] [CPU: ▼4.34ms] Passed 4 tests
Server-side resources used by Autocomplete Address and Location Picker for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 24.81 ▼15.94 |
Dashboard /wp-admin | 3.92 ▲0.62 | 54.66 ▲1.21 |
Posts /wp-admin/edit.php | 3.97 ▲0.62 | 54.42 ▲6.11 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.57 | 91.49 ▼8.75 |
Media Library /wp-admin/upload.php | 3.68 ▲0.46 | 45.64 ▲7.97 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.05 | 41.19 |
Server storage [IO: ▲3.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 201 new files
Database: no new tables, 13 new options
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
can_compress_scripts |
aafw_activation_date |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
aafw_map_zoom |
widget_recent-comments |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Autocomplete Address and Location Picker for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,488 ▼273 | 14.36 ▲0.17 | 0.46 ▼1.26 | 6.60 ▼38.20 |
Dashboard /wp-admin | 2,229 ▲55 | 5.55 ▲0.00 | 83.80 ▼15.52 | 44.66 ▲0.22 |
Posts /wp-admin/edit.php | 2,138 ▲35 | 2.04 ▲0.10 | 38.99 ▲1.41 | 36.31 ▲0.20 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.23 ▼0.43 | 636.98 ▼57.50 | 74.80 ▲16.86 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.22 ▲0.00 | 100.46 ▼15.02 | 48.09 ▼0.83 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,086 | 1.72 | 25.74 | 27.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/autocomplete-address-and-location-picker-for-woocommerce/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 12 options
- fs_debug_mode
- aafw_center_map_longitude
- aafw_center_map_latitude
- fs_active_plugins
- can_compress_scripts
- aafw_map_zoom
- db_upgraded
- fs_accounts
- widget_theysaidso_widget
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/autocomplete-address-and-location-picker-for-woocommerce/admin/partials/aafw-admin-display.php
- > /wp-content/plugins/autocomplete-address-and-location-picker-for-woocommerce/public/partials/aafw-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5 in autocomplete-address-and-location-picker-for-woocommerce/assets to your readme.txt
autocomplete-address-and-location-picker-for-woocommerce/autocomplete-address-and-location-picker-for-woocommerce.php 92% from 13 tests
"Autocomplete Address and Location Picker for WooCommerce" version 1.1.7'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: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin34,672 lines of code in 152 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,092 | 17,877 | 33,804 |
JavaScript | 6 | 175 | 98 | 719 |
CSS | 16 | 24 | 16 | 149 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 82.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 1,305 | |
▷ Static methods | 199 | 15.25% |
▷ Public methods | 911 | 69.81% |
▷ Protected methods | 17 | 1.30% |
▷ Private methods | 377 | 28.89% |
Functions | 106 | |
▷ Named functions | 106 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 149 | |
▷ Global constants | 102 | 68.46% |
▷ Class constants | 47 | 31.54% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
admin/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |