84% slp-extended-data-manager

Code Review | Store Locator Plus® | Extended Data Manager

WordPress plugin Store Locator Plus® | Extended Data Manager scored84%from 54 tests.

About plugin

  • Plugin page: slp-extended-data...
  • Plugin version: 6.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Nov 11, 2020
  • Latest release: Dec 29, 2022
  • Number of updates: 13
  • Update frequency: every 59.9 days
  • Top authors: DeBAAT (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /767 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0042.69 ▲4.69
Dashboard /wp-admin3.31 ▲0.0047.09 ▼2.02
Posts /wp-admin/edit.php3.36 ▲0.0046.48 ▼1.24
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.40 ▼22.77
Media Library /wp-admin/upload.php3.23 ▲0.0033.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

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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.17 ▼0.181.76 ▲0.1043.75 ▲5.46
Dashboard /wp-admin2,198 ▲185.49 ▼0.1692.02 ▲4.0640.06 ▼3.60
Posts /wp-admin/edit.php2,100 ▲31.98 ▼0.0231.93 ▼2.8732.95 ▼1.09
Add New Post /wp-admin/post-new.php1,526 ▼223.01 ▲0.07670.92 ▲45.5650.91 ▲0.44
Media Library /wp-admin/upload.php1,403 ▲34.23 ▲0.0595.94 ▲0.6240.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

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


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:
LanguageFilesBlank linesComment linesLines of code
PO File169133157

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 code0.61
Average class complexity78.24
▷ Minimum class complexity1.00
▷ Maximum class complexity3,089.00
Average method complexity4.45
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
▷ Abstract classes23.39%
▷ Concrete classes5796.61%
▷ Final classes00.00%
▷ Static methods19514.42%
▷ Public methods95370.49%
▷ Protected methods211.55%
▷ Private methods37827.96%
▷ Named functions104100.00%
▷ Anonymous functions00.00%
▷ Global constants10268.46%
▷ Class constants4731.54%
▷ Public constants47100.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
FileSize - originalSize - compressedSavings
freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%