Schema & Structured Data for WP & AMP 1.40

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

Summary

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

Memory usage: 921.15 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.7.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=8b046b7dc0
Aspect after-activation
HTTP status 200
Load time 0.807 s
Memory usage 4.5 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.432 s
Memory usage 4.45 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.379 s
Memory usage 4.66 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.309 s
Memory usage 4.45 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.354 s
Memory usage 4.66 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.403 s
Memory usage 4.68 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 0.588 s
Memory usage 4.68 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 0.677 s
Memory usage 4.68 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 0.677 s
Memory usage 4.68 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 0.558 s
Memory usage 4.68 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 0.832 s
Memory usage 4.68 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 0.597 s
Memory usage 4.68 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 0.583 s
Memory usage 4.68 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 0.608 s
Memory usage 4.68 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.131 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.305 s
Memory usage 4.39 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.263 s
Memory usage 4.29 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.956 s
Memory usage 6.91 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.724 s
Memory usage 6.9 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.936 s
Memory usage 6.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.411 s0.584 s+0.173 s3.48 MiB4.37 MiB+ 912.93 KiB
/wp-admin/edit.php0.193 s0.216 s+0.023 s3.54 MiB4.45 MiB+ 930.6 KiB
/wp-admin/post-new.php0.791 s1.618 s+0.827 s5.92 MiB6.91 MiB+ 1009.09 KiB
/wp-admin/upload.php0.705 s0.319 s-0.386 s3.5 MiB4.38 MiB+ 903.49 KiB
/wp-admin/options-writing.php0.217 s0.229 s+0.012 s3.47 MiB4.36 MiB+ 906.13 KiB
/wp-admin/media-new.php0.273 s0.391 s+0.118 s3.46 MiB4.36 MiB+ 914.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.207 s+0.012 s3.48 MiB4.37 MiB+ 919.49 KiB
/wp-admin/post-new.php?post_type=page1.168 s0.814 s-0.354 s5.92 MiB6.9 MiB+ 1000.64 KiB
/wp-admin/options-discussion.php0.415 s0.243 s-0.172 s3.47 MiB4.36 MiB+ 902.62 KiB
/wp-admin/edit-comments.php0.234 s0.217 s-0.017 s3.49 MiB4.38 MiB+ 902.13 KiB
/0.320 s0.197 s-0.123 s3.48 MiB4.29 MiB+ 831.22 KiB
Average 0.447 s0.458 s+0.010 s3.93 MiB4.83 MiB+ 921.15 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
CSS
Language % Lines of code Comment lines Files
PHP71.1%59,0662,34865
JavaScript14.3%11,89529527
CSS13.7%11,33930530
SVG0.8%68933
JSX0.1%4321
Total 83,032 2,953 126

PHP Code Analysis | More results »

Lines of code 56,794
Total complexity 11,848
Median class complexity 35.5
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 397
Functions 464

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"
        }
    },
    "attachment": {
        "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"
        }
    },
    "wp_font_family": {
        "SASWP_Post_Specific": {
            "title": "Schema & Structured Data on this post",
            "context": "advanced"
        }
    },
    "wp_font_face": {
        "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"
        },
        "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"
        },
        "submitdiv": {
            "title": "Publish",
            "context": "side"
        }
    }
}

PHP Error Log 3 lines

[17-Jan-2025 12:43:04 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2938) in /wp-includes/pluggable.php on line 1435
[17-Jan-2025 12:43:04 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2938) in /wp-includes/pluggable.php on line 1438
[17-Jan-2025 12:43:05 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/class-saswp-reviews-collection.php on line 681
See also: All tests for this plugin, How to Hide Schema & Structured Data for WP & AMP Admin Menus and Meta Boxes