Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼3.52ms] Passed 4 tests
Server-side resources used by Remove GDPR
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.99 ▼0.73 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.67 ▼6.79 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.68 ▲3.26 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.59 ▼7.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.86 ▲1.28 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
gdpr-comment-opt-in |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove GDPR
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.24 ▼0.98 | 1.74 ▼0.76 | 44.24 ▼4.04 |
Dashboard /wp-admin | 2,213 ▲28 | 4.84 ▼0.02 | 98.18 ▼18.08 | 41.25 ▼7.15 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.01 | 39.35 ▲0.98 | 35.42 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,545 ▲9 | 18.33 ▼4.83 | 629.15 ▼52.39 | 59.34 ▲8.85 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.01 | 96.75 ▼12.65 | 42.07 ▼7.32 |
Privacy /wp-admin/values.php | 26 | 0.44 | 0.11 | 13.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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 items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/remove-gdpr/src/RemoveGDPR/values.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function RemoveGDPR\\plugin_dir_path() in wp-content/plugins/remove-gdpr/remove-gdpr.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/values.php
- > Network (severe)
wp-admin/values.php - Failed to load resource: the server responded with a status of 404 (Not 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: rollback, feature, gdpr
remove-gdpr/remove-gdpr.php Passed 13 tests
This is the main PHP file of "Remove GDPR" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
55 characters long description:
Activate or deactivate GDPR / privacy related features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin294 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 58 | 32 | 294 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin