Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.79ms] Passed 4 tests
This is a short check of server-side resources used by ExS GDPR
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.78 ▼2.79 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.31 ▼3.80 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 44.91 ▲0.70 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 82.09 ▼13.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 31.56 ▲0.85 |
ExS GDPR /wp-admin/options-general.php?page=exs-gdpr | 3.26 | 28.78 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for ExS GDPR
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.18 | 1.65 ▼0.04 | 40.08 ▼0.29 |
Dashboard /wp-admin | 2,204 ▲12 | 5.83 ▲0.93 | 100.63 ▼12.22 | 40.13 ▼3.17 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.04 | 33.72 ▼2.66 | 33.63 ▼3.23 |
Add New Post /wp-admin/post-new.php | 1,522 ▼6 | 23.19 ▲4.92 | 673.79 ▲66.27 | 57.48 ▲5.97 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.01 | 94.27 ▼1.84 | 42.43 ▼0.72 |
ExS GDPR /wp-admin/options-general.php?page=exs-gdpr | 770 | 2.02 | 22.37 | 23.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: popup, gdpr, gdpr message
exs-gdpr/exs-gdpr.php Passed 13 tests
This is the main PHP file of "ExS GDPR" version 0.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
95 characters long description:
Add dismissable GDPR notice and lets you to add a custom scripts for users who accepted COOKIES
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 plugin633 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 24 | 528 |
CSS | 1 | 4 | 7 | 71 |
JavaScript | 1 | 0 | 1 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin