Location Weather 1.2.4

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

Summary

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

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

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

Environment
WordPress version5.8
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=a52d5e9ec1
Aspect after-activation
HTTP status 200
Load time 2.134 s
Memory usage 3.3 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.393 s
Memory usage 3.35 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.509 s
Memory usage 3.4 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.378 s
Memory usage 3.25 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.091 s
Memory usage 3.21 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.463 s
Memory usage 3.08 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 2.230 s
Memory usage 4.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.327 s0.437 s+0.110 s3.08 MiB3.31 MiB+ 237.13 KiB
/wp-admin/edit.php0.182 s0.270 s+0.088 s3.11 MiB3.33 MiB+ 224.41 KiB
/wp-admin/post-new.php1.142 s2.007 s+0.865 s5.27 MiB5.43 MiB+ 172.41 KiB
/wp-admin/upload.php0.409 s0.434 s+0.025 s3.03 MiB3.19 MiB+ 165.61 KiB
/wp-admin/options-writing.php0.149 s0.247 s+0.098 s3.02 MiB3.17 MiB+ 148.34 KiB
/wp-admin/media-new.php0.245 s0.318 s+0.073 s3.01 MiB3.17 MiB+ 166.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.283 s+0.114 s3.04 MiB3.2 MiB+ 165.44 KiB
/wp-admin/post-new.php?post_type=page1.107 s1.335 s+0.228 s5.26 MiB5.42 MiB+ 172.34 KiB
/wp-admin/options-discussion.php0.262 s0.344 s+0.082 s3 MiB3.17 MiB+ 166.52 KiB
/wp-admin/edit-comments.php0.222 s0.277 s+0.055 s3.04 MiB3.2 MiB+ 164.34 KiB
/0.338 s0.250 s-0.088 s2.91 MiB3.08 MiB+ 177.91 KiB
Average 0.414 s0.564 s+0.150 s3.43 MiB3.61 MiB+ 178.26 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.6%8,2281,78594
CSS28.3%4,9945026
JavaScript23.4%4,1214343
SVG1.7%298819
Total 17,641 2,729 122

PHP Code Analysis | More results »

Lines of code 7,589
Total complexity 1,824
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 25

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 1 lines

[21-Jul-2021 20:49:35 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
See also: All tests for this plugin, How to Hide Location Weather Admin Menus and Meta Boxes