Location Weather 1.2.9

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

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

Environment
WordPress version5.9.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=dcb38b8491
Aspect after-activation
HTTP status 200
Load time 1.925 s
Memory usage 3.59 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.397 s
Memory usage 3.57 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.494 s
Memory usage 3.62 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.357 s
Memory usage 3.51 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.701 s
Memory usage 3.5 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.503 s
Memory usage 3.46 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.724 s
Memory usage 5.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.389 s0.403 s+0.014 s3.37 MiB3.53 MiB+ 165.75 KiB
/wp-admin/edit.php0.182 s0.240 s+0.058 s3.4 MiB3.55 MiB+ 151.94 KiB
/wp-admin/post-new.php0.984 s1.134 s+0.150 s5.65 MiB5.82 MiB+ 167.5 KiB
/wp-admin/upload.php0.394 s0.361 s-0.033 s3.25 MiB3.48 MiB+ 238.03 KiB
/wp-admin/options-writing.php0.309 s0.413 s+0.104 s3.24 MiB3.46 MiB+ 220.63 KiB
/wp-admin/media-new.php0.234 s0.218 s-0.016 s3.23 MiB3.46 MiB+ 239.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.233 s+0.056 s3.27 MiB3.49 MiB+ 230.06 KiB
/wp-admin/post-new.php?post_type=page0.941 s0.966 s+0.025 s5.65 MiB5.81 MiB+ 167.42 KiB
/wp-admin/options-discussion.php0.218 s0.346 s+0.128 s3.22 MiB3.46 MiB+ 239.34 KiB
/wp-admin/edit-comments.php0.216 s0.244 s+0.028 s3.27 MiB3.49 MiB+ 228.97 KiB
/0.262 s0.226 s-0.036 s3.4 MiB3.46 MiB+ 65.53 KiB
Average 0.391 s0.435 s+0.043 s3.72 MiB3.91 MiB+ 192.2 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

[06-Apr-2022 20:38:00 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