Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.63ms] Passed 4 tests
An overview of server-side resources used by Advance Chart Addon for Elementor - WPTD
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.60 ▼7.67 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.54 ▼2.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.24 ▲3.75 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.70 ▼11.53 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.49 ▲2.77 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advance Chart Addon for Elementor - WPTD
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.34 ▲0.08 | 1.79 ▲0.07 | 38.71 ▼4.13 |
Dashboard /wp-admin | 2,221 ▲41 | 5.64 ▼0.08 | 91.88 ▲3.06 | 39.89 ▲5.08 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.02 ▲0.02 | 40.85 ▼7.32 | 37.71 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,558 ▲24 | 18.56 ▲0.44 | 608.40 ▲11.71 | 60.15 ▼8.21 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.22 ▼0.15 | 97.09 ▼5.02 | 42.35 ▼1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/wptd-chart/inc/class.elementor.settings.php:53
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Plugin' not found in wp-content/plugins/wptd-chart/inc/class.wptd-chart.php:51
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wptd-chart/widgets/chart.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wptd-chart/admin/admin-page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wptd-chart/admin/wptd-settings.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: data to chart, chart, free chart, elementor chart, line chart...
wptd-chart/wptd-chart.php 92% from 13 tests
The principal PHP file in "Advance Chart Addon for Elementor - WPTD" v. 1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 267 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected859 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 109 | 247 | 533 |
CSS | 3 | 14 | 21 | 197 |
JavaScript | 2 | 16 | 13 | 117 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 2 | 40.00% |
Methods | 33 | |
▷ Static methods | 5 | 15.15% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 2 | 6.06% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 9.15KB | 4.38KB | ▼ 52.19% |