Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.22ms] Passed 4 tests
Server-side resources used by Snow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 28.16 ▼16.45 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.08 ▼5.56 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.29 ▲3.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 104.86 ▲3.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.96 ▼2.38 |
Technical /wp-admin/admin.php?page=snow_technical | 3.30 | 34.49 |
Advanced /wp-admin/admin.php?page=snow_advanced | 3.22 | 34.08 |
General /wp-admin/admin.php?page=snow | 3.22 | 32.88 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Snow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,079 ▲322 | 13.98 ▼0.61 | 20.09 ▲17.89 | 53.60 ▲7.20 |
Dashboard /wp-admin | 2,239 ▲68 | 5.07 ▼0.79 | 110.04 ▼12.91 | 54.99 ▲7.60 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.99 ▲0.00 | 41.23 ▲6.18 | 42.00 ▲6.14 |
Add New Post /wp-admin/post-new.php | 1,564 ▲42 | 18.50 ▼4.55 | 613.10 ▼62.52 | 58.00 ▲9.47 |
Media Library /wp-admin/upload.php | 1,421 ▲39 | 4.24 ▲0.07 | 96.87 ▲0.20 | 44.16 ▲0.74 |
Technical /wp-admin/admin.php?page=snow_technical | 1,177 | 3.43 | 48.07 | 28.57 |
Advanced /wp-admin/admin.php?page=snow_advanced | 1,148 | 3.51 | 49.43 | 35.63 |
General /wp-admin/admin.php?page=snow | 1,402 | 4.04 | 56.45 | 31.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- 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
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=snow
- > Notice in wp-content/plugins/snow/inc/header.php+18
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/snow/inc/header.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/snow/inc/footer.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: snow, winter, weather, christmas, snowy...
snow/snow.php 85% from 13 tests
The entry point to "Snow" version 2.0.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("")
- Domain Path: Please prefix the domain path with a forward slash character ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,627 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 213 | 686 | 1,123 |
JavaScript | 5 | 37 | 22 | 379 |
CSS | 2 | 0 | 0 | 125 |
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.63 |
Average class complexity | 134.00 |
▷ Minimum class complexity | 134.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.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 | 35 | |
▷ Static methods | 9 | 25.71% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 2 | 5.71% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 11 | 55.00% |
▷ Anonymous functions | 9 | 45.00% |
Constants | 11 | |
▷ Global constants | 2 | 18.18% |
▷ Class constants | 9 | 81.82% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin