Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.17ms] Passed 4 tests
Analyzing server-side resources used by Snow Storm
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.17 ▼5.36 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.12 ▼2.46 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.86 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 92.19 ▼5.57 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.70 ▲0.72 |
Snow Storm /wp-admin/options-general.php?page=snow-storm | 3.33 | 35.00 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_recent-comments |
snowstorm_excludeMobile |
snowstorm_ratereview_scheduled |
snowstorm_flakesMaxActive |
snowstorm_snowStick |
db_upgraded |
snowstorm_useMeltEffect |
widget_recent-posts |
snowstorm_snowColor |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Snow Storm: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,284 ▲538 | 14.92 ▲0.34 | 17.94 ▲15.68 | 82.72 ▲38.29 |
Dashboard /wp-admin | 2,218 ▲30 | 5.26 ▲0.36 | 116.30 ▲0.45 | 38.96 ▼7.12 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.53 ▲0.48 | 54.78 ▲17.78 | 54.24 ▲20.04 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 23.24 ▲0.09 | 649.11 ▼30.94 | 36.56 ▼28.15 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.73 ▲0.53 | 107.64 ▲6.11 | 42.83 ▼4.01 |
Snow Storm /wp-admin/options-general.php?page=snow-storm | 1,467 | 3.14 | 63.50 | 59.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 17 options in the database
- db_upgraded
- snowstorm_snowColor
- snowstorm_excludeMobile
- snowstorm_useTwinkleEffect
- snowstorm_followMouse
- widget_recent-comments
- snowstorm_flakesMax
- theysaidso_admin_options
- snowstorm_ratereview_scheduled
- snowstorm_useMeltEffect
- ...
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 no errors were found, 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/snow-storm/views/admin/metaboxes/settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: christmas, snow storm, falling snow, snow, snow flakes...
snow-storm/snow-storm.php Passed 13 tests
The primary PHP file in "Snow Storm" version 1.4.5 is used by WordPress to initiate all plugin functionality
94 characters long description:
Display falling snow flakes on the front of your WordPress website for a festive presentation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected541 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 74 | 16 | 423 |
PO File | 1 | 29 | 35 | 79 |
JavaScript | 3 | 3 | 15 | 35 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/newsletters.png | 14.32KB | 6.31KB | ▼ 55.95% |