Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼147.45ms] Passed 4 tests
An overview of server-side resources used by GDPR READY ADVICE
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 33.02 ▲11.65 |
Dashboard /wp-admin | 3.08 ▲0.02 | 45.91 ▲1.09 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 44.51 ▼2.65 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.78 ▼585.79 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 35.18 ▼2.44 |
GDPR Ready Advice /wp-admin/options-general.php?page=gdprreadyadvice | 3.00 | 44.47 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: 1 new table, no new options
New tables |
---|
wp_gdprreadyadvice |
Browser metrics Passed 4 tests
An overview of browser requirements for GDPR READY ADVICE
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,727 ▲131 | 15.80 ▲0.19 | 10.36 ▲0.61 | 68.73 ▲17.52 |
Dashboard /wp-admin | 2,978 ▲44 | 5.90 ▼0.14 | 159.99 ▲14.70 | 112.47 ▼5.65 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 62.47 ▼4.85 | 85.92 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,503 ▼101 | 18.53 ▼0.12 | 363.62 ▲7.76 | 107.92 ▼6.32 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▼0.01 | 143.58 ▼11.06 | 119.19 ▲3.76 |
GDPR Ready Advice /wp-admin/options-general.php?page=gdprreadyadvice | 1,075 | 2.18 | 49.73 | 79.69 |
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
- Zombie tables detected upon uninstall: 1 table
- wp_gdprreadyadvice
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gdpr-ready-advice/init.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (GDPR Ready advice sample.), #2 (GDPR Ready advice in website.), #3 (GDPR Ready advice in mobile.), #4 (GDPR Ready advice admin.)
gdpr-ready-advice/init.php 92% from 13 tests
"GDPR READY ADVICE" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("gdpr-ready-advice.php" instead of "init.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
Good job! No executable or dangerous file extensions detected200 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 19 | 123 |
CSS | 1 | 0 | 0 | 77 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 8 | |
▷ Named functions | 8 | 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
3 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 4.82KB | 2.89KB | ▼ 39.95% |
assets/images/european-gdpr.png | 1.24KB | 0.83KB | ▼ 32.94% |
assets/images/screenshot-draco-theme.png | 99.41KB | 99.57KB | 0.00% |