OSM 6.1.0

Does OSM work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
48PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=9fa88d903c
Aspect after-activation
HTTP status 200
Load time 0.312 s
Memory usage 3.53 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.196 s
Memory usage 3.52 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.580 s
Memory usage 3.45 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 1.052 s
Memory usage 5.86 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.131 s
Memory usage 5.86 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.736 s
Memory usage 5.65 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.446 s0.344 s-0.102 s3.47 MiB3.51 MiB+ 40.41 KiB
/wp-admin/edit.php0.252 s0.228 s-0.024 s3.54 MiB3.58 MiB+ 40.37 KiB
/wp-admin/post-new.php0.830 s2.403 s+1.573 s5.75 MiB5.87 MiB+ 115.7 KiB
/wp-admin/upload.php0.643 s0.429 s-0.214 s3.49 MiB3.51 MiB+ 23.7 KiB
/wp-admin/options-writing.php0.248 s0.227 s-0.021 s3.41 MiB3.49 MiB+ 85.77 KiB
/wp-admin/media-new.php0.289 s0.276 s-0.013 s3.4 MiB3.49 MiB+ 99.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.242 s+0.018 s3.47 MiB3.52 MiB+ 45.82 KiB
/wp-admin/post-new.php?post_type=page0.652 s1.088 s+0.436 s5.75 MiB5.86 MiB+ 112.23 KiB
/wp-admin/options-discussion.php0.660 s0.259 s-0.401 s3.41 MiB3.49 MiB+ 87.45 KiB
/wp-admin/edit-comments.php0.264 s0.414 s+0.150 s3.49 MiB3.51 MiB+ 22.95 KiB
/0.351 s0.354 s+0.003 s3.45 MiB3.45 MiB- 8.02 KiB
Average 0.442 s0.569 s+0.128 s3.88 MiB3.93 MiB+ 60.5 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
CSS
Language % Lines of code Comment lines Files
PHP44.3%6,28356726
JavaScript22.3%3,16338912
PO File19.7%2,7902,1826
CSS10.0%1,4174812
XML3.4%48205
Markdown0.4%5501
Total 14,190 3,186 62

PHP Code Analysis | More results »

Lines of code 4,726
Total complexity 1,008
Median class complexity 111.5
Median method complexity 2.0
Most complex class cOsm_icon
Most complex function cOsm_icon::isOsmIcon()
Classes 8
Methods 113
Functions 20

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"
        }
    },
    "wp_template": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "wp_template_part": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "wp_global_styles": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "wp_navigation": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "wp_font_family": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    },
    "wp_font_face": {
        "osm-sc-meta": {
            "title": "WP OSM Plugin shortcode generator",
            "context": "normal"
        }
    }
}

PHP Error Log 48 lines

[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:26 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:32 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:37 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_WIDTH already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 18
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_HEIGHT already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 19
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_ZOOM already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 20
[22-Sep-2024 11:57:41 UTC] PHP Warning:  Constant DEFAULT_MAP_CENTER already defined in /wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3.php on line 21
See also: All tests for this plugin, How to Hide OSM Admin Menus and Meta Boxes