Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_current_theme is deprecated since version 3.4.0! Use wp_get_theme() instead.
Server metrics [RAM: ▼1.53MB] [CPU: ▼52.40ms] Passed 4 tests
A check of server-side resources used by GDPR tool by WSD
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.46 ▼1.00 | 6.69 ▼34.33 |
Dashboard /wp-admin | 2.48 ▼0.82 | 7.28 ▼43.56 |
Posts /wp-admin/edit.php | 2.48 ▼0.87 | 7.26 ▼38.87 |
Add New Post /wp-admin/post-new.php | 2.48 ▼3.40 | 6.60 ▼92.85 |
Media Library /wp-admin/upload.php | 2.48 ▼0.75 | 7.92 ▼28.53 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for GDPR tool by WSD
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲156 | 13.95 ▼0.32 | 1.56 ▼0.39 | 39.40 ▼3.21 |
Dashboard /wp-admin | 2,319 ▲144 | 5.71 ▲0.09 | 111.35 ▲5.54 | 39.80 ▼2.48 |
Posts /wp-admin/edit.php | 2,227 ▲127 | 2.73 ▲0.69 | 44.48 ▲7.61 | 28.97 ▼9.37 |
Add New Post /wp-admin/post-new.php | 1,800 ▲264 | 23.66 ▲0.51 | 613.19 ▼7.05 | 39.42 ▼54.98 |
Media Library /wp-admin/upload.php | 1,524 ▲121 | 5.15 ▲0.95 | 107.14 ▲8.93 | 45.89 ▲4.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5453
Function get_current_theme is deprecated since version 3.4.0! Use wp_get_theme() instead.
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gdpr-tool-by-wsd/new_one.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-tool-by-wsd/new_one.php on line 2
- > PHP Notice
Undefined index: argv in wp-content/plugins/gdpr-tool-by-wsd/new_one.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/gdpr-tool-by-wsd/index.php:20
- > PHP Notice
Undefined index: argv in wp-content/plugins/gdpr-tool-by-wsd/new_one.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-tool-by-wsd/new_one.php on line 3
- > PHP Notice
Undefined index: argv in wp-content/plugins/gdpr-tool-by-wsd/new_one.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gdpr-tool-by-wsd/new_one.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #7, #8 in gdpr-tool-by-wsd/assets to your readme.txt
gdpr-tool-by-wsd/index.php 85% from 13 tests
The entry point to "GDPR tool by WSD" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 280 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gdpr-tool-by-wsd.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected8,861 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,950 | 1,733 | 6,857 |
PHP | 11 | 166 | 135 | 1,715 |
CSS | 3 | 10 | 13 | 146 |
HTML | 4 | 4 | 0 | 143 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 33 | |
▷ Named functions | 32 | 96.97% |
▷ Anonymous functions | 1 | 3.03% |
Constants | 1 | |
▷ Global constants | 1 | 100.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