Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.20ms] Passed 4 tests
Server-side resources used by Delete Multiple Themes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.63 ▲6.12 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.13 ▼21.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.10 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.57 ▼9.52 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.65 ▼2.44 |
Delete Themes /wp-admin/themes.php?page=delete-themes | 3.23 | 29.67 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Delete Multiple Themes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.63 ▼0.74 | 1.74 ▼0.03 | 38.22 ▼6.43 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▼0.01 | 96.01 ▼23.95 | 37.32 ▼6.93 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 42.86 ▲2.87 | 36.56 ▲3.53 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.24 ▼5.00 | 626.48 ▼54.80 | 56.00 ▼2.32 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.25 ▲0.03 | 102.49 ▲2.45 | 43.33 ▼2.96 |
Delete Themes /wp-admin/themes.php?page=delete-themes | 1,071 | 2.02 | 24.63 | 32.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=delete-themes
- > Notice in wp-content/plugins/delete-multiple-themes/delete-multiple-themes.php+105
Undefined variable: parents
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/delete-multiple-themes/templates/updates_form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/delete-multiple-themes/delete-multiple-themes.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/themes.php?page=delete-themes
- > Network (severe)
http://app.getresponse.com/view_webform.js?wid=665621&mg_param1=1&u=SLt - 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 important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: themes delete, themes managment, multiple themes delete
delete-multiple-themes/delete-multiple-themes.php Passed 13 tests
The main PHP file in "Delete Multiple Themes" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
36 characters long description:
Delete Multiple Themes in one click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected169 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 62 | 13 | 169 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/happyplugins-logo.png | 12.03KB | 5.44KB | ▼ 54.79% |