Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.62ms] Passed 4 tests
A check of server-side resources used by Snow Time
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 22.78 ▼15.24 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.84 ▼17.30 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.45 ▼1.23 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.78 ▼4.71 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.70 ▲4.26 |
Snow Time /wp-admin/options-general.php?page=snow_time_settings | 3.19 | 28.33 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
snowt_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Snow Time: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,083 ▲337 | 14.25 ▼0.18 | 9.21 ▲7.51 | 55.58 ▲16.40 |
Dashboard /wp-admin | 2,239 ▲50 | 5.31 ▼0.55 | 107.24 ▼14.88 | 39.24 ▼10.78 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.43 ▲0.37 | 41.60 ▲4.60 | 37.12 ▲2.08 |
Add New Post /wp-admin/post-new.php | 1,444 ▼84 | 22.52 ▼0.65 | 531.18 ▼140.97 | 28.65 ▼22.67 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.63 ▲0.45 | 100.72 ▼0.03 | 37.18 ▼9.18 |
Snow Time /wp-admin/options-general.php?page=snow_time_settings | 1,224 | 2.41 | 49.63 | 60.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- snowt_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=snow_time_settings
- > Notice in wp-content/plugins/snow-time/index.php+121
Undefined index: snowt_character_more
- > GET request to /wp-admin/options-general.php?page=snow_time_settings
- > Notice in wp-content/plugins/snow-time/index.php+111
Undefined index: snowt_color
- > GET request to /wp-admin/options-general.php?page=snow_time_settings
- > Notice in wp-content/plugins/snow-time/index.php+96
Undefined index: exclude_pages
SRP 50% from 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
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/snow-time/index.php:9
- > 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
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: snow, snowing, winter, snowpage
snow-time/index.php 92% from 13 tests
"Snow Time" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("snow-time.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin269 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 9 | 205 |
JavaScript | 5 | 6 | 15 | 38 |
CSS | 2 | 5 | 0 | 26 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
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 | 18 | |
▷ Named functions | 18 | 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
There are no PNG files in this plugin