Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▲1,096.65ms] 50% from 4 tests
A check of server-side resources used by WP Awesome City Weather Report
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 1,275.94ms on /wp-admin/options-general.php?page=wp-awesome-city-weather-report-recommended-plugins)
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 1,096.65ms on /wp-admin/options-general.php?page=wp-awesome-city-weather-report-recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 666.72 ▲622.93 |
Dashboard /wp-admin | 3.60 ▲0.30 | 1,538.70 ▲1,491.86 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 1,290.63 ▲1,241.37 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 1,381.05 ▲1,282.24 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 1,272.25 ▲1,240.06 |
Recommended /wp-admin/options-general.php?page=wp-awesome-city-weather-report-recommended-plugins | 3.41 | 1,275.94 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 14 new options
New WordPress options |
---|
can_compress_scripts |
widget_wp_awesome_city_weather_report_widget |
jltctwr_sheet_promo_data_hash |
jltctwr_notice_subscribe |
wp_awesome_city_weather_report_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
jltctwr_activation_time |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Awesome City Weather Report
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲168 | 13.30 ▼1.14 | 1.81 ▼0.28 | 38.46 ▼3.06 |
Dashboard /wp-admin | 2,344 ▲156 | 5.90 ▲1.02 | 104.89 ▼6.98 | 40.23 ▼8.00 |
Posts /wp-admin/edit.php | 2,182 ▲93 | 2.18 ▲0.12 | 36.82 ▼4.56 | 35.40 ▼2.99 |
Add New Post /wp-admin/post-new.php | 1,626 ▲93 | 23.75 ▲0.65 | 613.95 ▼8.73 | 58.31 ▼0.07 |
Media Library /wp-admin/upload.php | 1,481 ▲99 | 4.23 ▲0.04 | 96.86 ▼6.87 | 42.66 ▼2.10 |
Recommended /wp-admin/options-general.php?page=wp-awesome-city-weather-report-recommended-plugins | 1,256 | 1.84 | 28.17 | 31.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 14 options
- widget_recent-comments
- jltctwr_sheet_promo_data_hash
- widget_theysaidso_widget
- jltctwr_notice_subscribe
- jltctwr_notice_what_we_collect
- jltctwr_sheet_promo_data
- widget_recent-posts
- theysaidso_admin_options
- wp_awesome_city_weather_report_version
- jltctwr_activation_time
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 fix the following
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'JLTCTWR\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/Notifications/What_We_Collect.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTCTWR\\Libs\\Upgrader' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/Upgrade_Plugin.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-awesome-city-weather-report/wp-awesome-city-weather-report.php:21
- > PHP Fatal error
Uncaught Error: Class 'JLTCTWR\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTCTWR\\Libs\\Recommended' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/Recommended_Plugins.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/City_Weather_Report.php:6
- > PHP Fatal error
Uncaught Error: Class 'JLTCTWR\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/Notifications/Ask_For_Rating.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTCTWR\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
Uncaught Error: Class 'JLTCTWR\\Libs\\RowLinks' not found in wp-content/plugins/wp-awesome-city-weather-report/Inc/Classes/Row_Links.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=wp-awesome-city-weather-report-recommended-plugins
- > Network (severe)
https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: wordpress faq, wordpress plugin, wordpress, frequently asked questions
wp-awesome-city-weather-report/wp-awesome-city-weather-report.php 85% from 13 tests
The principal PHP file in "WP Awesome City Weather Report" v. 1.0.4 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages/")
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
Good job! No executable or dangerous file extensions detected3,308 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 803 | 1,494 | 3,159 |
CSS | 2 | 22 | 3 | 149 |
JavaScript | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 28 | |
▷ Abstract classes | 4 | 14.29% |
▷ Concrete classes | 24 | 85.71% |
▷ Final classes | 1 | 4.17% |
Methods | 197 | |
▷ Static methods | 32 | 16.24% |
▷ Public methods | 194 | 98.48% |
▷ Protected methods | 1 | 0.51% |
▷ Private methods | 2 | 1.02% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
Constants | 16 | |
▷ Global constants | 15 | 93.75% |
▷ Class constants | 1 | 6.25% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected