Schema & Structured Data for WP & AMP 1.9.71

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

Summary

Errors
2PHP warnings
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.058 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 80,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=c9593cda4f
Aspect after-activation
HTTP status 200
Load time 1.974 s
Memory usage 3.38 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.524 s
Memory usage 3.52 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.330 s
Memory usage 3.7 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.296 s
Memory usage 3.53 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.386 s
Memory usage 3.7 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.858 s
Memory usage 3.67 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.248 s
Memory usage 3.67 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.252 s
Memory usage 3.67 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.516 s
Memory usage 3.67 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.362 s
Memory usage 3.67 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.220 s
Memory usage 3.67 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.270 s
Memory usage 3.67 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.566 s
Memory usage 3.67 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.303 s
Memory usage 3.67 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.173 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.259 s
Memory usage 3.36 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.216 s
Memory usage 3.24 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.037 s
Memory usage 5.66 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.768 s
Memory usage 5.59 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 0.924 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.267 s0.619 s+0.352 s2.82 MiB3.38 MiB+ 577.09 KiB
/wp-admin/edit.php0.184 s0.210 s+0.026 s2.86 MiB3.48 MiB+ 626.76 KiB
/wp-admin/post-new.php0.902 s1.479 s+0.577 s5.02 MiB5.66 MiB+ 654.83 KiB
/wp-admin/upload.php0.501 s0.504 s+0.003 s2.7 MiB3.32 MiB+ 641.59 KiB
/wp-admin/options-writing.php0.249 s0.169 s-0.080 s2.71 MiB3.3 MiB+ 608.03 KiB
/wp-admin/media-new.php0.249 s0.199 s-0.050 s2.67 MiB3.3 MiB+ 640.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.194 s+0.004 s2.77 MiB3.33 MiB+ 576.37 KiB
/wp-admin/post-new.php?post_type=page1.183 s1.106 s-0.077 s5.01 MiB5.59 MiB+ 590.49 KiB
/wp-admin/options-discussion.php0.297 s0.223 s-0.074 s2.68 MiB3.3 MiB+ 640.54 KiB
/wp-admin/edit-comments.php0.226 s0.214 s-0.012 s2.78 MiB3.34 MiB+ 575.98 KiB
/0.247 s0.221 s-0.026 s2.65 MiB3.24 MiB+ 596.58 KiB
Average 0.409 s0.467 s+0.058 s3.15 MiB3.75 MiB+ 611.68 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
PHP66.0%37,7891,81458
CSS17.8%10,17427124
JavaScript15.0%8,60518722
SVG1.1%64222
JSX0.1%4321
Total 57,253 2,276 107

PHP Code Analysis | More results »

Lines of code 36,236
Total complexity 6,681
Median class complexity 46.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 27
Methods 338
Functions 377

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 4

Custom Post Types 4

ID Name
saswpStructured Data
saswp_reviewsReviews
saswp_rvs_locationLocation
saswp-collectionsCollections

Sidebar Widgets 1

ID Name
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"
        }
    },
    "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_help_meta_box": {
            "title": "Help",
            "context": "side"
        },
        "saswp_submitdiv": {
            "title": "Publish",
            "context": "side"
        }
    }
}

PHP Error Log 3 lines

[17-Apr-2021 11:26:17 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/formatting.php:5740) in /wp-includes/pluggable.php on line 1329
[17-Apr-2021 11:26:17 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/formatting.php:5740) in /wp-includes/pluggable.php on line 1332
[17-Apr-2021 11:26:18 UTC] PHP Notice:  Undefined index: _wpnonce in /wp-content/plugins/schema-and-structured-data-for-wp/modules/reviews/reviews_collection.php on line 532
See also: All tests for this plugin, How to Hide Schema & Structured Data for WP & AMP Admin Menus and Meta Boxes