Location Weather 1.2.5

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

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

Environment
WordPress version5.8.1
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=93cdfcdadf
Aspect after-activation
HTTP status 200
Load time 1.753 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.500 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.495 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.394 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.679 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.480 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.178 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.307 s0.491 s+0.184 s3.08 MiB3.31 MiB+ 237.13 KiB
/wp-admin/edit.php0.165 s0.221 s+0.056 s3.11 MiB3.33 MiB+ 224.41 KiB
/wp-admin/post-new.php1.170 s1.395 s+0.225 s5.27 MiB5.44 MiB+ 172.41 KiB
/wp-admin/upload.php0.518 s0.363 s-0.155 s3.03 MiB3.19 MiB+ 165.61 KiB
/wp-admin/options-writing.php0.143 s0.214 s+0.071 s3.02 MiB3.17 MiB+ 148.34 KiB
/wp-admin/media-new.php0.253 s0.231 s-0.022 s3.01 MiB3.17 MiB+ 166.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.238 s0.195 s-0.043 s3.04 MiB3.2 MiB+ 165.44 KiB
/wp-admin/post-new.php?post_type=page0.922 s1.326 s+0.404 s5.26 MiB5.43 MiB+ 172.34 KiB
/wp-admin/options-discussion.php0.257 s0.287 s+0.030 s3 MiB3.17 MiB+ 166.52 KiB
/wp-admin/edit-comments.php0.191 s0.294 s+0.103 s3.04 MiB3.2 MiB+ 164.34 KiB
/0.361 s0.269 s-0.092 s2.96 MiB3.08 MiB+ 130.25 KiB
Average 0.411 s0.481 s+0.069 s3.44 MiB3.61 MiB+ 173.93 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,2231,78594
CSS28.3%4,9945026
JavaScript23.4%4,1214343
SVG1.7%298819
Total 17,636 2,729 122

PHP Code Analysis | More results »

Lines of code 7,584
Total complexity 1,825
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

[10-Sep-2021 05:28:39 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