Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.32ms] Passed 4 tests
This is a short check of server-side resources used by Beaver Charts - Beaver Builder Chart Module
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.43 ▼4.32 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.86 ▼21.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.36 ▼2.63 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.52 ▼16.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 35.90 ▲1.96 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Beaver Charts - Beaver Builder Chart Module
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲64 | 13.68 ▼0.91 | 10.19 ▲7.96 | 36.75 ▼8.90 |
Dashboard /wp-admin | 2,222 ▲34 | 4.84 ▼0.99 | 95.62 ▼26.18 | 39.34 ▼0.22 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.04 | 34.51 ▼3.11 | 35.03 ▲2.09 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 23.49 ▲0.16 | 674.09 ▼20.46 | 51.56 ▼7.84 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.28 ▲0.10 | 97.11 ▼14.34 | 43.43 ▼3.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php
- > /wp-content/plugins/fd-beaver-charts/module/pie-chart/includes/frontend.php
- > /wp-content/plugins/fd-beaver-charts/module/pie-chart/includes/frontend.css.php
- > /wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.php
- > /wp-content/plugins/fd-beaver-charts/module/pie-chart/includes/frontend.js.php
- 80× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to get property 'tooltip_title_color' of non-object in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 187
- > PHP Notice
Trying to get property 'tooltip_style' of non-object in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 179
- > PHP Notice
Undefined variable: settings in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 34
- > PHP Notice
Undefined variable: id in wp-content/plugins/fd-beaver-charts/module/pie-chart/includes/frontend.php on line 9
- > PHP Notice
Trying to get property 'xaxis_line_position' of non-object in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 71
- > PHP Notice
Undefined variable: id in wp-content/plugins/fd-beaver-charts/module/pie-chart/includes/frontend.css.php on line 14
- > PHP Notice
Trying to get property 'yaxis_beginAtZero' of non-object in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 145
- > PHP Notice
Undefined variable: settings in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 183
- > PHP Notice
Undefined variable: settings in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 123
- > PHP Notice
Trying to get property 'yaxis_callback_position' of non-object in wp-content/plugins/fd-beaver-charts/module/bar-chart/includes/frontend.js.php on line 151
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #4 (Bar Chart (Stack Type)), #5 (Line Chart)
fd-beaver-charts/fd-beaver-charts.php Passed 13 tests
The main PHP script in "Beaver Charts - Beaver Builder Chart Module" version 1.2.3 is automatically included on every request by WordPress
104 characters long description:
Allow user to manipulate data via different chart presentations on your site with beaver builder add-on.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin531 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 16 | 61 | 524 |
JavaScript | 3 | 0 | 9 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 1.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 3 | 60.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin