OSM 5.7

Does OSM work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version5.7
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/osm/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=osm%2Fosm.php&plugin_status=all&paged=1&s&_wpnonce=0971e5033f
Aspect after-activation
HTTP status 200
Load time 0.424 s
Memory usage 2.75 MiB
JS errors None
Resource errors None

Settings → OSM

Page screenshot: Settings → OSM
URL /wp-admin/options-general.php?page=osm.php
Aspect menu-item
HTTP status 200
Load time 0.154 s
Memory usage 2.77 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.206 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 2.425 s
Memory usage 5.11 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 1.854 s
Memory usage 5.09 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 0.803 s
Memory usage 2.82 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.261 s0.268 s+0.007 s2.82 MiB2.86 MiB+ 40.8 KiB
/wp-admin/edit.php0.180 s0.190 s+0.010 s2.86 MiB2.9 MiB+ 39.18 KiB
/wp-admin/post-new.php0.936 s3.368 s+2.432 s5.02 MiB5.11 MiB+ 88.98 KiB
/wp-admin/upload.php0.487 s0.541 s+0.054 s2.7 MiB2.73 MiB+ 38.27 KiB
/wp-admin/options-writing.php0.253 s0.138 s-0.115 s2.71 MiB2.72 MiB+ 6.65 KiB
/wp-admin/media-new.php0.216 s0.171 s-0.045 s2.67 MiB2.71 MiB+ 38.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.203 s+0.012 s2.77 MiB2.81 MiB+ 39.13 KiB
/wp-admin/post-new.php?post_type=page1.335 s3.313 s+1.978 s5.01 MiB5.09 MiB+ 84.44 KiB
/wp-admin/options-discussion.php0.310 s0.269 s-0.041 s2.67 MiB2.71 MiB+ 39.16 KiB
/wp-admin/edit-comments.php0.220 s0.226 s+0.006 s2.78 MiB2.81 MiB+ 39.34 KiB
/0.323 s0.215 s-0.108 s2.71 MiB2.69 MiB- 20.93 KiB
Average 0.428 s0.809 s+0.381 s3.16 MiB3.19 MiB+ 39.45 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
JavaScript
PO File
Language % Lines of code Comment lines Files
PHP54.3%7,81458627
JavaScript20.1%2,88638511
PO File19.4%2,7902,1826
CSS5.8%8384911
Markdown0.4%5501
Total 14,383 3,202 56

PHP Code Analysis | More results »

Lines of code 4,720
Total complexity 984
Median class complexity 109.5
Median method complexity 2.0
Most complex class cOsm_icon
Most complex function cOsm_icon::isOsmIcon()
Classes 8
Methods 111
Functions 17

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 1

Sidebar Widgets 1

ID Name
osm_widgetOSM Widget

Meta Boxes

{
    "post": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "page": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "attachment": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "revision": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "nav_menu_item": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "custom_css": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "customize_changeset": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "oembed_cache": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "user_request": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "wp_block": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    }
}

PHP Error Log 44 lines

[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: height in /wp-content/plugins/osm/osm-widget.php on line 61
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 66
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 67
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 68
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 69
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 70
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 71
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 72
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 73
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 74
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 75
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 76
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 77
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 78
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 79
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 80
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 81
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 82
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: zoom in /wp-content/plugins/osm/osm-widget.php on line 83
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: ctrl_theme in /wp-content/plugins/osm/osm-widget.php on line 89
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: ctrl_theme in /wp-content/plugins/osm/osm-widget.php on line 90
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: ctrl_theme in /wp-content/plugins/osm/osm-widget.php on line 91
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: ctrl_theme in /wp-content/plugins/osm/osm-widget.php on line 93
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: ctrl_theme in /wp-content/plugins/osm/osm-widget.php on line 94
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: ctrl_theme in /wp-content/plugins/osm/osm-widget.php on line 95
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: marker in /wp-content/plugins/osm/osm-widget.php on line 101
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: marker in /wp-content/plugins/osm/osm-widget.php on line 102
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: marker in /wp-content/plugins/osm/osm-widget.php on line 103
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: marker in /wp-content/plugins/osm/osm-widget.php on line 104
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: marker in /wp-content/plugins/osm/osm-widget.php on line 105
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: marker in /wp-content/plugins/osm/osm-widget.php on line 106
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: border_col in /wp-content/plugins/osm/osm-widget.php on line 112
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: border_col in /wp-content/plugins/osm/osm-widget.php on line 113
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: border_col in /wp-content/plugins/osm/osm-widget.php on line 114
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: border_col in /wp-content/plugins/osm/osm-widget.php on line 115
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: border_col in /wp-content/plugins/osm/osm-widget.php on line 116
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: border_col in /wp-content/plugins/osm/osm-widget.php on line 117
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: border_col in /wp-content/plugins/osm/osm-widget.php on line 118
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: map_type in /wp-content/plugins/osm/osm-widget.php on line 124
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: map_type in /wp-content/plugins/osm/osm-widget.php on line 125
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: map_type in /wp-content/plugins/osm/osm-widget.php on line 126
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: map_type in /wp-content/plugins/osm/osm-widget.php on line 127
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: map_type in /wp-content/plugins/osm/osm-widget.php on line 128
[10-Mar-2021 09:29:55 UTC] PHP Notice:  Undefined index: map_type in /wp-content/plugins/osm/osm-widget.php on line 129
See also: All tests for this plugin, How to Hide OSM Admin Menus and Meta Boxes