Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▲2.03ms] Passed 4 tests
An overview of server-side resources used by GDPR Easycloud
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 32.53 ▼3.30 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.58 ▲3.53 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 51.69 ▲7.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 89.89 ▲13.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 30.51 ▲0.40 |
GDPR settings /wp-admin/options-general.php?page=gdpr-option-admin | 3.22 | 35.66 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
gdpr_option |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GDPR Easycloud
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲54 | 13.31 ▼1.56 | 2.83 ▲1.07 | 36.68 ▼7.57 |
Dashboard /wp-admin | 2,209 ▲3 | 4.84 ▲0.01 | 99.65 ▼11.95 | 38.31 ▼3.15 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.02 ▼0.02 | 39.90 ▲3.58 | 35.35 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 23.32 ▲5.11 | 659.04 ▲18.42 | 55.54 ▲1.63 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.22 ▲0.13 | 99.50 ▲3.83 | 47.90 ▲5.36 |
GDPR settings /wp-admin/options-general.php?page=gdpr-option-admin | 930 | 2.05 | 31.00 | 38.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- gdpr_option
- widget_recent-comments
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/gdpr-easycloud/gdpr-easycloud.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Contributors: The plugin contributors field is missing
gdpr-easycloud/gdpr-easycloud.php 92% from 13 tests
The main file in "GDPR Easycloud" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected924 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 59 | 418 |
JavaScript | 1 | 56 | 39 | 344 |
PO File | 1 | 41 | 43 | 117 |
CSS | 2 | 4 | 3 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin