Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+96
Undefined index: used_res_admin
Server metrics [RAM: ▼1.84MB] [CPU: ▼55.78ms] Passed 4 tests
Analyzing server-side resources used by WP Tuning
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.37 ▼36.71 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.19 ▼47.48 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 7.06 ▼47.34 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.29 ▼91.57 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.31 ▼30.99 |
WP Tuning /wp-admin/options-general.php?page=wp-tuning-options | 2.17 | 6.50 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Tuning
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▲0.05 | 1.63 ▼0.27 | 46.20 ▼1.49 |
Dashboard /wp-admin | 2,202 ▲22 | 5.57 ▼0.02 | 89.21 ▲3.39 | 38.90 ▼2.93 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.01 | 34.03 ▼8.27 | 37.10 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.89 ▼0.18 | 612.56 ▼42.15 | 47.50 ▼4.95 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.00 | 98.67 ▼0.42 | 42.34 ▼1.19 |
WP Tuning /wp-admin/options-general.php?page=wp-tuning-options | 961 | 2.13 | 23.81 | 29.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+96
Undefined index: used_res_admin
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+96
Undefined index: used_res_admin
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+99
Undefined index: used_res_theme
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+104
Undefined index: feeds_disable
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+114
Undefined index: emoji_disable
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+127
Undefined index: locations_theme_uri
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+130
Undefined index: insert_analytics_to_footer
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_rsd_link
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_wp_generator
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_feed_links
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_feed_links_extra
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_index_rel_link
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_wlwmanifest_link
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_parent_post_rel_link
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_start_post_rel_link
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_adjacent_posts_rel_link
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_adjacent_posts_rel_link_wp_head
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+165
Undefined index: header_cleanup_wp_shortlink_wp_head
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+232
Undefined variable: section
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+232
Trying to access array offset on value of type null
- 16 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-tuning-options
- > Notice in wp-content/plugins/wp-tuning/wp-tuning.php+279
Undefined index: value
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-tuning/wp-tuning.php
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Contributors: The plugin contributors field is missing
- Screenshots: Screenshot #1 (Plugin Settings) image missing
wp-tuning/wp-tuning.php Passed 13 tests
The main file in "WP Tuning" v. 2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
34 characters long description:
Quick and usefull wordpress tunes!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin266 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 67 | 24 | 266 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 30.18KB | 14.67KB | ▼ 51.39% |