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.07MB] [CPU: ▼3.35ms] Passed 4 tests
Analyzing server-side resources used by Delete Me
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.64 ▼0.47 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.35 ▼2.45 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 43.53 ▼4.54 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 93.83 ▼5.94 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 34.26 ▲3.63 |
/wp-admin/options.php?page=plugin_delete_me_confirmation | 3.32 | 29.33 |
Delete Me /wp-admin/options-general.php?page=plugin_delete_me_settings | 3.55 | 33.07 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
plugin_delete_me |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Delete Me
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.32 ▼1.06 | 1.89 ▼0.07 | 43.72 ▼1.75 |
Dashboard /wp-admin | 2,210 ▲27 | 5.79 ▲0.67 | 94.08 ▼13.10 | 38.36 ▼5.76 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.16 ▲0.16 | 38.69 ▲3.15 | 34.66 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 18.59 ▲1.08 | 690.45 ▲72.39 | 54.60 ▲0.08 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.18 ▼0.05 | 97.70 ▼1.23 | 43.63 ▼0.24 |
/wp-admin/options.php?page=plugin_delete_me_confirmation | 765 | 1.99 | 25.32 | 22.77 |
Delete Me /wp-admin/options-general.php?page=plugin_delete_me_settings | 1,311 | 2.06 | 23.56 | 34.20 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 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
5 plugin tags: delete, unsubscribe, gdpr, user management, multisite
delete-me/delete-me.php 92% from 13 tests
The main PHP script in "Delete Me" version 3.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 327 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin890 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 343 | 153 | 890 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.46 |
▷ 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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 65.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 34.62% |
Functions | 1 | |
▷ Named functions | 1 | 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
There were not PNG files found in your plugin