M Chart 1.8

Does M Chart work with WordPress 5.7.2 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: 201.45 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.7.2
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=39b485eeb9
Aspect after-activation
HTTP status 200
Load time 0.261 s
Memory usage 2.98 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.188 s
Memory usage 3.01 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 2.259 s
Memory usage 3.42 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.366 s
Memory usage 2.97 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.167 s
Memory usage 2.96 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.214 s
Memory usage 3.07 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.160 s
Memory usage 2.98 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.232 s
Memory usage 2.82 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.276 s0.670 s+0.394 s2.82 MiB3.02 MiB+ 199.59 KiB
/wp-admin/edit.php0.184 s0.224 s+0.040 s2.86 MiB3.06 MiB+ 199.59 KiB
/wp-admin/post-new.php0.927 s1.171 s+0.244 s5.02 MiB5.23 MiB+ 212.77 KiB
/wp-admin/upload.php0.504 s0.315 s-0.189 s2.7 MiB2.95 MiB+ 256.8 KiB
/wp-admin/options-writing.php0.237 s0.155 s-0.082 s2.71 MiB2.87 MiB+ 166.44 KiB
/wp-admin/media-new.php0.231 s0.332 s+0.101 s2.67 MiB2.87 MiB+ 201.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.208 s+0.016 s2.77 MiB2.97 MiB+ 199.54 KiB
/wp-admin/post-new.php?post_type=page1.192 s1.190 s-0.002 s5.01 MiB5.21 MiB+ 208.66 KiB
/wp-admin/options-discussion.php0.331 s0.293 s-0.038 s2.67 MiB2.87 MiB+ 201.75 KiB
/wp-admin/edit-comments.php0.223 s0.234 s+0.011 s2.78 MiB2.97 MiB+ 199.06 KiB
/0.255 s0.223 s-0.032 s2.65 MiB2.82 MiB+ 170.41 KiB
Average 0.414 s0.456 s+0.042 s3.15 MiB3.35 MiB+ 201.45 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

[14-May-2021 12:09:36 UTC] PHP Notice:  Undefined variable: width in /wp-content/plugins/m-chart/components/templates/chartjs-chart.php on line 9
[14-May-2021 12:09:37 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