Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.19ms] Passed 4 tests
This is a short check of server-side resources used by Privacy Offload - GDPR/CCPA Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 291.61 ▲251.37 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.96 ▼5.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.18 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.66 ▼11.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.73 ▲2.92 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
poplugin_registered_org |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Privacy Offload - GDPR/CCPA Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,466 ▼305 | 13.18 ▼1.13 | 0.76 ▼1.25 | 0.32 ▼42.42 |
Dashboard /wp-admin | 2,218 ▲30 | 5.87 ▲1.01 | 103.81 ▼13.65 | 39.41 ▼9.14 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 1.99 ▼0.05 | 36.20 ▼0.05 | 31.64 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.54 ▲0.19 | 657.86 ▼11.09 | 69.01 ▲15.02 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.18 ▼0.03 | 94.73 ▼4.98 | 43.11 ▼4.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- poplugin_registered_org
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gdpr-ccpa-compliance/includes/foot-links.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gdpr-ccpa-compliance/includes/onboarding.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gdpr-ccpa-compliance/includes/custom-menu.php:57
- > PHP Warning
Use of undefined constant PRIVACY_OFFLOAD_PLUGIN_BASENAME - assumed 'PRIVACY_OFFLOAD_PLUGIN_BASENAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/gdpr-ccpa-compliance/includes/foot-links.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/gdpr-ccpa-compliance/includes/po-menu-page.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Contributors: Contributors not specified
gdpr-ccpa-compliance/gdpr-ccpa-compliance-solution.php 77% from 13 tests
The principal PHP file in "Privacy Offload - GDPR/CCPA Manager" v. 3.3 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("gdpr-ccpa-compliance.php" instead of "gdpr-ccpa-compliance-solution.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected400 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 24 | 21 | 229 |
CSS | 1 | 40 | 7 | 171 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo_old.png | 69.30KB | 20.86KB | ▼ 69.91% |
images/banner.png | 36.76KB | 10.82KB | ▼ 70.55% |
images/logo.png | 5.37KB | 3.09KB | ▼ 42.35% |