Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.81ms] Passed 4 tests
An overview of server-side resources used by Store Locator Plus® | Extended Data Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.69 ▲4.69 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.09 ▼2.02 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.48 ▼1.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.40 ▼22.77 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.96 ▲2.79 |
Server storage [IO: ▲3.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 205 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
fs_active_plugins |
widget_theysaidso_widget |
fs_accounts |
fs_gdpr |
fs_debug_mode |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Store Locator Plus® | Extended Data Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.17 ▼0.18 | 1.76 ▲0.10 | 43.75 ▲5.46 |
Dashboard /wp-admin | 2,198 ▲18 | 5.49 ▼0.16 | 92.02 ▲4.06 | 40.06 ▼3.60 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.98 ▼0.02 | 31.93 ▼2.87 | 32.95 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.01 ▲0.07 | 670.92 ▲45.56 | 50.91 ▲0.44 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.05 | 95.94 ▲0.62 | 40.63 ▼5.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- fs_active_plugins
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- fs_gdpr
- fs_accounts
- theysaidso_admin_options
- fs_debug_mode
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'SLPlus_BaseClass_Object' not found in wp-content/plugins/slp-extended-data-manager/include/module/admin/SLP_Extended_Data_Manager_Admin_General.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/slp-extended-data-manager/include/base/loader.php:5
- > PHP Fatal error
Uncaught Error: Class 'SLPlus_BaseClass_Object' not found in wp-content/plugins/slp-extended-data-manager/include/module/admin/SLP_Extended_Data_Manager_Admin_Elements.php:15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/slp-extended-data-manager/include/base/loader.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'SLPlus_BaseClass_Object' not found in wp-content/plugins/slp-extended-data-manager/include/module/admin/SLP_Extended_Data_Manager_Admin_Info.php:15
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/slp-extended-data-manager/include/base/loader.php on line 3
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/slp-extended-data-manager/include/base/loader.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'DebugMyPluginPanel' not found in wp-content/plugins/slp-extended-data-manager/include/class.dmppanels.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: store locator plus, integration, google maps, locations, data tables
slp-extended-data-manager/slp-extended-data-manager.php Passed 13 tests
This is the main PHP file of "Store Locator Plus® | Extended Data Manager" version 6.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
117 characters long description:
SLP Extended Data Manager is an add-on pack for Store Locator Plus that lets admin manage the extended data settings.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin34,795 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,260 | 18,102 | 34,377 |
JavaScript | 4 | 36 | 75 | 196 |
PO File | 1 | 69 | 133 | 157 |
CSS | 14 | 7 | 5 | 65 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 78.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 0 | 0.00% |
Methods | 1,352 | |
▷ Static methods | 195 | 14.42% |
▷ Public methods | 953 | 70.49% |
▷ Protected methods | 21 | 1.55% |
▷ Private methods | 378 | 27.96% |
Functions | 104 | |
▷ Named functions | 104 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |