Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲4.97MB] [CPU: ▲22.30ms] Passed 4 tests
Server-side resources used by Delete All Comments of wordpress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.79 ▲5.33 | 61.08 ▲21.90 |
Dashboard /wp-admin | 8.81 ▲5.51 | 69.51 ▲20.26 |
Posts /wp-admin/edit.php | 8.81 ▲5.46 | 75.02 ▲28.31 |
Add New Post /wp-admin/post-new.php | 9.47 ▲3.58 | 105.45 ▲18.73 |
Media Library /wp-admin/upload.php | 8.81 ▲5.58 | 68.58 ▲35.78 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.81 | 56.34 |
Delete Comments /wp-admin/tools.php?page=delete_comment | 8.83 | 55.83 |
Server storage [IO: ▲3.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 181 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
fs_accounts |
widget_theysaidso_widget |
fs_debug_mode |
fs_gdpr |
fs_active_plugins |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Delete All Comments of wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲83 | 14.72 ▲0.32 | 1.77 ▲0.06 | 28.40 ▼16.16 |
Dashboard /wp-admin | 2,216 ▲38 | 5.74 ▲0.08 | 103.32 ▼11.76 | 49.50 ▲4.89 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.08 ▲0.08 | 42.68 ▲1.97 | 36.89 ▼0.06 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 22.22 ▼1.21 | 703.75 ▲40.80 | 52.95 ▼7.05 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.31 ▲0.11 | 108.15 ▲7.86 | 47.68 ▲5.58 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,067 | 1.78 | 27.40 | 30.17 |
Delete Comments /wp-admin/tools.php?page=delete_comment | 1,034 | 1.76 | 28.56 | 43.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/delete-all-comments-of-website/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 10 options in the database
- fs_gdpr
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- fs_accounts
- widget_recent-comments
- fs_active_plugins
- widget_theysaidso_widget
- db_upgraded
- fs_debug_mode
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: remove all, comment, comments, delete all comment, delete all...
delete-all-comments-of-website/delete-all-comments-of-wordpress-website.php 92% from 13 tests
"Delete All Comments of wordpress" version 5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("delete-all-comments-of-website.php" instead of "delete-all-comments-of-wordpress-website.php")
Code Analysis 97% from 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
There were no executable files found in this plugin32,872 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 7,366 | 16,091 | 30,742 |
JavaScript | 5 | 276 | 263 | 1,030 |
CSS | 12 | 69 | 18 | 859 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 90.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 2 | 4.44% |
▷ Concrete classes | 43 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 1,132 | |
▷ Static methods | 173 | 15.28% |
▷ Public methods | 792 | 69.96% |
▷ Protected methods | 15 | 1.33% |
▷ Private methods | 325 | 28.71% |
Functions | 98 | |
▷ Named functions | 98 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 124 | |
▷ Global constants | 99 | 79.84% |
▷ Class constants | 25 | 20.16% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 0.15MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/delete-all-comments-of-website.png | 9.16KB | 5.26KB | ▼ 42.58% |
support/4.png | 11.42KB | 5.77KB | ▼ 49.50% |
support/9.png | 6.14KB | 3.48KB | ▼ 43.40% |
support/7.png | 11.07KB | 5.46KB | ▼ 50.68% |