84% exactly-gdpr-google-maps

Code Review | exovia GDPR Google Maps

WordPress plugin exovia GDPR Google Maps scored84%from 54 tests.

About plugin

  • Plugin page: exactly-gdpr-goog...
  • Plugin version: 1.0.11
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.2
  • WordPress version: 6.3.1
  • First release: Apr 24, 2020
  • Latest release: Jun 19, 2023
  • Number of updates: 23
  • Update frequency: every 50.0 days
  • Top authors: exovia (60.87%)exactlywebdesign (43.48%)

Code review

54 tests

User reviews

10 reviews

Install metrics

3,000+ active /14,119 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼5.19ms] Passed 4 tests

Server-side resources used by exovia GDPR Google Maps
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.79 ▲0.0640.61 ▼7.41
Dashboard /wp-admin3.64 ▲0.0050.86 ▼15.71
Posts /wp-admin/edit.php3.75 ▲0.0755.39 ▲4.62
Add New Post /wp-admin/post-new.php6.22 ▲0.0798.83 ▼1.82
Media Library /wp-admin/upload.php3.56 ▲0.0743.05 ▲4.20
GDPR Google Maps /wp-admin/options-general.php?page=exggmap_options_page3.5337.48

Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for exovia GDPR Google Maps
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,901 ▲14013.85 ▼0.538.80 ▲7.2241.47 ▼2.38
Dashboard /wp-admin2,199 ▲225.64 ▼0.0594.48 ▲4.0139.19 ▼7.15
Posts /wp-admin/edit.php2,101 ▲12.02 ▼0.0239.94 ▲1.3636.37 ▲3.27
Add New Post /wp-admin/post-new.php1,529 ▼217.66 ▼5.48686.36 ▲21.6749.72 ▼16.14
Media Library /wp-admin/upload.php1,401 ▲14.23 ▼0.00112.06 ▲11.6148.30 ▲4.21
GDPR Google Maps /wp-admin/options-general.php?page=exggmap_options_page1,2582.5252.6946.91

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

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
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
Please fix the following
  • 5× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/exactly-gdpr-google-maps/includes/exggmap-i18n.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/exactly-gdpr-google-maps/includes/exggmap-shortcode.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/exactly-gdpr-google-maps/admin/exggmap-admin.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/exactly-gdpr-google-maps/public/exggmap-public.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/exactly-gdpr-google-maps/exactly-gdpr-google-maps.php:31

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 96% from 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
4 plugin tags: dsgvo, google maps, gdpr, maps

exactly-gdpr-google-maps/exactly-gdpr-google-maps.php 92% from 13 tests

The main PHP script in "exovia GDPR Google Maps" version 1.0.11 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 197 characters long)

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
Success! There were no dangerous files found in this plugin547 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP77169343
PO File1303987
CSS211079
JavaScript28038

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions21
▷ Named functions21100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin