Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲2.21MB] [CPU: ▲130.80ms] 75% from 4 tests
This is a short check of server-side resources used by Store Locator Plus® for WordPress
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,467.04ms on /wp-admin/admin.php?page=slp_experience)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.09 ▲1.62 | 182.98 ▲141.78 |
Dashboard /wp-admin | 5.76 ▲2.41 | 185.27 ▲123.71 |
Posts /wp-admin/edit.php | 5.81 ▲2.45 | 177.41 ▲128.36 |
Add New Post /wp-admin/post-new.php | 8.31 ▲2.42 | 227.12 ▲129.36 |
Media Library /wp-admin/upload.php | 5.62 ▲2.38 | 174.66 ▲141.94 |
Info /wp-admin/admin.php?page=slp_info | 5.59 | 187.22 |
General /wp-admin/admin.php?page=slp_general | 5.77 | 168.94 |
Settings /wp-admin/admin.php?page=slp_experience | 7.43 | 1,467.04 |
Locations /wp-admin/admin.php?page=slp_manage_locations | 5.84 | 184.90 |
Server storage [IO: ▲10.58MB] [DB: ▲0.40MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 360 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_store_locator |
wp_slp_extendo_meta |
New WordPress options |
---|
theysaidso_admin_options |
csl-slplus-options |
csl-slplus-installed_base_version |
widget_theysaidso_widget |
can_compress_scripts |
csl-slplus-options_nojs |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Store Locator Plus® for WordPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲132 | 14.26 ▼0.45 | 1.69 ▲0.03 | 43.41 ▼2.02 |
Dashboard /wp-admin | 2,290 ▲110 | 5.64 ▼0.01 | 90.53 ▼7.70 | 41.05 ▼4.07 |
Posts /wp-admin/edit.php | 2,198 ▲98 | 2.01 ▲0.05 | 55.39 ▲15.47 | 38.03 ▲2.75 |
Add New Post /wp-admin/post-new.php | 1,715 ▲189 | 21.51 ▼1.39 | 589.24 ▼96.91 | 56.99 ▼1.80 |
Media Library /wp-admin/upload.php | 1,492 ▲95 | 4.27 ▲0.11 | 99.75 ▼0.39 | 44.38 ▼0.04 |
Info /wp-admin/admin.php?page=slp_info | 1,596 | 6.02 | 107.61 | 118.21 |
General /wp-admin/admin.php?page=slp_general | 1,738 | 3.68 | 74.65 | 170.66 |
Settings /wp-admin/admin.php?page=slp_experience | 4,979 | 5.15 | 95.58 | 217.76 |
Locations /wp-admin/admin.php?page=slp_manage_locations | 2,100 | 13.67 | 258.67 | 99.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.40MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_slp_extendo_meta
- wp_store_locator
- The uninstall procedure has failed, leaving 9 options in the database
- can_compress_scripts
- db_upgraded
- csl-slplus-options_nojs
- csl-slplus-options
- widget_theysaidso_widget
- widget_recent-comments
- csl-slplus-installed_base_version
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 items
- 25× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SLPlus_BaseClass_Object' not found in wp-content/plugins/store-locator-le/include/unit/SLP_Country.php:25
- > PHP Fatal error
Uncaught Error: Class 'SLP_UI_Shortcode' not found in wp-content/plugins/store-locator-le/include/module/ui/SLP_UI_Shortcode_slp_location.php:6
- > PHP Warning
Use of undefined constant SLPLUS_PLUGINDIR - assumed 'SLPLUS_PLUGINDIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/store-locator-le/include/module/settings/SLP_Settings_Group.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'SLPLUS_PLUGINDIRinclude/module/admin_tabs/SLP_BaseClass_Admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/store-locator-le/include/base_class.admin.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'SLPlus_BaseClass_Object' not found in wp-content/plugins/store-locator-le/include/unit/SLP_Notice.php:15
- > PHP Warning
require_once(SLPLUS_PLUGINDIRinclude/base_class.object.php): failed to open stream: No such file or directory in wp-content/plugins/store-locator-le/include/SLPlus.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'SLP_UI_Shortcode' not found in wp-content/plugins/store-locator-le/include/module/ui/SLP_UI_Shortcode_slp_option.php:5
- > PHP Warning
require_once(SLPLUS_PLUGINDIRinclude/module/settings/SLP_Settings_Group.php): failed to open stream: No such file or directory in wp-content/plugins/store-locator-le/include/module/settings/SLP_Settings_Section.php on line 4
- > PHP Warning
Use of undefined constant SLPLUS_PLUGINDIR - assumed 'SLPLUS_PLUGINDIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/store-locator-le/include/base_class.admin.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'SLPlus_BaseClass_Object' not found in wp-content/plugins/store-locator-le/include/unit/SLP_Web_Link.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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: Add descriptions for screenshots #0, #0, #0, #0, #0, #0, #0, #0, #0 in store-locator-le/assets to your readme.txt
- Screenshots: These screenshots do not have images: #1 (Big Map Plugin Style on Big Map WordPress Theme), #2 (Manage Locations Interface), #3 (Search Settings with [Experience Add On](https://wordpress.storelocatorplus.com/product/experience/)), #4 (Map Settings), #5 (Plugin Style Selector), #6 (Cluster Markers with [Premier Add On](https://wordpress.storelocatorplus.com/product/premier-subscription/)), #7 (Reports [Power Add On](https://wordpress.storelocatorplus.com/product/power/)), #8 (Bulk Import with [Power Add On](https://wordpress.storelocatorplus.com/product/power/)), #9 (Directions from results link)
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
store-locator-le/store-locator-le.php Passed 13 tests
The primary PHP file in "Store Locator Plus® for WordPress" version 2311.17.01 is used by WordPress to initiate all plugin functionality
95 characters long description:
Add a location finder or directory to your site in minutes. Extensive add-on library available!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected73,004 lines of code in 157 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 34 | 9,560 | 9,892 | 58,031 |
PHP | 97 | 2,669 | 6,860 | 12,766 |
Sass | 5 | 278 | 77 | 1,319 |
SVG | 1 | 0 | 0 | 565 |
Vuejs Component | 2 | 5 | 1 | 168 |
CSS | 15 | 16 | 54 | 77 |
XML | 1 | 5 | 5 | 53 |
JSON | 2 | 0 | 0 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 21.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 89 | |
▷ Abstract classes | 1 | 1.12% |
▷ Concrete classes | 88 | 98.88% |
▷ Final classes | 0 | 0.00% |
Methods | 701 | |
▷ Static methods | 5 | 0.71% |
▷ Public methods | 451 | 64.34% |
▷ Protected methods | 59 | 8.42% |
▷ Private methods | 191 | 27.25% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 37 | |
▷ Global constants | 19 | 51.35% |
▷ Class constants | 18 | 48.65% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
158 PNG files occupy 0.38MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/jquery/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/jquery-ui-icons_888888_256x240.png | 6.93KB | 4.18KB | ▼ 39.62% |
css/jquery/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |
images/icons/shape_lightblue_martini.png | 0.88KB | 1.07KB | 0.00% |
css/jquery/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |