Benchmarks
Plugin footprint 65% 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.86MB] [CPU: ▼24.22ms] Passed 4 tests
Server-side resources used by All-in-One Data Privacy & Cookie Policy Solution for GDPR/CCPA
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.30 ▲0.84 |
Dashboard /wp-admin | 3.08 ▼0.22 | 28.26 ▼19.53 |
Posts /wp-admin/edit.php | 3.08 ▼0.27 | 31.75 ▼14.45 |
Add New Post /wp-admin/post-new.php | 3.08 ▼2.80 | 30.82 ▼56.89 |
Media Library /wp-admin/upload.php | 3.08 ▼0.14 | 29.16 ▼6.02 |
CCPA Compliance Tool /wp-admin/tools.php?page=ccpa-compliance-tool | 3.08 | 28.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ccpact_privacy_api_key_tmp |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
ccpact_privacy_mode |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
ccpact_privacy_mode_tmp |
ccpact_privacy_domain_tmp |
Browser metrics Passed 4 tests
A check of browser resources used by All-in-One Data Privacy & Cookie Policy Solution for GDPR/CCPA
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.20 | 1.69 ▼0.04 | 41.43 ▼2.65 |
Dashboard /wp-admin | 2,207 ▲22 | 4.89 ▼0.14 | 107.76 ▼7.65 | 43.55 ▲0.49 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.04 | 40.43 ▼1.95 | 35.05 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 18.28 ▼5.06 | 592.39 ▼96.37 | 76.00 ▲19.78 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.21 ▲0.02 | 97.81 ▼5.12 | 41.99 ▼6.71 |
CCPA Compliance Tool /wp-admin/tools.php?page=ccpa-compliance-tool | 791 | 2.03 | 24.45 | 30.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/ccpa-compliance-tool/includes/ccpact-functions.php+60
Undefined index: port
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=ccpa-compliance-tool
- > Notice in wp-content/plugins/ccpa-compliance-tool/includes/ccpact-functions.php+60
Undefined index: port
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
- Contributors: Plugin contributors not specified
ccpa-compliance-tool/ccpa-compliance-tool.php 85% from 13 tests
This is the main PHP file of "All-in-One Data Privacy & Cookie Policy Solution for GDPR/CCPA" version 1.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- 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
Success! There were no dangerous files found in this plugin367 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 70 | 116 | 324 |
YAML | 1 | 2 | 0 | 28 |
Markdown | 1 | 6 | 0 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin