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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.17ms] Passed 4 tests
An overview of server-side resources used by Christmas Snow Fall
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.01 ▼4.28 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.29 ▼15.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 56.17 ▲4.92 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.14 ▼13.39 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.71 ▲0.21 |
Christmas Snow Fall Options /wp-admin/options-general.php?page=snow-fall-settings | 3.22 | 36.15 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Christmas Snow Fall
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲158 | 13.83 ▼0.98 | 4.82 ▲3.00 | 42.45 ▼0.39 |
Dashboard /wp-admin | 2,226 ▲44 | 5.06 ▼0.81 | 106.41 ▼3.63 | 41.62 ▲1.63 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.32 ▲0.30 | 45.50 ▲10.80 | 34.94 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.17 ▼0.14 | 678.89 ▲5.87 | 37.32 ▼30.83 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.48 ▲0.28 | 101.45 ▼12.68 | 46.89 ▼1.57 |
Christmas Snow Fall Options /wp-admin/options-general.php?page=snow-fall-settings | 965 | 2.54 | 47.57 | 28.75 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
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
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/christmas-snow-fall/christmas_snow_fall_main.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Contributors: Contributors not specified
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add an image for screenshot #1 (Demo Screenshots.)
christmas-snow-fall/christmas_snow_fall_main.php 85% from 13 tests
The main PHP file in "Christmas Snow Fall" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 245 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("christmas-snow-fall.php" instead of "christmas_snow_fall_main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected381 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 14 | 17 | 280 |
PHP | 1 | 75 | 18 | 101 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
8 PNG files occupy 0.28MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot-1.png | 140.61KB | 45.94KB | ▼ 67.33% |
img/snowflake.png | 1.39KB | 1.24KB | ▼ 10.96% |
screenshot-3.png | 47.79KB | 15.17KB | ▼ 68.26% |
img/snowflake_2.png | 1.26KB | 1.13KB | ▼ 10.58% |
img/snowflake_1.png | 1.10KB | 1.05KB | ▼ 4.53% |