OSM 6.1.1

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.162 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=6e17c4ac99
Aspect after-activation
HTTP status 200
Load time 0.278 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.165 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.522 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 0.990 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 0.980 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.468 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.350 s0.308 s-0.042 s3.47 MiB3.51 MiB+ 40.41 KiB
/wp-admin/edit.php0.215 s0.209 s-0.006 s3.54 MiB3.58 MiB+ 40.38 KiB
/wp-admin/post-new.php0.797 s2.079 s+1.282 s5.75 MiB5.87 MiB+ 115.7 KiB
/wp-admin/upload.php0.666 s0.547 s-0.119 s3.49 MiB3.51 MiB+ 23.7 KiB
/wp-admin/options-writing.php0.210 s0.254 s+0.044 s3.41 MiB3.49 MiB+ 85.77 KiB
/wp-admin/media-new.php0.238 s0.284 s+0.046 s3.4 MiB3.49 MiB+ 99.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.215 s+0.025 s3.47 MiB3.52 MiB+ 45.82 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.989 s+0.377 s5.75 MiB5.86 MiB+ 112.23 KiB
/wp-admin/options-discussion.php0.239 s0.252 s+0.013 s3.41 MiB3.49 MiB+ 87.45 KiB
/wp-admin/edit-comments.php0.232 s0.202 s-0.030 s3.49 MiB3.51 MiB+ 22.95 KiB
/0.320 s0.514 s+0.194 s3.45 MiB3.45 MiB- 8.02 KiB
Average 0.370 s0.532 s+0.162 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,29056726
JavaScript22.3%3,16338912
PO File19.7%2,7902,1826
CSS10.0%1,4174812
XML3.4%48205
Markdown0.4%5501
Total 14,197 3,186 62

PHP Code Analysis | More results »

Lines of code 4,733
Total complexity 1,010
Median class complexity 112.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

[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12:20 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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12: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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:30 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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
[24-Sep-2024 17:12:33 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