OSM 6.0.5

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.115 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=27594e1141
Aspect after-activation
HTTP status 200
Load time 0.262 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.176 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.617 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.456 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.334 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.618 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.519 s0.296 s-0.223 s3.47 MiB3.51 MiB+ 40.41 KiB
/wp-admin/edit.php0.228 s0.193 s-0.035 s3.54 MiB3.58 MiB+ 40.37 KiB
/wp-admin/post-new.php0.798 s2.629 s+1.831 s5.75 MiB5.87 MiB+ 115.7 KiB
/wp-admin/upload.php0.593 s0.441 s-0.152 s3.49 MiB3.51 MiB+ 23.7 KiB
/wp-admin/options-writing.php0.251 s0.206 s-0.045 s3.41 MiB3.49 MiB+ 85.77 KiB
/wp-admin/media-new.php0.238 s0.238 s+0.000 s3.4 MiB3.49 MiB+ 99.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.198 s-0.011 s3.47 MiB3.52 MiB+ 45.82 KiB
/wp-admin/post-new.php?post_type=page1.038 s1.155 s+0.117 s5.75 MiB5.86 MiB+ 112.23 KiB
/wp-admin/options-discussion.php0.254 s0.283 s+0.029 s3.41 MiB3.49 MiB+ 87.45 KiB
/wp-admin/edit-comments.php0.317 s0.228 s-0.089 s3.49 MiB3.51 MiB+ 22.95 KiB
/0.559 s0.407 s-0.152 s3.45 MiB3.45 MiB- 8.02 KiB
Average 0.455 s0.570 s+0.115 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.1%6,24356026
JavaScript22.4%3,16338812
PO File19.7%2,7902,1826
CSS10.0%1,4174812
XML3.4%48205
Markdown0.4%5501
Total 14,150 3,178 62

PHP Code Analysis | More results »

Lines of code 4,701
Total complexity 996
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

[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:52 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:00:58 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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01: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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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
[17-Sep-2024 18:01:07 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