Sunshine Photo Cart 3.5.4.2

Does Sunshine Photo Cart work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/sunshine-photo-cart/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 16

Setup Guide ‹ Test site — WordPress

Page screenshot: Setup Guide ‹ Test site — WordPress
URL /wp-admin/edit.php?post_type=sunshine-gallery&page=sunshine-install
Requested URL /wp-admin/plugins.php?action=activate&plugin=sunshine-photo-cart%2Fsunshine-photo-cart.php&plugin_status=all&paged=1&s&_wpnonce=277a92fdb9
Aspect after-activation
HTTP status 200
Load time 2.509 s
Memory usage 5.41 MiB
JS errors None
Resource errors None

Sunshine

Page screenshot: Sunshine
URL /wp-admin/edit.php?post_type=sunshine-gallery
Aspect menu-item
HTTP status 200
Load time 0.807 s
Memory usage 5.46 MiB
JS errors None
Resource errors None

Sunshine → Add New Gallery

Page screenshot: Sunshine → Add New Gallery
URL /wp-admin/post-new.php?post_type=sunshine-gallery
Aspect menu-item
HTTP status 200
Load time 1.618 s
Memory usage 8.26 MiB
JS errors None
Resource errors None

Sunshine → Settings

Page screenshot: Sunshine → Settings
URL /wp-admin/edit.php?post_type=sunshine-gallery&page=sunshine
Aspect menu-item
HTTP status 200
Load time 0.815 s
Memory usage 5.35 MiB
JS errors None
Resource errors None

Sunshine → Customers

Page screenshot: Sunshine → Customers
URL /wp-admin/edit.php?post_type=sunshine-gallery&page=sunshine-customers
Aspect menu-item
HTTP status 200
Load time 0.798 s
Memory usage 5.35 MiB
JS errors None
Resource errors None

Sunshine → Reports

Page screenshot: Sunshine → Reports
URL /wp-admin/edit.php?post_type=sunshine-gallery&page=sunshine-reports
Aspect menu-item
HTTP status 200
Load time 1.077 s
Memory usage 5.35 MiB
JS errors None
Resource errors None

Sunshine → Tools

Page screenshot: Sunshine → Tools
URL /wp-admin/edit.php?post_type=sunshine-gallery&page=sunshine-tools
Aspect menu-item
HTTP status 200
Load time 0.595 s
Memory usage 5.35 MiB
JS errors None
Resource errors None

Sunshine → Add-ons

Page screenshot: Sunshine → Add-ons
URL /wp-admin/edit.php?post_type=sunshine-gallery&page=sunshine-addons
Aspect menu-item
HTTP status 200
Load time 1.854 s
Memory usage 5.4 MiB
JS errors None
Resource errors None

Sunshine → Setup Guide

Page screenshot: Sunshine → Setup Guide
URL /wp-admin/edit.php?post_type=sunshine-gallery&page=sunshine-install
Aspect menu-item
HTTP status 200
Load time 0.514 s
Memory usage 5.4 MiB
JS errors None
Resource errors None

Products

Page screenshot: Products
URL /wp-admin/edit.php?post_type=sunshine-product
Aspect menu-item
HTTP status 200
Load time 0.763 s
Memory usage 5.45 MiB
JS errors None
Resource errors None

Products → Add New Product

Page screenshot: Products → Add New Product
URL /wp-admin/post-new.php?post_type=sunshine-product
Aspect menu-item
HTTP status 200
Load time 1.544 s
Memory usage 8.26 MiB
JS errors None
Resource errors None

Products → Product Categories

Page screenshot: Products → Product Categories
URL /wp-admin/edit-tags.php?taxonomy=sunshine-product-category&post_type=sunshine-product
Aspect menu-item
HTTP status 200
Load time 0.841 s
Memory usage 5.36 MiB
JS errors None
Resource errors None

Orders

Page screenshot: Orders
URL /wp-admin/edit.php?post_type=sunshine-order
Aspect menu-item
HTTP status 200
Load time 0.863 s
Memory usage 5.45 MiB
JS errors None
Resource errors None

Orders → Order Statuses

Page screenshot: Orders → Order Statuses
URL /wp-admin/edit-tags.php?taxonomy=sunshine-order-status&post_type=sunshine-order
Aspect menu-item
HTTP status 200
Load time 0.767 s
Memory usage 5.37 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.455 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.726 s
Memory usage 5.4 MiB
JS errors
[
    {
        "message": "TypeError: $(...).tooltip is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/sunshine-photo-cart/assets/js/admin.js?ver=3.5.4.2:105:27)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.8.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.8.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.560 s0.973 s+0.413 s3.51 MiB5.4 MiB+ 1.89 MiB
/wp-admin/edit.php0.312 s0.525 s+0.213 s3.57 MiB5.45 MiB+ 1.88 MiB
/wp-admin/post-new.php1.647 s1.524 s-0.123 s6.06 MiB8.25 MiB+ 2.19 MiB
/wp-admin/upload.php1.038 s0.598 s-0.440 s3.52 MiB5.35 MiB+ 1.82 MiB
/wp-admin/options-writing.php0.372 s0.418 s+0.046 s3.5 MiB5.33 MiB+ 1.83 MiB
/wp-admin/media-new.php0.345 s0.487 s+0.142 s3.49 MiB5.33 MiB+ 1.83 MiB
/wp-admin/edit-tags.php?taxonomy=category0.255 s0.428 s+0.173 s3.5 MiB5.34 MiB+ 1.84 MiB
/wp-admin/post-new.php?post_type=page0.862 s1.271 s+0.409 s6.05 MiB8.24 MiB+ 2.19 MiB
/wp-admin/options-discussion.php0.720 s0.494 s-0.226 s3.5 MiB5.33 MiB+ 1.82 MiB
/wp-admin/edit-comments.php0.431 s0.553 s+0.122 s3.52 MiB5.35 MiB+ 1.82 MiB
/0.503 s0.358 s-0.145 s3.43 MiB4.17 MiB+ 756.74 KiB
Average 0.640 s0.694 s+0.053 s3.97 MiB5.78 MiB+ 1.81 MiB

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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File79.3%159,85994,36219
PHP18.6%37,4713,604258
CSS1.0%2,1111415
JavaScript0.7%1,5041687
SVG0.3%641211
JSON0.0%1101
Total 201,597 98,277 301

PHP Code Analysis | More results »

Lines of code 34,178
Total complexity 6,449
Median class complexity 22.0
Median method complexity 2.0
Most complex class SPC_Cart
Most complex function SPC_Countries::__construct()
Classes 75
Methods 1,247
Functions 364

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.

Database Tables 3

Options wp_options 60

Custom Post Types 3

ID Name
sunshine-galleryGalleries
sunshine-productProducts
sunshine-orderOrders

Meta Boxes

{
    "dashboard": {
        "sunshine-dashboard": {
            "title": "Sunshine Photo Cart Sales Summary",
            "context": "normal"
        },
        "sunshine-dashboard-setup": {
            "title": "Sunshine Photo Cart Setup",
            "context": "side"
        }
    },
    "attachment": {
        "sunshine_image_meta_data": {
            "title": "Metadata",
            "context": "side"
        }
    },
    "sunshine-order": {
        "sunshine-order-sidebar": {
            "title": "Order Actions",
            "context": "side"
        },
        "sunshine-order-data": {
            "title": "Order Data",
            "context": "normal"
        }
    }
}

Roles 2

ID Name
sunshine_customerSunshine Customer
sunshine_managerSunshine Manager

Capabilities 61

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Sunshine Photo Cart: Free Client Photo Galleries for Photographers Admin Menus and More