Cost Calculator 1.7

Does Cost Calculator work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
7PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 84.28 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 version5.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/nd-projects/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 15

About ‹ Test site — WordPress

Page screenshot: About ‹ Test site — WordPress
URL /wp-admin/admin.php?page=nd-cc-welcome-theme-page
Requested URL /wp-admin/plugins.php?action=activate&plugin=nd-projects%2Fnd-projects.php&plugin_status=all&paged=1&s&_wpnonce=f009959d61
Aspect after-activation
HTTP status 200
Load time 0.682 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Posts → Categories

Page screenshot: Posts → Categories
URL /wp-admin/edit-tags.php?taxonomy=nd_cc_cpt_1_tax_1
Aspect menu-item
HTTP status 200
Load time 0.168 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Projects

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

Projects → Add New

Page screenshot: Projects → Add New
URL /wp-admin/post-new.php?post_type=nd_cc_cpt_1
Aspect menu-item
HTTP status 200
Load time 0.904 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Projects → Tags

Page screenshot: Projects → Tags
URL /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=nd_cc_cpt_1
Aspect menu-item
HTTP status 200
Load time 0.199 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Projects → Categories

Page screenshot: Projects → Categories
URL /wp-admin/edit-tags.php?taxonomy=nd_cc_cpt_1_tax_1&post_type=nd_cc_cpt_1
Aspect menu-item
HTTP status 200
Load time 0.143 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Authors

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

Authors → Add New

Page screenshot: Authors → Add New
URL /wp-admin/post-new.php?post_type=nd_cc_cpt_2
Aspect menu-item
HTTP status 200
Load time 0.552 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Cost Calculator

Page screenshot: Cost Calculator
URL /wp-admin/edit.php?post_type=cost-calculator
Aspect menu-item
HTTP status 200
Load time 0.161 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Cost Calculator → Add New

Page screenshot: Cost Calculator → Add New
URL /wp-admin/post-new.php?post_type=cost-calculator
Aspect menu-item
HTTP status 200
Load time 0.411 s
Memory usage 4.21 MiB
JS errors None
Resource errors None

Projects Plugin

Page screenshot: Projects Plugin
URL /wp-admin/admin.php?page=nd-projects-settings
Aspect menu-item
HTTP status 200
Load time 0.132 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Projects Plugin → Import Export

Page screenshot: Projects Plugin → Import Export
URL /wp-admin/admin.php?page=nd-projects-settings-import-export
Aspect menu-item
HTTP status 200
Load time 0.122 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Projects Plugin → About

Page screenshot: Projects Plugin → About
URL /wp-admin/admin.php?page=nd-cc-welcome-theme-page
Aspect menu-item
HTTP status 200
Load time 0.387 s
Memory usage 3.31 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.229 s
Memory usage 3.41 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.679 s
Memory usage 5.75 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.328 s0.317 s-0.011 s3.37 MiB3.46 MiB+ 88.43 KiB
/wp-admin/edit.php0.160 s0.168 s+0.008 s3.4 MiB3.49 MiB+ 90.39 KiB
/wp-admin/post-new.php0.809 s0.820 s+0.011 s5.65 MiB5.75 MiB+ 99.45 KiB
/wp-admin/upload.php0.356 s0.292 s-0.064 s3.25 MiB3.34 MiB+ 94.88 KiB
/wp-admin/options-writing.php0.260 s0.133 s-0.127 s3.24 MiB3.32 MiB+ 78.73 KiB
/wp-admin/media-new.php0.254 s0.168 s-0.086 s3.23 MiB3.32 MiB+ 95.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.259 s+0.092 s3.27 MiB3.35 MiB+ 87.95 KiB
/wp-admin/post-new.php?post_type=page0.692 s0.960 s+0.268 s5.65 MiB5.74 MiB+ 94.16 KiB
/wp-admin/options-discussion.php0.227 s0.249 s+0.022 s3.22 MiB3.32 MiB+ 95.36 KiB
/wp-admin/edit-comments.php0.245 s0.184 s-0.061 s3.27 MiB3.35 MiB+ 86.9 KiB
/0.249 s0.184 s-0.065 s3.4 MiB3.41 MiB+ 15.78 KiB
Average 0.341 s0.339 s-0.001 s3.72 MiB3.8 MiB+ 84.28 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
Language % Lines of code Comment lines Files
PHP86.5%3,87442928
CSS13.2%589382
JavaScript0.4%16101
Total 4,479 477 31

PHP Code Analysis | More results »

Lines of code 3,500
Total complexity 281
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function nd_cc_meta_box_cost_save()
Classes 0
Methods 0
Functions 47

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 3

ID Name
nd_cc_cpt_1Projects
nd_cc_cpt_2Authors
cost-calculatorCost Calculator

Meta Boxes

{
    "post": {
        "nd_cc_cpt_1_tax_1div": {
            "title": "Categories",
            "context": "side"
        }
    },
    "cost-calculator": {
        "nd-cc-meta-box-cost-shortcode": {
            "title": "Cost Settings",
            "context": "normal"
        },
        "nd-cc-meta-box-cost-id": {
            "title": "Cost Settings",
            "context": "normal"
        },
        "nd-cc-meta-box-cost-id-settings": {
            "title": "Cost Settings",
            "context": "normal"
        }
    },
    "nd_cc_cpt_1": {
        "nd_cc_metabox_cpt_1": {
            "title": "Metabox",
            "context": "normal"
        }
    },
    "nd_cc_cpt_2": {
        "nd_cc_metabox_cpt_2": {
            "title": "Metabox",
            "context": "normal"
        }
    }
}

PHP Error Log 7 lines

[06-Apr-2022 14:01:40 UTC] PHP Notice:  wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code>&lt;script&gt;</code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 14:01:40 UTC] PHP Notice:  wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code>&lt;script&gt;</code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 14:01:40 UTC] PHP Notice:  wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code>&lt;script&gt;</code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 14:01:40 UTC] PHP Notice:  wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code>&lt;script&gt;</code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 14:01:40 UTC] PHP Notice:  wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code>&lt;script&gt;</code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 14:01:40 UTC] PHP Notice:  wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code>&lt;script&gt;</code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 14:01:40 UTC] PHP Notice:  wp_add_inline_script was called <strong>incorrectly</strong>. Do not pass <code>&lt;script&gt;</code> tags to <code>wp_add_inline_script()</code>. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.5.0.) in /wp-includes/functions.php on line 5775
See also: All tests for this plugin, How to Hide Cost Calculator Admin Menus and Meta Boxes