Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.31ms] Passed 4 tests
A check of server-side resources used by Snowflakes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.54 ▲1.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.05 ▼0.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.53 ▼0.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 98.04 ▲3.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.35 ▲0.57 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Snowflakes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,289 ▲528 | 15.49 ▲1.14 | 54.71 ▲52.82 | 64.33 ▲21.84 |
Dashboard /wp-admin | 2,192 ▲12 | 5.51 ▼0.17 | 82.52 ▼6.15 | 38.77 ▼2.38 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▼0.01 | 41.58 ▲4.82 | 37.97 ▼5.27 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 18.13 ▼5.00 | 620.52 ▼4.53 | 67.93 ▲9.28 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.01 | 100.00 ▼7.61 | 44.43 ▲0.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Screenshots: Add a description for screenshot #1 in snowflakes/assets to your readme.txt
snowflakes/snowflakes.php Passed 13 tests
The principal PHP file in "Snowflakes" v. 1.1 is loaded by WordPress automatically on each request
51 characters long description:
Creates a falling snow graphic across your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin98 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 4 | 32 | 63 |
PHP | 2 | 7 | 50 | 25 |
CSS | 1 | 2 | 10 | 10 |
PHP code Passed 2 tests
This is a very shot review 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.10 |
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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
25 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/snowflake-7.png | 3.89KB | 2.58KB | ▼ 33.68% |
assets/images/snowflake-22.png | 3.76KB | 2.49KB | ▼ 33.83% |
assets/images/snowflake-10.png | 3.76KB | 2.51KB | ▼ 33.32% |
assets/images/snowflake-1.png | 4.01KB | 2.63KB | ▼ 34.40% |
assets/images/snowflake-15.png | 3.95KB | 2.59KB | ▼ 34.43% |