Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.45ms] Passed 4 tests
An overview of server-side resources used by Christmas Snow 3D - Snowfalling, Snowflake Effect and Christmas mood
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.71 ▼3.94 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.56 ▼1.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.02 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.88 ▼6.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.26 ▼1.80 |
Server storage [IO: ▲1.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Christmas Snow 3D - Snowfalling, Snowflake Effect and Christmas mood: 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 / | 2,807 ▲61 | 18.70 ▲4.14 | 90.54 ▲89.03 | 41.89 ▲0.66 |
Dashboard /wp-admin | 2,203 ▲15 | 5.79 ▼0.11 | 95.61 ▼9.53 | 35.70 ▼4.26 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.00 | 35.75 ▼0.46 | 33.90 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 22.77 ▼0.44 | 623.82 ▼38.31 | 52.66 ▲1.95 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▼0.15 | 106.11 ▲9.81 | 45.88 ▲2.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function ChristmasSnow3d\\add_action() in wp-content/plugins/christmas-snow-3d/christmas-snow-3d.php:37
- > 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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: christmas, snow falling, snow, winter, snowflakes
christmas-snow-3d/christmas-snow-3d.php 92% from 13 tests
Analyzing the main PHP file in "Christmas Snow 3D - Snowfalling, Snowflake Effect and Christmas mood" version 1.0.1
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("5.4" instead of "5.7")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin70 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 23 | 0 | 41 |
PHP | 2 | 5 | 31 | 18 |
JSON | 1 | 0 | 0 | 10 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview 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.25 |
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 | 1 | |
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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 1.19MB with 0.79MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 116.60KB | 42.10KB | ▼ 63.89% |
assets/banner-772x250.png | 244.17KB | 80.53KB | ▼ 67.02% |
assets/banner-1544x500.png | 854.86KB | 276.71KB | ▼ 67.63% |