Schema & Structured Data for WP & AMP 1.9.107

Does "Schema & Structured Data for WP & AMP" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/schema-and-structured-data-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 20

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=schema-and-structured-data-for-wp%2Fstructured-data-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=6d20ebb982
Aspect after-activation
HTTP status 200
Load time 0.724 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

Structured Data

Page screenshot: Structured Data
URL /wp-admin/edit.php?post_type=saswp
Aspect menu-item
HTTP status 200
Load time 0.476 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Structured Data → Reviews

Page screenshot: Structured Data → Reviews
URL /wp-admin/edit.php?post_type=saswp_reviews
Aspect menu-item
HTTP status 200
Load time 0.306 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

Structured Data → Reviews → Collections

Page screenshot: Structured Data → Reviews → Collections
URL /wp-admin/edit.php?post_type=saswp-collections
Aspect menu-item-tab
HTTP status 200
Load time 0.274 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Structured Data → Reviews → Accept Reviews

Page screenshot: Structured Data → Reviews → Accept Reviews
URL /wp-admin/edit.php?post_type=saswp_reviews
Aspect menu-item-tab
HTTP status 200
Load time 0.240 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

Structured Data → Settings

Page screenshot: Structured Data → Settings
URL /wp-admin/edit.php?post_type=saswp&page=structured_data_options
Aspect menu-item
HTTP status 200
Load time 1.779 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → AMP

Page screenshot: Structured Data → Settings →  AMP
URL /wp-admin/admin.php?page=structured_data_options&tab=amp
Aspect menu-item-tab
HTTP status 200
Load time 1.131 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → Review

Page screenshot: Structured Data → Settings →  Review
URL /wp-admin/admin.php?page=structured_data_options&tab=review
Aspect menu-item-tab
HTTP status 200
Load time 1.228 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → Compatibility

Page screenshot: Structured Data → Settings →  Compatibility
URL /wp-admin/admin.php?page=structured_data_options&tab=compatibility
Aspect menu-item-tab
HTTP status 200
Load time 1.197 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → Email Schema

Page screenshot: Structured Data → Settings →  Email Schema
URL /wp-admin/admin.php?page=structured_data_options&tab=email_schema
Aspect menu-item-tab
HTTP status 200
Load time 1.082 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → Advanced

Page screenshot: Structured Data → Settings →  Advanced
URL /wp-admin/admin.php?page=structured_data_options&tab=tools
Aspect menu-item-tab
HTTP status 200
Load time 1.143 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → Premium Features

Page screenshot: Structured Data → Settings →  Premium Features
URL /wp-admin/admin.php?page=structured_data_options&tab=premium_features
Aspect menu-item-tab
HTTP status 200
Load time 1.181 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → Services

Page screenshot: Structured Data → Settings →  Services
URL /wp-admin/admin.php?page=structured_data_options&tab=services
Aspect menu-item-tab
HTTP status 200
Load time 1.247 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Settings → Support

Page screenshot: Structured Data → Settings →  Support
URL /wp-admin/admin.php?page=structured_data_options&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 1.117 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Structured Data → Upgrade To Premium

Page screenshot: Structured Data → Upgrade To Premium
URL /wp-admin/edit.php?post_type=saswp&page=structured_data_premium
Aspect menu-item
HTTP status 200
Load time 0.162 s
Memory usage N/A
JS errors None
Resource errors None

Structured Data →

