Quote Calculator Constructor 1.1

Does Quote Calculator Constructor work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/quote-calculator-constructor/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=quote-calculator-constructor%2Fwp-calc-creator.php&plugin_status=all&paged=1&s&_wpnonce=f9b9899616
Aspect after-activation
HTTP status 200
Load time 0.535 s
Memory usage 3.46 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at parse (<anonymous>)\n    at Function.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:5:3161)\n    at Function.e.<computed> [as parseJSON] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:5:1582)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/quote-calculator-constructor/modules/js/admin.js?ver=6.5.2:398:19)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Calculators

Page screenshot: Calculators
URL /wp-admin/edit.php?post_type=calculator
Aspect menu-item
HTTP status 200
Load time 0.356 s
Memory usage 3.48 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at parse (<anonymous>)\n    at Function.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:5:3161)\n    at Function.e.<computed> [as parseJSON] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:5:1582)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/quote-calculator-constructor/modules/js/admin.js?ver=6.5.2:398:19)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,moxiejs,plupload,jquery-ui-mouse,jquery-ui-sortable&ver=6.5.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Calculators → Add New

Page screenshot: Calculators → Add New
URL /wp-admin/post-new.php?post_type=calculator
Aspect menu-item
HTTP status 200
Load time 0.486 s
Memory usage 3.5 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.529 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.425 s+0.055 s3.44 MiB3.5 MiB+ 63.48 KiB
/wp-admin/edit.php0.219 s0.386 s+0.167 s3.46 MiB3.53 MiB+ 67.25 KiB
/wp-admin/post-new.php0.952 s0.906 s-0.046 s5.59 MiB5.67 MiB+ 82.05 KiB
/wp-admin/upload.php0.580 s0.511 s-0.069 s3.38 MiB3.42 MiB+ 39.04 KiB
/wp-admin/options-writing.php0.227 s0.368 s+0.141 s3.37 MiB3.42 MiB+ 44.88 KiB
/wp-admin/media-new.php0.326 s0.354 s+0.028 s3.35 MiB3.42 MiB+ 68.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.367 s+0.171 s3.37 MiB3.44 MiB+ 71.1 KiB
/wp-admin/post-new.php?post_type=page0.562 s0.591 s+0.029 s5.59 MiB5.66 MiB+ 78.42 KiB
/wp-admin/options-discussion.php0.338 s0.714 s+0.376 s3.36 MiB3.42 MiB+ 63.85 KiB
/wp-admin/edit-comments.php0.250 s0.328 s+0.078 s3.39 MiB3.45 MiB+ 58 KiB
/0.313 s0.459 s+0.146 s3.42 MiB3.44 MiB+ 20.33 KiB
Average 0.394 s0.492 s+0.098 s3.79 MiB3.85 MiB+ 59.75 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.

CSS
Sass
JavaScript
Language % Lines of code Comment lines Files
CSS58.4%19,137789
Sass17.0%5,56915665
JavaScript13.5%4,41969311
LESS3.5%1,1372712
Markdown3.5%1,13402
PHP2.3%740298
SVG1.5%50401
JSON0.2%7801
PO File0.2%536471
Total 32,771 1,630 110

PHP Code Analysis | More results »

Lines of code 785
Total complexity 122
Median class complexity 13.0
Median method complexity 1.5
Most complex class formElementsClassEditor
Most complex function formElementsClassEditor::generate_result_block()
Classes 6
Methods 20
Functions 5

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.

Custom Post Types 1

ID Name
calculatorCalculator

Meta Boxes

{
    "calculator": {
        "custom_meta_editor_378": {
            "title": "Calculator Constructor",
            "context": "advanced"
        },
        "custom_meta_editor_199": {
            "title": "Calculator Constructor",
            "context": "advanced"
        }
    }
}

PHP Error Log 30 lines

[20-Apr-2024 11:49:58 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:00 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:00 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined array key "post_type" in /wp-content/plugins/quote-calculator-constructor/modules/meta_box.php on line 62
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined array key "interface_data" in /wp-content/plugins/quote-calculator-constructor/modules/meta_box.php on line 79
[20-Apr-2024 11:50:01 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/quote-calculator-constructor/modules/meta_box.php on line 79
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined array key "width" in /wp-content/plugins/quote-calculator-constructor/modules/formElementsClass.php on line 25
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined array key "id" in /wp-content/plugins/quote-calculator-constructor/modules/formElementsClass.php on line 27
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined array key "sub_text" in /wp-content/plugins/quote-calculator-constructor/modules/formElementsClass.php on line 33
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined variable $out in /wp-content/plugins/quote-calculator-constructor/modules/formElementsClass.php on line 33
[20-Apr-2024 11:50:01 UTC] PHP Warning:  Undefined variable $out in /wp-content/plugins/quote-calculator-constructor/modules/formElementsClass.php on line 261
[20-Apr-2024 11:50:02 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:04 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:04 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:04 UTC] PHP Warning:  Undefined array key "post_type" in /wp-content/plugins/quote-calculator-constructor/modules/meta_box.php on line 62
[20-Apr-2024 11:50:05 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:05 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:08 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:09 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:09 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:09 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:10 UTC] PHP Warning:  Undefined array key "post_type" in /wp-content/plugins/quote-calculator-constructor/modules/meta_box.php on line 62
[20-Apr-2024 11:50:10 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:10 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:13 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:14 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:14 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:15 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
[20-Apr-2024 11:50:15 UTC] PHP Warning:  Undefined array key "localization" in /wp-content/plugins/quote-calculator-constructor/modules/scripts.php on line 53
See also: All tests for this plugin, How to Hide Quote Calculator Constructor Admin Menus and Meta Boxes