Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼4.64ms] Passed 4 tests
This is a short check of server-side resources used by GDPR Personal Data Reports
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 39.73 ▼0.41 |
Dashboard /wp-admin | 3.57 ▲0.23 | 49.65 ▼13.00 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 48.63 ▲2.17 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 94.61 ▼7.30 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 39.53 ▲5.32 |
GDPR Settings /wp-admin/options-general.php?page=gdpr-personal-data-reports | 3.51 | 38.59 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_gdpr_requests |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GDPR Personal Data Reports
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲159 | 13.79 ▼0.45 | 9.01 ▲7.40 | 41.33 ▲2.31 |
Dashboard /wp-admin | 2,197 ▲26 | 5.51 ▼0.09 | 90.06 ▼10.43 | 38.95 ▼9.94 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.02 ▲0.00 | 39.80 ▲4.23 | 34.96 ▲2.97 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.09 ▼0.55 | 660.98 ▲26.13 | 50.85 ▼0.64 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.21 ▼0.02 | 97.88 ▼10.48 | 41.43 ▲0.44 |
GDPR Settings /wp-admin/options-general.php?page=gdpr-personal-data-reports | 1,842 | 2.03 | 25.93 | 31.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_delete_confirmation.php
- > /wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_report.php
- > /wp-content/plugins/gdpr-personal-data-reports/public/partials/gdpr-personal-data-reports-public-display.php
- > /wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_confirmation.php
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: texts in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_confirmation.php on line 71
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_confirmation.php on line 71
- > PHP Notice
Undefined variable: texts in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_confirmation.php on line 92
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_header.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_delete_confirmation.php on line 81
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_delete_confirmation.php on line 84
- > PHP Notice
Undefined variable: texts in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_confirmation.php on line 93
- > PHP Notice
Undefined variable: texts in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_delete_confirmation.php on line 70
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_delete_confirmation.php on line 97
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-personal-data-reports/includes/mail/gdpr_delete_confirmation.php on line 70
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Contributors: The plugin contributors field is not present
gdpr-personal-data-reports/gdpr-personal-data-reports.php 85% from 13 tests
The main file in "GDPR Personal Data Reports" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("4.9.4" instead of "4.4")
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
Everything looks great! No dangerous files found in this plugin3,260 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 404 | 932 | 2,214 |
PO File | 3 | 272 | 351 | 957 |
CSS | 2 | 17 | 8 | 67 |
JavaScript | 2 | 21 | 52 | 22 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 3 | 4.00% |
▷ Public methods | 70 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin