Location Weather 1.2.8

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.8.3
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=08976f71b8
Aspect after-activation
HTTP status 200
Load time 1.944 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.423 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.470 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.340 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 0.774 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.581 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 1.866 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.323 s0.444 s+0.121 s3.08 MiB3.31 MiB+ 237.13 KiB
/wp-admin/edit.php0.182 s0.223 s+0.041 s3.11 MiB3.33 MiB+ 224.41 KiB
/wp-admin/post-new.php1.363 s1.091 s-0.272 s5.27 MiB5.44 MiB+ 172.41 KiB
/wp-admin/upload.php0.384 s0.323 s-0.061 s3.03 MiB3.19 MiB+ 165.41 KiB
/wp-admin/options-writing.php0.154 s0.161 s+0.007 s3.02 MiB3.17 MiB+ 148.34 KiB
/wp-admin/media-new.php0.421 s0.235 s-0.186 s3.01 MiB3.17 MiB+ 166.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.244 s+0.061 s3.04 MiB3.2 MiB+ 165.44 KiB
/wp-admin/post-new.php?post_type=page0.865 s0.871 s+0.006 s5.26 MiB5.43 MiB+ 172.34 KiB
/wp-admin/options-discussion.php0.224 s0.279 s+0.055 s3 MiB3.17 MiB+ 166.52 KiB
/wp-admin/edit-comments.php0.203 s0.216 s+0.013 s3.04 MiB3.2 MiB+ 164.34 KiB
/0.307 s0.475 s+0.168 s2.96 MiB3.08 MiB+ 130.25 KiB
Average 0.419 s0.415 s-0.004 s3.44 MiB3.61 MiB+ 173.91 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
PHP36.1%5,3273,04361
CSS33.9%4,9995026
JavaScript28.0%4,1304343
SVG2.0%298819
Total 14,754 3,987 89

PHP Code Analysis | More results »

Lines of code 4,686
Total complexity 1,412
Median class complexity 12.0
Median method complexity 2.0
Most complex class SPLWT_Options
Most complex function SPLWT_Fields::field_data()
Classes 49
Methods 224
Functions 22

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

[15-Jan-2022 10:21:43 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