M Chart 1.8.1

Does M Chart work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 197.03 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/m-chart/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=m-chart%2Fm-chart.php&plugin_status=all&paged=1&s&_wpnonce=843ba13e13
Aspect after-activation
HTTP status 200
Load time 0.269 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Charts

Page screenshot: Charts
URL /wp-admin/edit.php?post_type=m-chart
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Charts → Add Chart

Page screenshot: Charts → Add Chart
URL /wp-admin/post-new.php?post_type=m-chart
Aspect menu-item
HTTP status 200
Load time 1.921 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Charts → Categories

Page screenshot: Charts → Categories
URL /wp-admin/edit-tags.php?taxonomy=category&post_type=m-chart
Aspect menu-item
HTTP status 200
Load time 0.239 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Charts → Tags

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

Charts → Chart Units

Page screenshot: Charts → Chart Units
URL /wp-admin/edit-tags.php?taxonomy=m-chart-units&post_type=m-chart
Aspect menu-item
HTTP status 200
Load time 0.222 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Charts → Settings

Page screenshot: Charts → Settings
URL /wp-admin/edit.php?post_type=m-chart&page=m-chart-settings
Aspect menu-item
HTTP status 200
Load time 0.161 s
Memory usage 3.5 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.274 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.270 s-0.078 s3.36 MiB3.55 MiB+ 188.53 KiB
/wp-admin/edit.php0.175 s0.188 s+0.013 s3.39 MiB3.58 MiB+ 187.82 KiB
/wp-admin/post-new.php0.988 s1.286 s+0.298 s6.14 MiB6.33 MiB+ 193.08 KiB
/wp-admin/upload.php0.438 s0.491 s+0.053 s3.24 MiB3.43 MiB+ 197.45 KiB
/wp-admin/options-writing.php0.285 s0.160 s-0.125 s3.24 MiB3.41 MiB+ 179.25 KiB
/wp-admin/media-new.php0.291 s0.227 s-0.064 s3.22 MiB3.41 MiB+ 198.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.184 s-0.001 s3.25 MiB3.51 MiB+ 260.48 KiB
/wp-admin/post-new.php?post_type=page0.964 s0.958 s-0.006 s6.14 MiB6.32 MiB+ 188.66 KiB
/wp-admin/options-discussion.php0.238 s0.230 s-0.008 s3.22 MiB3.41 MiB+ 198.69 KiB
/wp-admin/edit-comments.php0.222 s0.207 s-0.015 s3.26 MiB3.51 MiB+ 252 KiB
/0.281 s0.205 s-0.076 s3.4 MiB3.52 MiB+ 123.12 KiB
Average 0.401 s0.401 s-0.001 s3.81 MiB4 MiB+ 197.03 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP60.2%2,67566719
PO File14.2%6303162
JavaScript12.4%551913
CSS7.5%33411
SVG5.0%2241216
Markdown0.6%2801
Total 4,442 1,087 42

PHP Code Analysis | More results »

Lines of code 1,950
Total complexity 440
Median class complexity 114.0
Median method complexity 3.0
Most complex class M_Chart
Most complex function M_Chart_Chartjs::get_chart_args()
Classes 4
Methods 83
Functions 1

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.

Options wp_options 2

Custom Post Types 1

ID Name
m-chartCharts

PHP Error Log 2 lines

[27-Jan-2022 11:21:22 UTC] PHP Notice:  Undefined variable: width in /wp-content/plugins/m-chart/components/templates/chartjs-chart.php on line 9
[27-Jan-2022 11:21:23 UTC] PHP Notice:  Undefined variable: disabled in /wp-content/plugins/m-chart/components/templates/chartjs-settings.php on line 106
See also: All tests for this plugin, How to Hide M Chart Admin Menus