ChordPress 2.5.1

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

Summary

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

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

Page speed impact: 0.074 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 11

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=71b1b1cbbb
Aspect after-activation
HTTP status 200
Load time 0.488 s
Memory usage 3.09 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442139752",
        "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.197 s
Memory usage 3.12 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442140516",
        "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.375 s
Memory usage 3.29 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442141066",
        "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.197 s
Memory usage 3.08 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442141589",
        "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.167 s
Memory usage 3.08 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442141976",
        "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.381 s
Memory usage 3.42 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442142563",
        "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.183 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442143049",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

ChordPress → VexChords Options

Page screenshot: ChordPress → VexChords 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.275 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442143608",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

ChordPress → jTab Options

Page screenshot: ChordPress → jTab Options
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fapps%2Fwordpress%2Fhtdocs%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_jtab
Requested URL /wp-admin/admin.php?page=/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_jtab
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=1628442144182",
        "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.160 s
Memory usage 3.06 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442144567",
        "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 1.093 s
Memory usage 2.95 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://localhost:8203/sockjs-node/info?t=1628442145685",
        "errorString": "net::ERR_CONNECTION_REFUSED"
    }
]

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.672 s+0.384 s3.08 MiB3.13 MiB+ 46.67 KiB
/wp-admin/edit.php0.171 s0.244 s+0.073 s3.11 MiB3.22 MiB+ 112.45 KiB
/wp-admin/post-new.php0.857 s1.215 s+0.358 s5.27 MiB5.32 MiB+ 58.13 KiB
/wp-admin/upload.php0.889 s0.429 s-0.460 s3.03 MiB3.07 MiB+ 46.22 KiB
/wp-admin/options-writing.php0.168 s0.355 s+0.187 s3.02 MiB3.05 MiB+ 31.13 KiB
/wp-admin/media-new.php0.239 s0.249 s+0.010 s3.01 MiB3.05 MiB+ 46.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.195 s+0.018 s3.04 MiB3.08 MiB+ 47.3 KiB
/wp-admin/post-new.php?post_type=page0.708 s0.654 s-0.054 s5.26 MiB5.31 MiB+ 53.71 KiB
/wp-admin/options-discussion.php0.282 s0.236 s-0.046 s3 MiB3.05 MiB+ 47.64 KiB
/wp-admin/edit-comments.php0.214 s0.230 s+0.016 s3.04 MiB3.09 MiB+ 45.93 KiB
/0.351 s0.683 s+0.332 s2.91 MiB2.95 MiB+ 42.64 KiB
Average 0.395 s0.469 s+0.074 s3.43 MiB3.48 MiB+ 52.59 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
PHP46.9%2,9912,15818
CSS43.6%2,7841472
JavaScript9.5%6035744
DOS Batch0.0%101
Total 6,379 2,879 25

PHP Code Analysis | More results »

Lines of code 2,352
Total complexity 430
Median class complexity 26.0
Median method complexity 1.0
Most complex class ChordPress_Renderer
Most complex function ChordPress_Renderer::displayText()
Classes 11
Methods 103
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 16 lines

[08-Aug-2021 17:02:20 UTC] PHP Notice:  Undefined index: post_type in /wp-content/plugins/chordpress/admin/class-chordpress-admin.php on line 278
[08-Aug-2021 17:02:22 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 77
[08-Aug-2021 17:02:22 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 106
[08-Aug-2021 17:02:22 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[08-Aug-2021 17:02:22 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 77
[08-Aug-2021 17:02:22 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 106
[08-Aug-2021 17:02:22 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[08-Aug-2021 17:02:23 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 77
[08-Aug-2021 17:02:23 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 106
[08-Aug-2021 17:02:23 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[08-Aug-2021 17:02:24 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 77
[08-Aug-2021 17:02:24 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 106
[08-Aug-2021 17:02:24 UTC] PHP Notice:  Undefined variable: pnmae in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 317
[08-Aug-2021 17:02:24 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 77
[08-Aug-2021 17:02:24 UTC] PHP Notice:  Undefined variable: show_alert in /wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php on line 106
[08-Aug-2021 17:02:24 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