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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.49ms] Passed 4 tests
Analyzing server-side resources used by Bollettino Neve Asiago.it
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 45.44 ▼13.52 |
Dashboard /wp-admin | 3.35 ▲0.01 | 65.24 ▼1.82 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.14 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 97.74 ▲2.88 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 42.29 ▲2.87 |
Bollettino Neve Asiago.it /wp-admin/options-general.php?page=webcloud-snow-bulletin | 3.24 | 35.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_webcloud_snow_bulletin_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Bollettino Neve Asiago.it
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.25 ▲0.10 | 1.82 ▼0.55 | 47.50 ▲0.47 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▼0.03 | 87.19 ▼14.95 | 42.32 ▲0.46 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.01 | 39.31 ▲1.31 | 35.18 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.30 ▲0.43 | 670.35 ▼27.81 | 58.41 ▲0.28 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.17 ▼0.02 | 96.97 ▼10.17 | 45.16 ▼1.15 |
Bollettino Neve Asiago.it /wp-admin/options-general.php?page=webcloud-snow-bulletin | 790 | 2.01 | 23.90 | 27.95 |
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 7 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_webcloud_snow_bulletin_widget
- theysaidso_admin_options
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
Good news, no errors were detected
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 take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Webcloud\\SnowBulletin\\add_shortcode() in wp-content/plugins/bollettino-neve-asiago-it/webcloud-snow-bulletin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function Webcloud\\SnowBulletin\\get_option() in wp-content/plugins/bollettino-neve-asiago-it/views/snow-bulletin.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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
No plugin tags provided
bollettino-neve-asiago-it/webcloud-snow-bulletin.php 92% from 13 tests
The main file in "Bollettino Neve Asiago.it" v. 1.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bollettino-neve-asiago-it.php" instead of "webcloud-snow-bulletin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin146 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 65 | 144 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin