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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▲0.04ms] Passed 4 tests
A check of server-side resources used by WP Snow - Best Snow Effect Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 43.80 ▼2.57 |
Dashboard /wp-admin | 3.52 ▲0.21 | 48.56 ▼0.99 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.43 ▲1.25 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 99.60 ▲2.46 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 41.61 ▲7.42 |
WP Snow /wp-admin/options-general.php?page=wp-snow | 3.45 | 37.34 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Snow - Best Snow Effect Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,011 ▲265 | 13.76 ▼0.53 | 10.88 ▲8.48 | 107.17 ▲59.35 |
Dashboard /wp-admin | 2,207 ▲16 | 4.85 ▼1.01 | 95.15 ▼8.62 | 38.03 ▼2.14 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.04 ▲0.02 | 38.88 ▼1.68 | 34.91 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 18.38 ▼4.89 | 602.23 ▼81.00 | 63.99 ▲8.28 |
Media Library /wp-admin/upload.php | 1,383 ▼5 | 4.16 ▼0.08 | 93.18 ▼17.02 | 41.20 ▼4.99 |
WP Snow /wp-admin/options-general.php?page=wp-snow | 7,963 | 2.02 | 25.32 | 40.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-snow/core/partials/settings.php:83
- > PHP Warning
Use of undefined constant WPSNOW_NAME - assumed 'WPSNOW_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-snow/core/partials/settings.php on line 81
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in wp-snow/assets to your readme.txt
wp-snow/wp-snow.php Passed 13 tests
This is the main PHP file of "WP Snow - Best Snow Effect Plugin" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
46 characters long description:
The best (snow)flakes animation for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin479 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 101 | 60 | 408 |
JavaScript | 2 | 19 | 0 | 71 |
PHP code Passed 2 tests
This is a very shot review 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.63 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin