84% gdpr-ready-advice


WordPress plugin GDPR READY ADVICE scored 84% from 54 tests.

About plugin

  • Plugin page: gdpr-ready-advice
  • Plugin version: 1.0
  • PHP compatiblity: 4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-4.9.6
  • WordPress version: 5.8.1
  • First release: Jun 26, 2018
  • Latest release: Jun 26, 2018
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: extendyourweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 457 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼147.45ms] Passed 4 tests

An overview of server-side resources used by GDPR READY ADVICE
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1433.02 ▲11.65
Dashboard /wp-admin3.08 ▲0.0245.91 ▲1.09
Posts /wp-admin/edit.php3.13 ▲0.0244.51 ▼2.65
Add New Post /wp-admin/post-new.php5.44 ▲0.0189.78 ▼585.79
Media Library /wp-admin/upload.php3.02 ▲0.0135.18 ▼2.44
GDPR Ready Advice /wp-admin/options-general.php?page=gdprreadyadvice3.0044.47

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: 1 new table, no new options
New tables

Browser metrics Passed 4 tests

An overview of browser requirements for GDPR READY ADVICE
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,727 ▲13115.80 ▲0.1910.36 ▲0.6168.73 ▲17.52
Dashboard /wp-admin2,978 ▲445.90 ▼0.14159.99 ▲14.70112.47 ▼5.65
Posts /wp-admin/edit.php2,744 ▲52.72 ▲0.0062.47 ▼4.8585.92 ▼2.86
Add New Post /wp-admin/post-new.php1,503 ▼10118.53 ▼0.12363.62 ▲7.76107.92 ▼6.32
Media Library /wp-admin/upload.php1,812 ▲55.04 ▼0.01143.58 ▼11.06119.19 ▲3.76
GDPR Ready Advice /wp-admin/options-general.php?page=gdprreadyadvice1,0752.1849.7379.69

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie tables detected upon uninstall: 1 table
    • wp_gdprreadyadvice

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gdpr-ready-advice/init.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: Please add images for these screenshots: #1 (GDPR Ready advice sample.), #2 (GDPR Ready advice in website.), #3 (GDPR Ready advice in mobile.), #4 (GDPR Ready advice admin.)
The official readme.txt is a good inspiration

gdpr-ready-advice/init.php 92% from 13 tests

"GDPR READY ADVICE" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("gdpr-ready-advice.php" instead of "init.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected200 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.13
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions8100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-128x128.png4.82KB2.89KB▼ 39.95%
assets/images/european-gdpr.png1.24KB0.83KB▼ 32.94%