Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.43MB] [CPU: ▲2.33ms] 75% from 4 tests
Server-side resources used by Best Chart Plugin - Chartify
It is recommended to improve the following
- CPU: You should keep total CPU usage under 500.00ms (currently 4,880.94ms on /wp-admin/admin.php?page=chart-builder-featured-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.86 ▲1.40 | 42.20 ▲2.28 |
Dashboard /wp-admin | 4.75 ▲1.45 | 53.86 ▲8.07 |
Posts /wp-admin/edit.php | 4.78 ▲1.43 | 56.85 ▲11.68 |
Add New Post /wp-admin/post-new.php | 7.45 ▲1.56 | 84.18 ▼6.02 |
Media Library /wp-admin/upload.php | 4.69 ▲1.46 | 42.07 ▲4.97 |
All Charts /wp-admin/admin.php?page=chart-builder | 4.83 | 104.90 |
Add New /wp-admin/admin.php?page=chart-builder&action=add | 5.34 | 76.23 |
Our products /wp-admin/admin.php?page=chart-builder-featured-plugins | 5.22 | 4,880.94 |
How to use /wp-admin/admin.php?page=chart-builder-dashboard | 4.64 | 51.24 |
General Settings /wp-admin/admin.php?page=chart-builder-settings | 4.68 | 76.12 |
PRO Features /wp-admin/admin.php?page=chart-builder-chart-features | 4.74 | 51.24 |
Server storage [IO: ▲3.10MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 177 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_ayschart_charts |
wp_ayschart_settings |
wp_ayschart_charts_meta |
New WordPress options |
---|
ays_chart_sale_btn |
widget_recent-comments |
ays_chart_20_bundle_banner_time |
ays_chart_db_version |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Best Chart Plugin - Chartify
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲222 | 13.82 ▼0.42 | 12.21 ▲10.53 | 31.88 ▼12.32 |
Dashboard /wp-admin | 2,234 ▲56 | 5.52 ▼0.19 | 89.24 ▼26.86 | 84.41 ▲39.04 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 1.99 ▲0.03 | 38.58 ▲1.70 | 38.23 ▲3.01 |
Add New Post /wp-admin/post-new.php | 6,408 ▲4,882 | 27.92 ▲4.78 | 1,023.84 ▲351.50 | 69.03 ▲23.04 |
Media Library /wp-admin/upload.php | 1,442 ▲45 | 4.16 ▼0.02 | 94.26 ▼4.49 | 75.97 ▲30.77 |
All Charts /wp-admin/admin.php?page=chart-builder | 2,047 | 11.37 | 386.11 | 123.74 |
Add New /wp-admin/admin.php?page=chart-builder&action=add | 7,024 | 6.22 | 151.74 | 117.08 |
Our products /wp-admin/admin.php?page=chart-builder-featured-plugins | 1,405 | 4.77 | 49.04 | 58.28 |
How to use /wp-admin/admin.php?page=chart-builder-dashboard | 1,803 | 15.68 | 298.94 | 68.42 |
General Settings /wp-admin/admin.php?page=chart-builder-settings | 1,668 | 5.31 | 72.41 | 64.19 |
PRO Features /wp-admin/admin.php?page=chart-builder-chart-features | 2,200 | 4.96 | 47.07 | 75.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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: 8 options
- ays_chart_sale_btn
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- ays_chart_20_bundle_banner_time
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/chart-builder/public/partials/chart-builder-public-display.php
- 19× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ChartBuilder\\Helpers\\Chart_Builder_Plugin_Silent_Upgrader_Skin' not found in wp-content/plugins/chart-builder/includes/admin/class-chart-builder-skin.php:11
- > PHP Warning
Use of undefined constant CHART_BUILDER_ADMIN_URL - assumed 'CHART_BUILDER_ADMIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/chart-builder/admin/partials/settings/chart-builder-settings.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/chart-builder/includes/admin/class-chart-builder-upgrader.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader-skin.php' (include_path='.:/usr/share/php') in wp-content/plugins/chart-builder/includes/admin/class-chart-builder-install-skin.php on line 6
- > PHP Warning
Use of undefined constant CHART_BUILDER_ADMIN_PATH - assumed 'CHART_BUILDER_ADMIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/chart-builder/admin/partials/charts/actions/chart-builder-charts-actions.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/chart-builder/includes/admin/class-chart-builder-upgrader.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/chart-builder/admin/partials/features/chart-builder-features-display.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function CBActions() in wp-content/plugins/chart-builder/admin/partials/charts/actions/chart-builder-charts-actions-options.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/chart-builder/admin/partials/chart-builder-admin-display.php:33
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/chart-builder/admin/partials/settings/chart-builder-settings.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=chart-builder&action=add
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=chart-builder&action=add 1701 The specified value "#ccc" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #6, #7 in chart-builder/assets to your readme.txt
chart-builder/chart-builder.php Passed 13 tests
The main PHP script in "Best Chart Plugin - Chartify" version 1.9.8 is automatically included on every request by WordPress
61 characters long description:
Display the results with various charts and compare the data.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected20,043 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 1,378 | 2,490 | 8,981 |
JavaScript | 19 | 613 | 330 | 6,091 |
CSS | 20 | 879 | 1,237 | 4,647 |
SVG | 24 | 5 | 1 | 324 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 135)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 50.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 268.00 |
Average method complexity | 5.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 135.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 193 | |
▷ Static methods | 27 | 13.99% |
▷ Public methods | 167 | 86.53% |
▷ Protected methods | 13 | 6.74% |
▷ Private methods | 13 | 6.74% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
63 compressed PNG files occupy 0.39MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icons/gantt-chart.png | 0.53KB | 0.55KB | 0.00% |
admin/images/icons/timeline-chart.png | 0.52KB | 0.47KB | ▼ 8.90% |
admin/images/icons/table-chart.png | 0.44KB | 0.38KB | ▼ 14.13% |
admin/images/icons/bubble-chart.png | 0.71KB | 1.04KB | 0.00% |
admin/images/icons/geo-chart-logo.png | 3.57KB | 3.69KB | 0.00% |