Benchmarks
Plugin footprint 83% 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.00MB] [CPU: ▼0.30ms] Passed 4 tests
Server-side resources used by Smooth Snow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.58 ▼5.21 |
Dashboard /wp-admin | 3.31 ▲0.01 | 55.14 ▲4.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 56.72 ▲7.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.76 ▲0.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.74 ▼1.00 |
Server storage [IO: ▲1.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smooth Snow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲70 | 13.20 ▼1.49 | 1.86 ▼0.34 | 41.23 ▲1.51 |
Dashboard /wp-admin | 2,206 ▲24 | 5.83 ▼0.02 | 99.67 ▼5.66 | 39.54 ▼2.01 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▲0.06 | 39.91 ▼4.16 | 31.38 ▼6.83 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.08 ▲5.61 | 652.33 ▼39.72 | 54.20 ▲2.90 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.19 ▲0.06 | 104.98 ▼3.41 | 44.35 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/smooth-snow/index.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smooth-snow/smooth-snow.php:30
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (Snow Screenshot)
smooth-snow/smooth-snow.php 92% from 13 tests
The principal PHP file in "Smooth Snow" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin101 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 12 | 0 | 81 |
PHP | 2 | 6 | 23 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 1.26MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/snow-small-1ecd03b1fce08c24e064ff8c0a72c519-min.png | 1.15KB | 1.16KB | 0.00% |
assets/screenshot-1.png | 1,270.38KB | 398.46KB | ▼ 68.63% |
images/snow-large-075d267ecbc42e3564c8ed43516dd557-min.png | 0.72KB | 0.73KB | 0.00% |
assets/icon-128x128.png | 13.76KB | 7.07KB | ▼ 48.63% |
images/snow-medium-0b8a5e0732315b68e1f54185be7a1ad9-min.png | 1.78KB | 1.79KB | 0.00% |