Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.00ms] Passed 4 tests
Server-side resources used by DB Falling Snowflakes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.19 ▼0.95 |
Dashboard /wp-admin | 3.37 ▲0.02 | 50.64 ▼14.51 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.77 ▼2.30 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 89.93 ▼14.22 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.92 ▲1.39 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 19 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
db_snow_color_3 |
db_snow_min_size |
widget_recent-comments |
db_snow_start_month |
db_snow_start_day |
db_snow_color_5 |
widget_recent-posts |
db_snow_finish_day |
... |
Browser metrics Passed 4 tests
DB Falling Snowflakes: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲194 | 13.46 ▼0.98 | 1.74 ▼0.39 | 46.52 ▼1.64 |
Dashboard /wp-admin | 2,349 ▲161 | 5.14 ▲0.24 | 113.90 ▲7.19 | 40.64 ▼6.93 |
Posts /wp-admin/edit.php | 2,234 ▲145 | 2.33 ▲0.28 | 39.63 ▼0.05 | 34.55 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 23.33 ▲0.26 | 693.93 ▲87.22 | 37.21 ▼16.89 |
Media Library /wp-admin/upload.php | 1,532 ▲144 | 4.53 ▲0.30 | 102.39 ▼0.75 | 44.25 ▼2.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 19 options in the database
- db_snow_color_1
- db_snow_max_size
- db_snow_color_3
- db_snow_finish_month
- can_compress_scripts
- db_snow_start_month
- widget_recent-comments
- theysaidso_admin_options
- db_snow_speed
- db_upgraded
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: snowflakes, falling snow, its snowing, snow effect, snow...
db-falling-snowflakes/bisteinoff-snow.php 85% from 13 tests
The entry point to "DB Falling Snowflakes" version 1.5.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("db-falling-snowflakes.php" instead of "bisteinoff-snow.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 198 characters long)
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
Good job! No executable or dangerous file extensions detected635 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 30 | 393 |
CSS | 1 | 19 | 1 | 121 |
JavaScript | 2 | 22 | 4 | 85 |
SVG | 1 | 0 | 1 | 36 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
No PNG images were found in this plugin