Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.82MB] [CPU: ▲0.58ms] Passed 4 tests
This is a short check of server-side resources used by GDPR Cookie Compliance (CCPA, DSGVO, Cookie Consent)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.39 ▲0.93 | 60.82 ▲23.35 |
Dashboard /wp-admin | 4.11 ▲0.81 | 52.47 ▼5.48 |
Posts /wp-admin/edit.php | 4.16 ▲0.81 | 46.74 ▲1.10 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.09 | 88.28 ▲1.23 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 40.00 ▲5.46 |
Licence Manager /wp-admin/admin.php?page=moove-gdpr_licence | 4.26 | 491.69 |
Video Tutorial /wp-admin/admin.php?page=moove-gdpr_video-tutorial | 4.04 | 38.27 |
Support /wp-admin/admin.php?page=moove-gdpr_support | 4.04 | 35.31 |
GDPR Cookie Compliance /wp-admin/admin.php?page=moove-gdpr | 4.07 | 45.20 |
Documentation /wp-admin/admin.php?page=moove-gdpr_help | 4.34 | 37.01 |
Server storage [IO: ▲1.87MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 81 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_gdpr_cc_options |
New WordPress options |
---|
gdpr_cc_db_created |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GDPR Cookie Compliance (CCPA, DSGVO, Cookie Consent)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,174 ▲413 | 13.53 ▼1.04 | 10.09 ▲8.64 | 39.44 ▲3.08 |
Dashboard /wp-admin | 2,257 ▲83 | 5.59 ▲0.05 | 85.66 ▲0.30 | 40.98 ▲1.78 |
Posts /wp-admin/edit.php | 2,168 ▲68 | 2.05 ▲0.04 | 33.63 ▼1.34 | 33.88 ▼4.51 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 24.18 ▲1.24 | 678.90 ▲26.79 | 60.94 ▲5.83 |
Media Library /wp-admin/upload.php | 1,468 ▲65 | 4.21 ▲0.01 | 94.20 ▼1.05 | 43.57 ▲0.22 |
Licence Manager /wp-admin/admin.php?page=moove-gdpr_licence | 1,331 | 1.93 | 28.97 | 43.35 |
Video Tutorial /wp-admin/admin.php?page=moove-gdpr_video-tutorial | 1,719 | 6.43 | 59.61 | 63.67 |
Support /wp-admin/admin.php?page=moove-gdpr_support | 1,265 | 1.87 | 27.30 | 32.12 |
GDPR Cookie Compliance /wp-admin/admin.php?page=moove-gdpr | 1,656 | 3.73 | 59.91 | 87.15 |
Documentation /wp-admin/admin.php?page=moove-gdpr_help | 11,671 | 4.71 | 179.37 | 174.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_gdpr_cc_options
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- gdpr_cc_db_created
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: ccpa, gdpr, cookie banner, cookie notice, dsgvo
gdpr-cookie-compliance/moove-gdpr.php 85% from 13 tests
The main file in "GDPR Cookie Compliance (CCPA, DSGVO, Cookie Consent)" v. 4.12.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gdpr-cookie-compliance.php" instead of "moove-gdpr.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
Everything looks great! No dangerous files found in this plugin8,108 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 763 | 1,093 | 7,216 |
SVG | 2 | 0 | 0 | 876 |
JavaScript | 4 | 0 | 0 | 12 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 78.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 7.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 45 | 40.54% |
▷ Public methods | 109 | 98.20% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.80% |
Functions | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
Constants | 2 | |
▷ Global constants | 2 | 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
6 PNG files occupy 0.37MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/gdpr-logo.png | 1.44KB | 1.54KB | 0.00% |
dist/images/uat-promo-wp.png | 364.67KB | 99.99KB | ▼ 72.58% |
dist/images/moove-gdpr-inputs.png | 1.89KB | 1.61KB | ▼ 14.90% |
dist/images/gdpr-cookie-compliance-icon.png | 4.79KB | 3.83KB | ▼ 20.00% |
dist/images/gdpr-icon.png | 1.78KB | 1.78KB | 0.00% |