Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/cherkasy-weather/ck-weather.php+61
simplexml_load_file(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.71ms] Passed 4 tests
This is a short check of server-side resources used by Cherkasy Weather
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 46.00 ▲1.06 |
Dashboard /wp-admin | 3.40 ▲0.10 | 190.68 ▲141.51 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.64 ▲0.70 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.12 ▼16.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.27 ▲0.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ck_weather |
New WordPress options |
---|
ck_weather_db_version |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cherkasy Weather
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.27 ▼1.10 | 2.00 ▲0.09 | 46.15 ▼1.55 |
Dashboard /wp-admin | 2,206 ▲18 | 5.80 ▼0.05 | 102.20 ▼17.57 | 39.65 ▼4.70 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.01 ▲0.00 | 40.23 ▲2.57 | 37.58 ▲2.48 |
Add New Post /wp-admin/post-new.php | 1,520 ▼0 | 23.40 ▲0.37 | 660.33 ▼43.22 | 53.82 ▼5.27 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.24 ▼0.10 | 109.26 ▲4.68 | 44.91 ▲0.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_ck_weather
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- ck_weather_db_version
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cherkasy-weather/ck-weather.php:16
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (This screen shot description corresponds to screenshot-1.jpg.) image required
cherkasy-weather/ck-weather.php 92% from 13 tests
The main file in "Cherkasy Weather" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cherkasy-weather.php" instead of "ck-weather.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 plugin86 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 26 | 82 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 6 | |
▷ Named functions | 6 | 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
No PNG images were found in this plugin