Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.95ms] Passed 4 tests
Analyzing server-side resources used by Screen Snow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 46.43 ▲8.36 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.65 ▼2.48 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.97 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.21 ▼15.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.11 ▼9.45 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Screen Snow
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲178 | 13.24 ▼1.16 | 7.79 ▲6.08 | 51.58 ▲8.28 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▲0.95 | 121.39 ▲2.96 | 78.11 ▲35.96 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 1.99 ▼0.01 | 38.27 ▼1.37 | 34.60 ▲1.96 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 17.58 ▲0.10 | 756.02 ▲132.97 | 57.94 ▲3.88 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.22 ▲0.01 | 94.14 ▼9.91 | 74.45 ▲33.26 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/screen-snow/js/index.php
- > /wp-content/plugins/screen-snow/imgs/index.php
- > /wp-content/plugins/screen-snow/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
5 plugin tags: snow effect, snow, screen snow, site snow, christmas
screen-snow/screen-snow.php Passed 13 tests
The main file in "Screen Snow" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
67 characters long description:
Screen Snow is a plugin that add snow effect to the wordpress site.
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
Success! There were no dangerous files found in this plugin1,010 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 139 | 38 | 837 |
PHP | 7 | 12 | 22 | 162 |
CSS | 2 | 0 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/hs.png | 2.62KB | 7.54KB | 0.00% |
js/hv.png | 2.80KB | 7.32KB | 0.00% |
imgs/menuicon.png | 3.15KB | 0.78KB | ▼ 75.09% |
imgs/snow.png | 7.78KB | 3.03KB | ▼ 61.08% |