Location Weather 1.2.3

Does Location Weather work with WordPress 5.7.2 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: 202.4 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.7.2
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=9d324a6847
Aspect after-activation
HTTP status 200
Load time 1.627 s
Memory usage 3.04 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.367 s
Memory usage 3.03 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.604 s
Memory usage 3.15 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.417 s
Memory usage 2.97 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 1.126 s
Memory usage 2.96 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.426 s
Memory usage 2.77 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 1.086 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.264 s0.504 s+0.240 s2.82 MiB2.99 MiB+ 169.62 KiB
/wp-admin/edit.php0.181 s0.280 s+0.099 s2.86 MiB3.08 MiB+ 223.7 KiB
/wp-admin/post-new.php0.884 s1.178 s+0.294 s5.02 MiB5.25 MiB+ 231.35 KiB
/wp-admin/upload.php0.501 s0.415 s-0.086 s2.7 MiB2.92 MiB+ 233.9 KiB
/wp-admin/options-writing.php0.262 s0.382 s+0.120 s2.71 MiB2.91 MiB+ 200.83 KiB
/wp-admin/media-new.php0.214 s0.235 s+0.021 s2.67 MiB2.9 MiB+ 234.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.219 s+0.022 s2.77 MiB2.94 MiB+ 169.93 KiB
/wp-admin/post-new.php?post_type=page1.100 s1.666 s+0.566 s5.01 MiB5.25 MiB+ 243.33 KiB
/wp-admin/options-discussion.php0.288 s0.334 s+0.046 s2.67 MiB2.9 MiB+ 235.01 KiB
/wp-admin/edit-comments.php0.239 s0.298 s+0.059 s2.78 MiB2.94 MiB+ 168.84 KiB
/0.249 s0.390 s+0.141 s2.65 MiB2.76 MiB+ 115.03 KiB
Average 0.398 s0.536 s+0.138 s3.15 MiB3.35 MiB+ 202.4 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
PHP46.5%8,2081,77894
CSS28.3%4,9915026
JavaScript23.4%4,1214343
SVG1.7%298819
JSON0.2%2701
Total 17,645 2,722 123

PHP Code Analysis | More results »

Lines of code 7,582
Total complexity 1,821
Median class complexity 11.0
Median method complexity 2.0
Most complex class SPLWT_Options
Most complex function splwt_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

[14-May-2021 01:29:06 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
[14-May-2021 01:29:23 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