Lewe ChordPress 3.3.2

Does Lewe ChordPress work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 12

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=234116c1e2
Aspect after-activation
HTTP status 200
Load time 0.300 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Guitar Chords

Page screenshot: Guitar Chords
URL /wp-admin/edit.php?post_type=guitar_chord
Aspect menu-item
HTTP status 200
Load time 0.236 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

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.282 s
Memory usage 3.25 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'querySelector' on 'Document': '#5BVD6FfU1a' is not a valid selector.\n    at makeInstance (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:507:41)\n    at Svg.addTo (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:2752:16)\n    at new SvgJsRenderer (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:7484:35)\n    at SVGuitarChord.get (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:7678:53)\n    at SVGuitarChord.configure (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:7697:22)\n    at drawChord5BVD6FfU1a (/wp-admin/post-new.php?post_type=guitar_chord:514:18)\n    at /wp-admin/post-new.php?post_type=guitar_chord:550:13",
        "trace": null,
        "code": null
    }
]
Resource errors None

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.202 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

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.186 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

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.234 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

ChordPress → Formatting Options

Page screenshot: ChordPress → Formatting Options
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fwordpress%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_formatting
Requested URL /wp-admin/admin.php?page=/opt/bitnami/wordpress/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_formatting
Aspect menu-item-tab
HTTP status 200
Load time 0.198 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

ChordPress → Chord Diagram Options

Page screenshot: ChordPress → Chord Diagram Options
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fwordpress%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_chord
Requested URL /wp-admin/admin.php?page=/opt/bitnami/wordpress/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_chord
Aspect menu-item-tab
HTTP status 200
Load time 0.199 s
Memory usage 3.05 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'querySelector' on 'Document': '#3h1gH0IboN' is not a valid selector.\n    at makeInstance (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:507:41)\n    at Svg.addTo (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:2752:16)\n    at new SvgJsRenderer (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:7484:35)\n    at SVGuitarChord.get (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:7678:53)\n    at SVGuitarChord.configure (/wp-content/plugins/chordpress/global/js/svguitar.umd.js?ver=6.1.1:7697:22)\n    at drawChord3h1gH0IboN (/wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fwordpress%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_chord:395:18)\n    at /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fwordpress%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_chord:431:13",
        "trace": null,
        "code": null
    }
]
Resource errors None

ChordPress → Add Chords

Page screenshot: ChordPress → Add Chords
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fwordpress%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_samples
Requested URL /wp-admin/admin.php?page=/opt/bitnami/wordpress/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_samples
Aspect menu-item-tab
HTTP status 200
Load time 0.194 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

ChordPress → Plugin Options

Page screenshot: ChordPress → Plugin Options
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fwordpress%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_plugin_options
Requested URL /wp-admin/admin.php?page=/opt/bitnami/wordpress/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_plugin_options
Aspect menu-item-tab
HTTP status 200
Load time 0.207 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

ChordPress → Plugin Info

Page screenshot: ChordPress → Plugin Info
URL /wp-admin/admin.php?page=%2Fopt%2Fbitnami%2Fwordpress%2Fwp-content%2Fplugins%2Fchordpress%2Fadmin%2Fpartials%2Fchordpress-admin-options.php&tab=tab_plugin_info
Requested URL /wp-admin/admin.php?page=/opt/bitnami/wordpress/wp-content/plugins/chordpress/admin/partials/chordpress-admin-options.php&tab=tab_plugin_info
Aspect menu-item-tab
HTTP status 200
Load time 0.177 s
Memory usage 3.05 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.239 s
Memory usage 2.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.557 s+0.291 s3.05 MiB3.1 MiB+ 51.3 KiB
/wp-admin/edit.php0.162 s0.197 s+0.035 s3.07 MiB3.13 MiB+ 51.98 KiB
/wp-admin/post-new.php0.747 s0.957 s+0.210 s4.97 MiB5.03 MiB+ 61.2 KiB
/wp-admin/upload.php0.573 s0.259 s-0.314 s2.99 MiB3.03 MiB+ 34.57 KiB
/wp-admin/options-writing.php0.161 s0.154 s-0.007 s2.99 MiB3.01 MiB+ 22.16 KiB
/wp-admin/media-new.php0.259 s0.239 s-0.020 s2.97 MiB3.01 MiB+ 47.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.355 s0.205 s-0.150 s2.98 MiB3.03 MiB+ 51.93 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.760 s+0.143 s4.96 MiB5.01 MiB+ 52.79 KiB
/wp-admin/options-discussion.php0.201 s0.298 s+0.097 s2.97 MiB3.01 MiB+ 36 KiB
/wp-admin/edit-comments.php0.207 s0.216 s+0.009 s3 MiB3.03 MiB+ 35.02 KiB
/0.277 s0.232 s-0.045 s2.94 MiB2.99 MiB+ 43.34 KiB
Average 0.348 s0.370 s+0.023 s3.35 MiB3.4 MiB+ 44.31 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.

JavaScript
CSS
PHP
Language % Lines of code Comment lines Files
JavaScript43.0%5,8791,1294
CSS33.9%4,6321482
PHP23.2%3,1692,19717
DOS Batch0.0%101
Total 13,681 3,474 24

PHP Code Analysis | More results »

Lines of code 2,082
Total complexity 397
Median class complexity 25.5
Median method complexity 1.0
Most complex class ChordPress_Renderer
Most complex function ChordPress_Renderer::formatAndDisplayLine()
Classes 10
Methods 105
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 7 lines

[26-Feb-2023 08:57:18 UTC] PHP Deprecated:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/chordpress/includes/class-chordpress-chord.php on line 437
[26-Feb-2023 08:57:21 UTC] PHP Deprecated:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/chordpress/includes/class-chordpress-chord.php on line 437
[26-Feb-2023 08:57:22 UTC] PHP Deprecated:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/chordpress/includes/class-chordpress-chord.php on line 437
[26-Feb-2023 08:57:23 UTC] PHP Deprecated:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/chordpress/includes/class-chordpress-chord.php on line 437
[26-Feb-2023 08:57:24 UTC] PHP Deprecated:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/chordpress/includes/class-chordpress-chord.php on line 437
[26-Feb-2023 08:57:25 UTC] PHP Deprecated:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/chordpress/includes/class-chordpress-chord.php on line 437
[26-Feb-2023 08:57:26 UTC] PHP Deprecated:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/chordpress/includes/class-chordpress-chord.php on line 437
See also: All tests for this plugin, How to Hide Lewe ChordPress Admin Menus and Meta Boxes