Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼0.06ms] Passed 4 tests
This is a short check of server-side resources used by Screen Options and Help Show Customize
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 43.43 ▲0.84 |
Dashboard /wp-admin | 3.49 ▲0.19 | 45.59 ▼4.64 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 51.16 ▲4.19 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 91.15 ▼0.64 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.44 ▲4.72 |
Screen Options and Help Show Customize /wp-admin/options-general.php?page=sohc | 3.46 | 34.90 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Screen Options and Help Show Customize
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.66 ▼1.10 | 1.77 ▲0.01 | 42.35 ▼4.79 |
Dashboard /wp-admin | 2,213 ▲31 | 5.85 ▲0.95 | 100.39 ▼32.95 | 39.93 ▼9.26 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▲0.02 | 40.29 ▲4.08 | 35.81 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,550 ▲25 | 18.38 ▼4.79 | 590.04 ▼95.45 | 73.13 ▲20.21 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.22 ▲0.04 | 95.05 ▼10.71 | 39.98 ▼4.90 |
Screen Options and Help Show Customize /wp-admin/options-general.php?page=sohc | 2,854 | 1.87 | 27.31 | 33.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/screen-options-and-help-show-customize/screen-options-and-help-show-customize.php:47
- > PHP Notice
Trying to get property 'ClassData' of non-object in wp-content/plugins/screen-options-and-help-show-customize/inc/setting_other.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function get_all_user_roles() on null in wp-content/plugins/screen-options-and-help-show-customize/inc/setting.php:5
- > PHP Notice
Undefined variable: Sohc in wp-content/plugins/screen-options-and-help-show-customize/inc/information.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function is_donated() on null in wp-content/plugins/screen-options-and-help-show-customize/inc/information.php:1
- > PHP Notice
Trying to get property 'ClassConfig' of non-object in wp-content/plugins/screen-options-and-help-show-customize/inc/setting.php on line 5
- > PHP Notice
Trying to get property 'ClassInfo' of non-object in wp-content/plugins/screen-options-and-help-show-customize/inc/information.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function get_data_others() on null in wp-content/plugins/screen-options-and-help-show-customize/inc/setting_other.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Tags: You are using too many tags: 16 tag instead of maximum 10
- Screenshots: Screenshot #1 (Settings Interface) image missing
screen-options-and-help-show-customize/screen-options-and-help-show-customize.php 92% from 13 tests
The principal PHP file in "Screen Options and Help Show Customize" v. 1.3.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,523 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 688 | 26 | 1,160 |
PO File | 2 | 75 | 82 | 203 |
CSS | 2 | 10 | 0 | 142 |
JavaScript | 1 | 6 | 0 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 35.40 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 59 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 25.26KB | 10.10KB | ▼ 60.03% |