Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲8.69MB] [CPU: ▲58.91ms] 25% from 4 tests
A check of server-side resources used by Real Cookie Banner: GDPR & ePrivacy Cookie Consent
Please take the time to fix the following items
- RAM: The total memory usage must be kept under 10MB (currently 12.12MB on /wp-admin/admin.php?page=real-cookie-banner-welcome)
- CPU: Total CPU usage should be kept under 500.00ms (currently 549.44ms on /wp-admin/admin.php?page=real-cookie-banner-welcome)
- Extra RAM: The extra memory usage must be under 5MB (currently 8.69MB on /wp-admin/admin.php?page=real-cookie-banner-welcome)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 12.75 ▲9.29 | 87.75 ▲46.21 |
Dashboard /wp-admin | 11.82 ▲8.52 | 108.17 ▲60.37 |
Posts /wp-admin/edit.php | 11.92 ▲8.56 | 119.66 ▲70.83 |
Add New Post /wp-admin/post-new.php | 15.02 ▲9.13 | 165.66 ▲68.35 |
Media Library /wp-admin/upload.php | 11.77 ▲8.54 | 96.46 ▲60.69 |
Real Cookie Banner (Free) /wp-admin/admin.php?page=real-cookie-banner-welcome | 12.12 | 549.44 |
Server storage [IO: ▲11.33MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 946 new files
Database: 20 new tables, 233 new options
New tables |
---|
wp_rcb_tcf_purposes |
wp_rcb_tcf_vendors |
wp_rcb_scan |
wp_rcb_tcf_special_features |
wp_rcb_asset_seo_redirect |
wp_rcb_scan_markup |
wp_rcb_template_translation |
wp_rcb_stats_custom_bypass |
wp_rcb_tcf_features |
wp_rcb_blocker_thumbnails |
... |
New WordPress options |
---|
rcb-group-desc-font-size |
rcb-banner-body-design-btn-accept-essentials-border-width |
rcb-banner-decision-show-groups |
rpm-wpc-licenseDeferredLicenseActivation_real-cookie-banner-expire |
rcb-banner-texts-accept-individual |
rcb-banner-design-box-shadow-offset-x |
rcb-banner-mobile-max-height |
rcb-banner-layout-overlayBg |
rcb-banner-layout-animation-out-duration |
rcb-banner-design-border-width |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Real Cookie Banner: GDPR & ePrivacy Cookie Consent
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,076 ▲314 | 15.49 ▲1.22 | 2.07 ▲0.37 | 37.04 ▼6.55 |
Dashboard /wp-admin | 2,478 ▲301 | 7.39 ▲1.84 | 152.12 ▲51.33 | 41.80 ▼4.88 |
Posts /wp-admin/edit.php | 2,353 ▲253 | 3.82 ▲1.81 | 89.80 ▲49.45 | 52.83 ▲19.50 |
Add New Post /wp-admin/post-new.php | 1,599 ▲72 | 23.18 ▲0.08 | 719.56 ▲52.12 | 28.41 ▼17.76 |
Media Library /wp-admin/upload.php | 1,721 ▲324 | 5.74 ▲1.58 | 145.81 ▲49.95 | 46.22 ▲3.55 |
Real Cookie Banner (Free) /wp-admin/admin.php?page=real-cookie-banner-welcome | 1,803 | 3.93 | 76.11 | 96.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables detected upon uninstall: 20 tables
- wp_rcb_tcf_special_purposes
- wp_rcb_tcf_features
- wp_rcb_stats_buttons_clicked
- wp_rcb_tcf_data_categories
- wp_rcb_tcf_purposes
- wp_real_queue
- wp_rcb_scan
- wp_rcb_template
- wp_rcb_template_translation
- wp_rcb_consent
- ...
- The uninstall procedure has failed, leaving 233 options in the database
- rcb-banner-footer-design-font-inherit-family
- rcb-banner-footer-design-font-color
- rcb-group-link-hover-color
- rcb-banner-decision-accept-essentials
- rcb-banner-body-design-btn-accept-essentials-font-color
- rcb-banner-body-design-btn-accept-individual-hover-bg
- rcb-banner-layout-overlayBlur
- rcb-banner-header-design-inherit-text-align
- rcb-banner-layout-overlay
- rcb-banner-design-font-weight
- ...
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 238× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/real-cookie-banner/inc/comp/migration/DashboardTileMigrationMajor3.php
- > /wp-content/plugins/real-cookie-banner/inc/view/shortcode/HistoryUuidsShortcode.php
- > /wp-content/plugins/real-cookie-banner/inc/templates/StorageHelper.php
- > /wp-content/plugins/real-cookie-banner/vendor/devowl-wp/real-utils/src/Assets.php
- > /wp-content/plugins/real-cookie-banner/vendor/devowl-wp/utils/src/Assets.php
- > /wp-content/plugins/real-cookie-banner/vendor/devowl-wp/freemium/src/Constants.php
- > /wp-content/plugins/real-cookie-banner/vendor/devowl-wp/real-utils/src/RatingHandler.php
- > /wp-content/plugins/real-cookie-banner/inc/settings/TCF.php
- > /wp-content/plugins/real-cookie-banner/vendor/devowl-wp/multilingual/src/AbstractOutputBufferPlugin.php
- > /wp-content/plugins/real-cookie-banner/inc/view/checklist/SaveSettings.php
- 365× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/real-cookie-banner/vendor/mpratt/embera/src/Embera/Provider/SmashNotes.php:23
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\DevOwl\\HeadlessContentBlocker\\AbstractPlugin' not found in wp-content/plugins/real-cookie-banner/vendor/devowl-wp/headless-content-blocker/src/plugins/selectorSyntaxFunction/KeepAttributes.php:20
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\DevOwl\\CacheInvalidate\\AbstractCache' not found in wp-content/plugins/real-cookie-banner/vendor/devowl-wp/cache-invalidate/src/caches/SGOptimizeImpl.php:13
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/real-cookie-banner/vendor/mpratt/embera/src/Embera/Provider/Gong.php:23
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/real-cookie-banner/vendor/mpratt/embera/src/Embera/Provider/KakaoTV.php:23
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/real-cookie-banner/vendor/mpratt/embera/src/Embera/Provider/Tuxx.php:23
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/real-cookie-banner/vendor/mpratt/embera/src/Embera/Provider/UpecPod.php:23
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\DevOwl\\CacheInvalidate\\AbstractCache' not found in wp-content/plugins/real-cookie-banner/vendor/devowl-wp/cache-invalidate/src/caches/LiteSpeedCacheImpl.php:14
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/real-cookie-banner/vendor/mpratt/embera/src/Embera/Provider/Libsyn.php:22
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCookieBanner\\Vendor\\Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/real-cookie-banner/vendor/mpratt/embera/src/Embera/Provider/Kmdr.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
real-cookie-banner/index.php 85% from 13 tests
"Real Cookie Banner: GDPR & ePrivacy Cookie Consent" version 4.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 173 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("real-cookie-banner.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected69,516 lines of code in 831 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 702 | 1,499 | 29,906 | 43,555 |
JSON | 19 | 0 | 0 | 14,864 |
Markdown | 15 | 5,108 | 0 | 10,208 |
C | 1 | 117 | 24 | 665 |
XML | 2 | 4 | 4 | 81 |
JavaScript | 65 | 4 | 107 | 69 |
m4 | 1 | 8 | 0 | 32 |
CSS | 11 | 0 | 12 | 20 |
SVG | 14 | 0 | 0 | 14 |
C/C++ Header | 1 | 4 | 12 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 86 | |
Interfaces | 17 | |
Traits | 35 | |
Classes | 619 | |
▷ Abstract classes | 39 | 6.30% |
▷ Concrete classes | 580 | 93.70% |
▷ Final classes | 3 | 0.52% |
Methods | 3,660 | |
▷ Static methods | 328 | 8.96% |
▷ Public methods | 3,275 | 89.48% |
▷ Protected methods | 260 | 7.10% |
▷ Private methods | 125 | 3.42% |
Functions | 283 | |
▷ Named functions | 13 | 4.59% |
▷ Anonymous functions | 270 | 95.41% |
Constants | 1,185 | |
▷ Global constants | 57 | 4.81% |
▷ Class constants | 1,128 | 95.19% |
▷ Public constants | 1,112 | 98.58% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/dummy.png | 0.07KB | 0.09KB | 0.00% |