Benchmarks
Plugin footprint 82% 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.11MB] [CPU: ▼9.00ms] 75% from 4 tests
This is a short check of server-side resources used by Weather Effect - Christmas, Santa, Snow Falling, Snowflake Effect
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 634.44ms on /wp-admin/admin.php?page=we-featured-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 31.35 ▼10.85 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.94 ▼1.43 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 46.40 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 80.07 ▼17.85 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 33.16 ▼5.86 |
More Free Plugins /wp-admin/admin.php?page=we-featured-plugins | 3.51 | 634.44 |
Weather Effect /wp-admin/admin.php?page=weather-effects-setting | 3.45 | 34.89 |
Server storage [IO: ▲2.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 103 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
weather_effect_settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Weather Effect - Christmas, Santa, Snow Falling, Snowflake Effect: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲170 | 13.49 ▼0.69 | 8.27 ▲6.34 | 42.25 ▼2.07 |
Dashboard /wp-admin | 2,222 ▲45 | 5.49 ▼0.17 | 88.69 ▲4.26 | 38.86 ▼6.22 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.03 ▲0.00 | 32.53 ▼1.40 | 34.60 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.08 ▲0.11 | 658.64 ▼22.32 | 52.14 ▼1.29 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.19 ▼0.07 | 96.13 ▼1.44 | 42.03 ▼1.41 |
More Free Plugins /wp-admin/admin.php?page=we-featured-plugins | 3,975 | 1.16 | 28.62 | 82.97 |
Weather Effect /wp-admin/admin.php?page=weather-effects-setting | 9,671 | 3.20 | 83.21 | 115.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- weather_effect_settings
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 items
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/weather-effect/settings/rainy-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/weather-effect/featured-plugins/featured-plugins.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/weather-effect/settings/spring-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/weather-effect/output.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/weather-effect/settings/christmas-snow-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/weather-effect/settings/halloween-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/weather-effect/settings/autumn-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/weather-effect/weather-effect.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weather-effect/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/weather-effect/settings/valentine-settings.php:5
- > 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 take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=weather-effects-setting
- > Javascript (severe) in unknown
/wp-content/plugins/weather-effect/assets/js/bootstrap.js?ver=6.3.1 1794:3 Uncaught SyntaxError: Unexpected token 'else'
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: weather effect, snow falling, winter effect, christmas effect, valentine effect
weather-effect/weather-effect.php Passed 13 tests
The main PHP file in "Weather Effect - Christmas, Santa, Snow Falling, Snowflake Effect" ver. 1.4.8 adds more information about the plugin and also serves as the entry point for this plugin
30 characters long description:
This is Weather Effect Widget.
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
Good job! No executable or dangerous file extensions detected30,282 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,581 | 1,787 | 21,228 |
PHP | 14 | 149 | 212 | 4,733 |
JavaScript | 9 | 639 | 322 | 2,654 |
SVG | 2 | 0 | 0 | 973 |
PO File | 2 | 340 | 434 | 694 |
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 | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
56 compressed PNG files occupy 0.61MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/newyear/newyear_balloon5.png | 9.87KB | 9.68KB | ▼ 1.90% |
assets/images/spring/spring-leaf1.png | 21.97KB | 21.93KB | 0.20% |
assets/images/halloween/witch1.png | 2.07KB | 2.07KB | 0.00% |
assets/images/christmas/candy3.png | 13.28KB | 13.14KB | ▼ 0.99% |
assets/images/christmas/ribbon1.png | 3.99KB | 4.19KB | 0.00% |