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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.98ms] Passed 4 tests
Analyzing server-side resources used by GDPR Tools: comment ip removement
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.14 ▼2.40 |
Dashboard /wp-admin | 3.34 ▼0.01 | 52.89 ▼16.70 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.27 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.71 ▼8.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.51 ▲0.05 |
GDPR tools: comment ip /wp-admin/edit-comments.php?page=fhw_dsgvo_kommentar_options | 3.28 | 33.66 |
All Comments /wp-admin/edit-comments.php | 3.33 | 44.26 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
GDPR Tools: comment ip removement: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.28 ▼0.07 | 1.80 ▲0.07 | 44.04 ▼0.46 |
Dashboard /wp-admin | 2,212 ▲32 | 5.60 ▼0.08 | 90.24 ▼1.57 | 39.67 ▼0.75 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.00 ▲0.03 | 36.24 ▲0.47 | 29.78 ▼5.11 |
Add New Post /wp-admin/post-new.php | 1,551 ▲26 | 23.09 ▲0.12 | 691.36 ▲18.34 | 60.58 ▲11.90 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.23 ▼0.00 | 112.48 ▲7.38 | 47.67 ▼0.49 |
GDPR tools: comment ip /wp-admin/edit-comments.php?page=fhw_dsgvo_kommentar_options | 827 | 2.03 | 25.65 | 26.04 |
All Comments /wp-admin/edit-comments.php | 1,824 | 2.27 | 36.65 | 36.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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)
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsgvo-tools-kommentar-ip-entfernen/admin/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsgvo-tools-kommentar-ip-entfernen/admin/looper.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/dsgvo-tools-kommentar-ip-entfernen/main.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- License uri: Invalid url: "license.txt"
dsgvo-tools-kommentar-ip-entfernen/main.php 92% from 13 tests
The main file in "GDPR Tools: comment ip removement" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dsgvo-tools-kommentar-ip-entfernen.php" instead of "main.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
No dangerous file extensions were detected103 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 12 | 9 | 103 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin