Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.60ms] Passed 4 tests
An overview of server-side resources used by Splash Header
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 42.47 ▲1.87 |
Dashboard /wp-admin | 3.51 ▲0.17 | 47.96 ▼12.14 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.33 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 97.11 ▼6.77 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.90 ▲7.58 |
Design Settings /wp-admin/admin.php?page=splash-header&tab=design | 3.45 | 35.19 |
General /wp-admin/admin.php?page=splash-header | 3.33 | 35.32 |
Advanced Settings /wp-admin/admin.php?page=splash-header&tab=advancedsettings | 3.39 | 34.18 |
Plugin Settings /wp-admin/admin.php?page=splash-header&tab=homepage | 3.39 | 38.48 |
Server storage [IO: ▲3.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 73 new files
Database: no new tables, 110 new options
New WordPress options |
---|
sh_font_icon_6 |
sh_time_font_weight |
sh_title_text_align |
sh_title_font_style |
sh_link_url_3 |
sh_link_title_1 |
sh_link_title_color_4 |
sh_title |
sh_show_links_2 |
sh_link_open_2 |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Splash Header
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲126 | 14.27 ▼0.05 | 1.89 ▲0.17 | 38.19 ▼6.00 |
Dashboard /wp-admin | 2,273 ▲95 | 5.54 ▼0.18 | 99.43 ▼15.75 | 87.48 ▲43.65 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 1.98 ▲0.04 | 37.29 ▼5.81 | 33.43 ▼3.86 |
Add New Post /wp-admin/post-new.php | 1,717 ▲191 | 24.57 ▲1.70 | 705.47 ▲56.21 | 60.54 ▲3.15 |
Media Library /wp-admin/upload.php | 1,434 ▲31 | 4.27 ▼0.00 | 99.23 ▼3.01 | 76.33 ▲30.97 |
Design Settings /wp-admin/admin.php?page=splash-header&tab=design | 3,929 | 10.77 | 256.01 | 104.00 |
General /wp-admin/admin.php?page=splash-header | 1,131 | 8.83 | 177.50 | 54.75 |
Advanced Settings /wp-admin/admin.php?page=splash-header&tab=advancedsettings | 2,091 | 9.30 | 162.64 | 58.82 |
Plugin Settings /wp-admin/admin.php?page=splash-header&tab=homepage | 1,885 | 8.85 | 133.45 | 57.17 |
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
- The uninstall procedure has failed, leaving 110 options in the database
- sh_link_title_color_3
- sh_link_text_align_4
- sh_date_position
- sh_font_icon_5
- sh_link_font_decoration_6
- sh_date_font_style
- theysaidso_admin_options
- sh_title_color
- sh_link_text_align_2
- sh_link_url_2
- ...
Smoke tests 50% from 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 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
Almost there! Just fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/splash-header/splash-header-admin-form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/splash-header/includes/splash-header-constants.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/splash-header/tabs/splash-header-advanced-tab.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/splash-header/tabs/splash-header-design-tab.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/splash-header/tabs/splash-header-settings-tab.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/splash-header/tabs/splash-header-general-tab.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=splash-header&tab=homepage
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=splash-header&tab=homepage
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5, #6 in splash-header/assets to your readme.txt
splash-header/splash-header-admin.php 92% from 13 tests
The primary PHP file in "Splash Header" version 2.1.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("splash-header.php" instead of "splash-header-admin.php")
Code Analysis Passed 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
No dangerous file extensions were detected9,609 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 46 | 20 | 4,813 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 12 | 790 | 226 | 1,522 |
PO File | 2 | 236 | 240 | 503 |
JavaScript | 2 | 20 | 3 | 80 |
XML | 2 | 0 | 0 | 19 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 46.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 46.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/no-icon.png | 1.60KB | 0.77KB | ▼ 52.19% |
includes/assets/img/sociabatt.png | 32.94KB | 6.46KB | ▼ 80.40% |
includes/assets/no-icon.png | 1.60KB | 0.77KB | ▼ 52.19% |
includes/assets/img/survey.png | 9.68KB | 8.51KB | ▼ 12.10% |
assets/img/sociabatt.png | 32.94KB | 6.46KB | ▼ 80.40% |