Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.71ms] Passed 4 tests
This is a short check of server-side resources used by Improved Let It Snow!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 46.45 ▼1.06 |
Dashboard /wp-admin | 3.38 ▲0.07 | 51.78 ▼2.00 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.62 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.24 ▼8.28 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 43.83 ▲6.03 |
Improved Let It Snow! /wp-admin/options-general.php?page=improved_snow_options | 3.27 | 33.13 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 21 new options
New WordPress options |
---|
theysaidso_admin_options |
useTwinkleEffect |
flakeBottom |
snowStick |
followMouse |
flakesMax |
can_compress_scripts |
db_upgraded |
freezeOnBlur |
animationInterval |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Improved Let It Snow!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,220 ▲485 | 13.30 ▼0.93 | 17.07 ▲15.14 | 76.27 ▲30.08 |
Dashboard /wp-admin | 2,210 ▲22 | 4.82 ▼1.07 | 106.30 ▲3.01 | 40.09 ▼2.00 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▲0.02 | 38.69 ▼8.18 | 34.25 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.08 ▼0.07 | 725.46 ▲78.32 | 82.41 ▲27.56 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.27 ▲0.12 | 105.83 ▼17.56 | 46.05 ▼3.57 |
Improved Let It Snow! /wp-admin/options-general.php?page=improved_snow_options | 1,152 | 2.05 | 23.81 | 28.56 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 21 options
- theysaidso_admin_options
- usePositionFixed
- flakesMaxActive
- flakeBottom
- db_upgraded
- widget_theysaidso_widget
- flakesMax
- snowCharacter
- widget_recent-comments
- freezeOnBlur
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=improved_snow_options
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=improved_snow_options
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=improved_snow_options
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=improved_snow_options
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/improved-let-it-snow/snow.php:204
- > PHP Fatal error
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 Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: flakes, xmas, christmas, aen, snow
improved-let-it-snow/snow.php 85% from 13 tests
The primary PHP file in "Improved Let It Snow!" version 3.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 215 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("improved-let-it-snow.php" instead of "snow.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 detected225 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 13 | 224 |
JavaScript | 1 | 1 | 8 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 6 | |
▷ Named functions | 6 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin