ChordPress 2.4.2

Does ChordPress work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
13PHP notices
No JavaScript exceptions
All test pages loaded successfully
10Resource errors (CSS, JS, images, fonts and so on.)
  • 10 net::ERR_CONNECTION_REFUSED
Performance

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

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

Environment
WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/chordpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=chordpress%2Fchordpress.php&plugin_status=all&paged=1&s&_wpnonce=62b7cbddc9
Aspect after-activation
HTTP status 200
Load time 0.531 s
Memory usage 3.09 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192027033",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Guitar Chords

Page screenshot: Guitar Chords
URL /wp-admin/edit.php?post_type=guitar_chord
Aspect menu-item
HTTP status 200
Load time 0.214 s
Memory usage 3.12 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192027949",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Guitar Chords → Add New

Page screenshot: Guitar Chords → Add New
URL /wp-admin/post-new.php?post_type=guitar_chord
Aspect menu-item
HTTP status 200
Load time 0.381 s
Memory usage 3.29 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192028526",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Guitar Chords → Categories

Page screenshot: Guitar Chords → Categories
URL /wp-admin/edit-tags.php?taxonomy=category&post_type=guitar_chord
Aspect menu-item
HTTP status 200
Load time 0.219 s
Memory usage 3.08 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192029073",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Guitar Chords → Tags

Page screenshot: Guitar Chords → Tags
URL /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=guitar_chord
Aspect menu-item
HTTP status 200
Load time 0.378 s
Memory usage 3.07 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192029695",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

ChordPress

Page screenshot: ChordPress
URL /wp-admin/admin.php?page=chordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php
Requested URL /wp-admin/admin.php?page=chordpress/admin/partials/chordpress-admin-options.php
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 3.38 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192030103",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

ChordPress → Formatting Options

Page screenshot: ChordPress → Formatting Options
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fapps%2Fwordpress%2Fhtdocs%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_formatting
Requested URL /wp-admin/admin.php?page=/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_formatting
Aspect menu-item-tab
HTTP status 200
Load time 0.175 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192030571",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

ChordPress → Chord Diagram Options

Page screenshot: ChordPress → Chord Diagram Options
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fapps%2Fwordpress%2Fhtdocs%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_chord
Requested URL /wp-admin/admin.php?page=/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_chord
Aspect menu-item-tab
HTTP status 200
Load time 0.316 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192031139",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

ChordPress → Plugin Options

Page screenshot: ChordPress → Plugin Options
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fapps%2Fwordpress%2Fhtdocs%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_plugin
Requested URL /wp-admin/admin.php?page=/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_plugin
Aspect menu-item-tab
HTTP status 200
Load time 0.161 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192031726",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.697 s
Memory usage 2.95 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628192032618",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.655 s+0.347 s3.08 MiB3.13 MiB+ 46.24 KiB
/wp-admin/edit.php0.184 s0.288 s+0.104 s3.11 MiB3.22 MiB+ 112.02 KiB
/wp-admin/post-new.php0.939 s1.379 s+0.440 s5.27 MiB5.32 MiB+ 57.7 KiB
/wp-admin/upload.php0.612 s0.539 s-0.073 s3.03 MiB3.07 MiB+ 45.79 KiB
/wp-admin/options-writing.php0.151 s0.200 s+0.049 s3.02 MiB3.05 MiB+ 30.7 KiB
/wp-admin/media-new.php0.257 s0.354 s+0.097 s3.01 MiB3.05 MiB+ 46.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.218 s+0.022 s3.04 MiB3.08 MiB+ 46.87 KiB
/wp-admin/post-new.php?post_type=page1.203 s1.211 s+0.008 s5.26 MiB5.31 MiB+ 53.28 KiB
/wp-admin/options-discussion.php0.277 s0.467 s+0.190 s3 MiB3.05 MiB+ 47.21 KiB
/wp-admin/edit-comments.php0.268 s0.250 s-0.018 s3.04 MiB3.09 MiB+ 45.5 KiB
/0.331 s0.311 s-0.020 s2.91 MiB2.95 MiB+ 39.3 KiB
Average 0.430 s0.534 s+0.104 s3.43 MiB3.48 MiB+ 51.9 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
PHP62.2%2,5762,06217
CSS23.2%9601442
JavaScript14.6%6035744
DOS Batch0.0%101
Total 4,140 2,780 24

PHP Code Analysis | More results »

Lines of code 1,988
Total complexity 408
Median class complexity 29.0
Median method complexity 1.0
Most complex class ChordPress_Renderer
Most complex function ChordPress_Renderer::displayText()
Classes 10
Methods 100
Functions 8

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
guitar_chordGuitar Chords

Meta Boxes

{
    "guitar_chord": {
        "guitar_chord_meta_box": {
            "title": "Guitar Chord Details",
            "context": "normal"
        }
    }
}

PHP Error Log 13 lines

[05-Aug-2021 19:33:48 UTC] PHP Notice:  Undefined index: post_type in /wp-content/plugins/chordpress/admin/class-chordpress-admin.php on line 278
[05-Aug-2021 19:33:49 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[05-Aug-2021 19:33:49 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[05-Aug-2021 19:33:49 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[05-Aug-2021 19:33:50 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[05-Aug-2021 19:33:50 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[05-Aug-2021 19:33:50 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[05-Aug-2021 19:33:50 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[05-Aug-2021 19:33:50 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[05-Aug-2021 19:33:50 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[05-Aug-2021 19:33:51 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[05-Aug-2021 19:33:51 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[05-Aug-2021 19:33:51 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
See also: All tests for this plugin, How to Hide Lewe ChordPress Admin Menus and Meta Boxes