Location Weather 1.2.0

Does Location Weather work with WordPress 5.6 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP warnings
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 195.82 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.042 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.6
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/location-weather/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Location Weather Help ‹ Test site — WordPress

Page screenshot: Location Weather Help ‹ Test site — WordPress
URL /wp-admin/edit.php?post_type=location_weather&page=splw_help
Requested URL /wp-admin/plugins.php?action=activate&plugin=location-weather%2Fmain.php&plugin_status=all&paged=1&s&_wpnonce=d0ba8d6542
Aspect after-activation
HTTP status 200
Load time 1.865 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Location Weather

Page screenshot: Location Weather
URL /wp-admin/edit.php?post_type=location_weather
Aspect menu-item
HTTP status 200
Load time 0.399 s
Memory usage 3 MiB
JS errors None
Resource errors None

Location Weather → Add New

Page screenshot: Location Weather → Add New
URL /wp-admin/post-new.php?post_type=location_weather
Aspect menu-item
HTTP status 200
Load time 0.588 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Location Weather → Settings

Page screenshot: Location Weather → Settings
URL /wp-admin/edit.php?post_type=location_weather&page=lw-settings
Aspect menu-item
HTTP status 200
Load time 0.336 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Location Weather → Help

Page screenshot: Location Weather → Help
URL /wp-admin/edit.php?post_type=location_weather&page=splw_help
Aspect menu-item
HTTP status 200
Load time 0.813 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.347 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.943 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.262 s0.581 s+0.319 s2.79 MiB2.96 MiB+ 167.61 KiB
/wp-admin/edit.php0.179 s0.273 s+0.094 s2.84 MiB2.99 MiB+ 157.7 KiB
/wp-admin/post-new.php0.836 s0.971 s+0.135 s4.93 MiB5.16 MiB+ 229.34 KiB
/wp-admin/upload.php0.501 s0.446 s-0.055 s2.67 MiB2.89 MiB+ 231.89 KiB
/wp-admin/options-writing.php0.227 s0.232 s+0.005 s2.68 MiB2.88 MiB+ 198.82 KiB
/wp-admin/media-new.php0.202 s0.216 s+0.014 s2.65 MiB2.87 MiB+ 232.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.211 s+0.022 s2.68 MiB2.91 MiB+ 231.92 KiB
/wp-admin/post-new.php?post_type=page1.052 s1.023 s-0.029 s4.92 MiB5.16 MiB+ 241.32 KiB
/wp-admin/options-discussion.php0.300 s0.303 s+0.003 s2.65 MiB2.87 MiB+ 233.2 KiB
/wp-admin/edit-comments.php0.257 s0.285 s+0.028 s2.75 MiB2.91 MiB+ 166.83 KiB
/0.313 s0.236 s-0.077 s2.67 MiB2.73 MiB+ 62.52 KiB
Average 0.393 s0.434 s+0.042 s3.11 MiB3.3 MiB+ 195.82 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP45.9%7,8032,00094
CSS28.3%4,8064915
JavaScript24.2%4,1053964
SVG1.7%282713
Total 16,996 2,894 116

PHP Code Analysis | More results »

Lines of code 7,178
Total complexity 1,825
Median class complexity 11.0
Median method complexity 2.0
Most complex class CSF_Options
Most complex function csf_get_google_fonts()
Classes 79
Methods 304
Functions 24

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 7

Custom Post Types 1

ID Name
location_weatherManage Weather

Sidebar Widgets 2

ID Name
lw_widgetLocation Weather
sp_location_weather_widget_contentOld - Location Weather

Meta Boxes

{
    "location_weather": {
        "sp_location_weather_generator": {
            "title": "Location Weather Generation Options",
            "context": "advanced"
        }
    }
}

PHP Error Log 2 lines

[06-Jan-2021 12:22:10 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/location-weather/includes/Admin/updates/update-1.2.0.php on line 22
[06-Jan-2021 12:22:25 UTC] PHP Warning:  sprintf(): Argument number must be greater than zero in /wp-content/plugins/location-weather/includes/Admin/LW_Widget.php on line 89
See also: All tests for this plugin, How to Hide Location Weather Admin Menus and Meta Boxes