Flexible Invoices for WooCommerce and WordPress 5.6.10

Does "Flexible Invoices for WooCommerce and WordPress" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
13PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/flexible-invoices/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 14

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=flexible-invoices%2Fflexible-invoices.php&plugin_status=all&paged=1&s&_wpnonce=64aa159d44
Aspect after-activation
HTTP status 200
Load time 0.504 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Invoices

Page screenshot: Invoices
URL /wp-admin/edit.php?post_type=inspire_invoice
Aspect menu-item
HTTP status 200
Load time 0.531 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Invoices → Add New

Page screenshot: Invoices → Add New
URL /wp-admin/post-new.php?post_type=inspire_invoice
Aspect menu-item
HTTP status 200
Load time 0.351 s
Memory usage N/A
JS errors None
Resource errors None

Invoices → Reports

Page screenshot: Invoices → Reports
URL /wp-admin/edit.php?post_type=inspire_invoice&page=flexible-invoices-reports-settings
Aspect menu-item
HTTP status 200
Load time 0.293 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

Invoices → Download

Page screenshot: Invoices → Download
URL /wp-admin/edit.php?post_type=inspire_invoice&page=download
Aspect menu-item
HTTP status 200
Load time 0.304 s
Memory usage 3.21 MiB
JS errors None
Resource errors None

Invoices → Settings

Page screenshot: Invoices → Settings
URL /wp-admin/edit.php?post_type=inspire_invoice&page=invoices_settings
Aspect menu-item
HTTP status 200
Load time 0.331 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Invoices → Settings → Documents

Page screenshot: Invoices → Settings → Documents
URL /wp-admin/edit.php?post_type=inspire_invoice&page=invoices_settings&tab=documents
Aspect menu-item-tab
HTTP status 200
Load time 0.369 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

Invoices → Settings → Currencies

Page screenshot: Invoices → Settings → Currencies
URL /wp-admin/edit.php?post_type=inspire_invoice&page=invoices_settings&tab=currency
Aspect menu-item-tab
HTTP status 200
Load time 0.380 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Invoices → Settings → Tax rates

Page screenshot: Invoices → Settings → Tax rates
URL /wp-admin/edit.php?post_type=inspire_invoice&page=invoices_settings&tab=tax-rates
Aspect menu-item-tab
HTTP status 200
Load time 0.353 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

Invoices → Settings → Invoice Template

Page screenshot: Invoices → Settings → Invoice Template
URL /wp-admin/edit.php?post_type=inspire_invoice&page=invoices_settings&tab=invoice-template
Aspect menu-item-tab
HTTP status 200
Load time 0.546 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Invoices → Settings → Advanced Sending

Page screenshot: Invoices → Settings → Advanced Sending
URL /wp-admin/edit.php?post_type=inspire_invoice&page=invoices_settings&tab=fias-sending
Aspect menu-item-tab
HTTP status 200
Load time 0.816 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Invoices → Help & Support

Page screenshot: Invoices → Help & Support
URL /wp-admin/edit.php?post_type=inspire_invoice&page=wpdesk-marketing
Aspect menu-item
HTTP status 200
Load time 2.209 s
Memory usage 3.33 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.374 s
Memory usage 3.15 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.408 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.281 s0.476 s+0.195 s3.05 MiB3.31 MiB+ 268.01 KiB
/wp-admin/edit.php0.183 s0.253 s+0.070 s3.07 MiB3.39 MiB+ 325 KiB
/wp-admin/post-new.php0.766 s0.858 s+0.092 s4.97 MiB5.22 MiB+ 258.83 KiB
/wp-admin/upload.php0.589 s0.444 s-0.145 s2.99 MiB3.22 MiB+ 228.91 KiB
/wp-admin/options-writing.php0.167 s0.249 s+0.082 s2.99 MiB3.22 MiB+ 239.95 KiB
/wp-admin/media-new.php0.262 s0.300 s+0.038 s2.97 MiB3.22 MiB+ 258.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.290 s+0.112 s2.98 MiB3.26 MiB+ 287.7 KiB
/wp-admin/post-new.php?post_type=page0.597 s0.659 s+0.062 s4.96 MiB5.21 MiB+ 250.41 KiB
/wp-admin/options-discussion.php0.222 s0.295 s+0.073 s2.98 MiB3.22 MiB+ 253.8 KiB
/wp-admin/edit-comments.php0.200 s0.305 s+0.105 s3 MiB3.26 MiB+ 268.15 KiB
/0.271 s0.207 s-0.064 s2.94 MiB3.15 MiB+ 213.94 KiB
Average 0.338 s0.394 s+0.056 s3.35 MiB3.61 MiB+ 259.36 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
Language % Lines of code Comment lines Files
PHP93.5%98,08231,057973
JavaScript2.8%2,9261,01115
CSS2.6%2,6959822
JSON1.1%1,181023
Total 104,884 32,166 1,033

PHP Code Analysis | More results »

Lines of code 710
Total complexity 112
Median class complexity 6.0
Median method complexity 1.0
Most complex class WPDesk\FlexibleInvoices\Tracker\Tracker
Most complex function WPDesk\FlexibleInvoices\Tracker\Tracker::activated_plugin()
Classes 13
Methods 57
Functions 2

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 22

User Metadata wp_usermeta 2

Custom Post Types 1

ID Name
inspire_invoiceInvoices

Meta Boxes

{
    "dashboard": {
        "flexible-invoices": {
            "title": "Grow your business with WP Desk",
            "context": "normal"
        }
    }
}

Capabilities 13

PHP Error Log 22 lines

[09-Jan-2023 15:37:41 UTC] PHP Warning:  Undefined array key "woocommerce" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/invoice_edit/payment_metabox.php on line 131
[09-Jan-2023 15:37:41 UTC] PHP Fatal error:  Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/invoice_edit/payment_metabox.php:131
Stack trace:
#0 /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/wp-view/src/Renderer/SimplePhpRenderer.php(47): include()
#1 /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/src/Invoices/WordPress/RegisterMetaBoxes.php(149): WPDeskFIVendor\WPDesk\View\Renderer\SimplePhpRenderer->output_render()
#2 /wp-admin/includes/template.php(1409): WPDeskFIVendor\WPDesk\Library\FlexibleInvoicesCore\WordPress\RegisterMetaBoxes->payment_box_callback()
#3 /wp-admin/edit-form-advanced.php(688): do_meta_boxes()
#4 /wp-admin/post-new.php(75): require('...')
#5 {main}
  thrown in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/invoice_edit/payment_metabox.php on line 131
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
[09-Jan-2023 15:37:48 UTC] PHP Warning:  Undefined array key "currency" in /wp-content/plugins/flexible-invoices/vendor_prefixed/wpdesk/flexible-invoices-core/templates/settings/table-grouped-fields.php on line 21
See also: All tests for this plugin, How to Hide Flexible Invoices for WooCommerce and WordPress Admin Menus and Widgets