Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.61ms] Passed 4 tests
A check of server-side resources used by Dont Collect Hidden Information for Commenters
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.51 ▲0.07 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.81 ▼1.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.81 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.30 ▼15.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.81 ▼1.41 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Dont Collect Hidden Information for Commenters
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲54 | 13.31 ▼1.07 | 1.94 ▲0.07 | 41.56 ▼1.58 |
Dashboard /wp-admin | 2,221 ▲18 | 5.90 ▲1.00 | 115.36 ▲8.35 | 42.79 ▼1.62 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.01 | 38.85 ▲1.54 | 38.06 ▲3.36 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 17.56 ▼5.66 | 654.36 ▲45.45 | 62.92 ▲6.41 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.01 | 98.95 ▼6.76 | 41.80 ▼3.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dont-collect-hidden-information-for-commenters/dont-collect-hidden-information-for-commenters.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: comment, privacy, anonymous, anonymity, dsgvo...
dont-collect-hidden-information-for-commenters/dont-collect-hidden-information-for-commenters.php Passed 13 tests
"Dont Collect Hidden Information for Commenters" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
128 characters long description:
WrodPress saves commenters' ip addresses and user agents by default. The plugin prevents it and makes websites privacy-friendly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin10 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 10 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected