OSM 6.0.6

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.192 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=6b49e229e7
Aspect after-activation
HTTP status 200
Load time 0.272 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.167 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.582 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.099 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.060 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.688 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.397 s0.324 s-0.073 s3.47 MiB3.51 MiB+ 40.41 KiB
/wp-admin/edit.php0.309 s0.214 s-0.095 s3.54 MiB3.58 MiB+ 40.37 KiB
/wp-admin/post-new.php0.844 s2.446 s+1.602 s5.75 MiB5.87 MiB+ 115.7 KiB
/wp-admin/upload.php0.634 s0.546 s-0.088 s3.49 MiB3.51 MiB+ 23.7 KiB
/wp-admin/options-writing.php0.231 s0.299 s+0.068 s3.41 MiB3.49 MiB+ 85.77 KiB
/wp-admin/media-new.php0.290 s0.275 s-0.015 s3.4 MiB3.49 MiB+ 99.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.203 s-0.003 s3.47 MiB3.52 MiB+ 45.82 KiB
/wp-admin/post-new.php?post_type=page0.621 s1.090 s+0.469 s5.75 MiB5.86 MiB+ 112.23 KiB
/wp-admin/options-discussion.php0.236 s0.267 s+0.031 s3.41 MiB3.49 MiB+ 87.45 KiB
/wp-admin/edit-comments.php0.219 s0.248 s+0.029 s3.49 MiB3.51 MiB+ 22.95 KiB
/0.372 s0.558 s+0.186 s3.45 MiB3.45 MiB- 8.02 KiB
Average 0.396 s0.588 s+0.192 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.2%6,25856226
JavaScript22.3%3,16338812
PO File19.7%2,7902,1826
CSS10.0%1,4174812
XML3.4%48205
Markdown0.4%5501
Total 14,165 3,180 62

PHP Code Analysis | More results »

Lines of code 4,701
Total complexity 997
Median class complexity 110.0
Median method complexity 2.0
Most complex class cOsm_icon
Most complex function cOsm_icon::isOsmIcon()
Classes 8
Methods 111
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

[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:04:57 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:03 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:08 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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
[20-Sep-2024 20:05:12 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