Page screenshot: Structured Data →
URL /wp-admin/edit.php?post_type=saswp&page=collection
Aspect menu-item
HTTP status 200
Load time 0.237 s
Memory usage 3.69 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.182 s
Memory usage 3.71 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.780 s
Memory usage 5.67 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.608 s
Memory usage 5.66 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 1.834 s
Memory usage 5.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.570 s0.275 s-0.295 s3.05 MiB3.74 MiB+ 705.96 KiB
/wp-admin/edit.php0.162 s0.166 s+0.004 s3.08 MiB3.81 MiB+ 756.23 KiB
/wp-admin/post-new.php0.712 s0.936 s+0.224 s4.97 MiB5.67 MiB+ 715.9 KiB
/wp-admin/upload.php0.446 s0.393 s-0.053 s2.99 MiB3.66 MiB+ 688.2 KiB
/wp-admin/options-writing.php0.143 s0.131 s-0.012 s2.99 MiB3.65 MiB+ 674.16 KiB
/wp-admin/media-new.php0.425 s0.170 s-0.255 s2.97 MiB3.65 MiB+ 700.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.158 s0.149 s-0.009 s2.98 MiB3.69 MiB+ 726.3 KiB
/wp-admin/post-new.php?post_type=page0.539 s0.588 s+0.049 s4.96 MiB5.66 MiB+ 711.56 KiB
/wp-admin/options-discussion.php0.164 s0.179 s+0.015 s2.98 MiB3.65 MiB+ 687.9 KiB
/wp-admin/edit-comments.php0.182 s0.160 s-0.022 s3 MiB3.68 MiB+ 694.3 KiB
/0.223 s0.163 s-0.060 s2.94 MiB3.71 MiB+ 785.02 KiB
Average 0.339 s0.301 s-0.038 s3.35 MiB4.05 MiB+ 713.26 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP67.1%46,2562,02365
CSS16.2%11,19430230
JavaScript15.7%10,80423727
SVG1.0%68933
JSX0.1%4321
Total 68,986 2,567 126

PHP Code Analysis | More results »

Lines of code 44,456
Total complexity 8,536
Median class complexity 31.0
Median method complexity 1.0
Most complex class saswp_output_service
Most complex function saswp_output_service::saswp_replace_with_custom_fields_value()
Classes 28
Methods 363
Functions 425

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 5

Custom Post Types 4

ID Name
saswpStructured Data
saswp_reviewsReviews
saswp_rvs_locationLocation
saswp-collectionsCollections

Sidebar Widgets 2

ID Name
saswp_location_widgetSASWP Location
saswp_google_review_widgetReviews

Meta Boxes

{
    "post": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "page": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "customize_changeset": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "oembed_cache": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_block": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_template": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_template_part": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_global_styles": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_navigation": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "saswp_reviews": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        },
        "saswp_reviews_form": {
            "title": "Reviews form Shortcode",
            "context": "side"
        },
        "saswp_reviews_usage": {
            "title": "Review Usage",
            "context": "side"
        },
        "saswp_submitdiv": {
            "title": "Publish",
            "context": "side"
        },
        "saswp_review_content": {
            "title": "Review Content",
            "context": "normal"
        }
    },
    "saswp_rvs_location": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "saswp-collections": {
        "saswp_post_specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "saswp": {
        "saswp_schema_type": {
            "title": "Schema Type",
            "context": "normal"
        },
        "saswp_amp_select": {
            "title": "Placement",
            "context": "normal"
        },
        "saswp_schema_options": {
            "title": "Advance Schema Options",
            "context": "normal"
        },
        "saswp_location_meta_box": {
            "title": "Front End",
            "context": "side"
        },
        "saswp_help_meta_box": {
            "title": "Help",
            "context": "side"
        },
        "saswp_submitdiv": {
            "title": "Publish",
            "context": "side"
        }
    }
}

PHP Error Log 6 lines

[16-Dec-2022 08:03:13 UTC] PHP Deprecated:  Optional parameter $saswp_collection_hide_col_rew_img declared before required parameter $stars_color is implicitly treated as a required parameter in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/reviews_service.php on line 1316
[16-Dec-2022 08:03:13 UTC] PHP Deprecated:  Optional parameter $saswp_collection_hide_col_rew_img declared before required parameter $stars_color is implicitly treated as a required parameter in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/reviews_service.php on line 1466
[16-Dec-2022 08:03:13 UTC] PHP Deprecated:  Optional parameter $saswp_collection_hide_col_rew_img declared before required parameter $stars_color is implicitly treated as a required parameter in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/reviews_service.php on line 1594
[16-Dec-2022 08:03:38 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2295) in /wp-includes/pluggable.php on line 1416
[16-Dec-2022 08:03:38 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2295) in /wp-includes/pluggable.php on line 1419
[16-Dec-2022 08:03:39 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/reviews_collection.php on line 605
See also: All tests for this plugin, How to Hide Schema & Structured Data for WP & AMP Admin Menus and Meta Boxes