Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.42ms] Passed 4 tests
A check of server-side resources used by Privado’s GDPR Cookie Consent Solution(India’s PDP Act & CCPA Ready)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.54 ▼4.92 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.43 ▼20.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.57 ▲1.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.67 ▼15.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.93 ▼1.55 |
Privado's Cookie Consent Solution /wp-admin/options-general.php?page=cookie_consent_solution | 3.20 | 33.13 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Privado’s GDPR Cookie Consent Solution(India’s PDP Act & CCPA Ready)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲58 | 13.60 ▼0.60 | 1.99 ▲0.03 | 42.57 ▼0.32 |
Dashboard /wp-admin | 2,222 ▲22 | 5.84 ▼0.04 | 97.58 ▼2.32 | 36.32 ▼11.27 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.04 ▲0.04 | 39.07 ▼1.57 | 36.41 ▲2.49 |
Add New Post /wp-admin/post-new.php | 1,529 ▼16 | 17.60 ▼5.79 | 681.03 ▲49.95 | 59.85 ▲5.70 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.14 ▼0.13 | 108.29 ▲9.06 | 45.79 ▲1.16 |
Privado's Cookie Consent Solution /wp-admin/options-general.php?page=cookie_consent_solution | 836 | 1.98 | 28.04 | 31.41 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Requires at least: Invalid version format
privado-gdpr-ccpa-cookie-consent/cookie-consent-solution.php 77% from 13 tests
The primary PHP file in "Privado’s GDPR Cookie Consent Solution(India’s PDP Act & CCPA Ready)" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("privado-gdpr-ccpa-cookie-consent.php" instead of "cookie-consent-solution.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
There were no executable files found in this plugin145 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 26 | 145 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin