ChordPress 2.4.1

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.095 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=5859c8ffe2
Aspect after-activation
HTTP status 200
Load time 0.519 s
Memory usage 3.09 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231557545",
        "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.207 s
Memory usage 3.12 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231558508",
        "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.367 s
Memory usage 3.29 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231559062",
        "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.241 s
Memory usage 3.09 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231559649",
        "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.184 s
Memory usage 3.08 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231560052",
        "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.398 s
Memory usage 3.38 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231560662",
        "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.186 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231561144",
        "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.194 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231561645",
        "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.176 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231562294",
        "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.732 s
Memory usage 2.95 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1627231563256",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.666 s+0.317 s3.08 MiB3.13 MiB+ 46.24 KiB
/wp-admin/edit.php0.187 s0.432 s+0.245 s3.11 MiB3.22 MiB+ 112.02 KiB
/wp-admin/post-new.php1.131 s1.539 s+0.408 s5.27 MiB5.32 MiB+ 57.7 KiB
/wp-admin/upload.php0.409 s0.534 s+0.125 s3.03 MiB3.07 MiB+ 45.79 KiB
/wp-admin/options-writing.php0.149 s0.218 s+0.069 s3.02 MiB3.05 MiB+ 30.7 KiB
/wp-admin/media-new.php0.242 s0.237 s-0.005 s3.01 MiB3.05 MiB+ 46.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.222 s+0.055 s3.04 MiB3.08 MiB+ 46.87 KiB
/wp-admin/post-new.php?post_type=page1.240 s0.945 s-0.295 s5.26 MiB5.31 MiB+ 53.28 KiB
/wp-admin/options-discussion.php0.306 s0.303 s-0.003 s3 MiB3.05 MiB+ 47.21 KiB
/wp-admin/edit-comments.php0.249 s0.232 s-0.017 s3.04 MiB3.09 MiB+ 45.5 KiB
/0.299 s0.442 s+0.143 s2.91 MiB2.95 MiB+ 39.3 KiB
Average 0.430 s0.525 s+0.095 s3.43 MiB3.49 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.1%2,5642,05317
CSS23.3%9601442
JavaScript14.6%6035744
DOS Batch0.0%101
Total 4,128 2,771 24

PHP Code Analysis | More results »

Lines of code 1,976
Total complexity 406
Median class complexity 29.0
Median method complexity 1.0
Most complex class ChordPress_Renderer
Most complex function ChordPress_Renderer::displayText()
Classes 10
Methods 99
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

[25-Jul-2021 16:45:58 UTC] PHP Notice:  Undefined index: post_type in /wp-content/plugins/chordpress/admin/class-chordpress-admin.php on line 290
[25-Jul-2021 16:46:00 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[25-Jul-2021 16:46:00 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[25-Jul-2021 16:46:00 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[25-Jul-2021 16:46:00 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[25-Jul-2021 16:46:00 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[25-Jul-2021 16:46:00 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[25-Jul-2021 16:46:01 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[25-Jul-2021 16:46:01 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[25-Jul-2021 16:46:01 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[25-Jul-2021 16:46:02 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 84
[25-Jul-2021 16:46:02 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 116
[25-Jul-2021 16:46:02 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