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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.48ms] Passed 4 tests
Analyzing server-side resources used by Graphina - Elementor Charts and Graphs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.91 ▼4.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.38 ▼4.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.92 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.70 ▼19.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.01 ▼2.10 |
Settings /wp-admin/admin.php?page=graphina-chart | 3.01 | 23.52 |
Upgrade To Pro /wp-admin/admin.php?page=graphina-chart-pro | 3.01 | 25.89 |
Server storage [IO: ▲11.37MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 103 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
graphina_common_setting |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Graphina - Elementor Charts and Graphs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲109 | 14.30 ▼0.05 | 1.76 ▲0.01 | 45.96 ▲1.60 |
Dashboard /wp-admin | 2,195 ▲18 | 5.53 ▼0.12 | 97.20 ▼1.57 | 43.83 ▲0.13 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.12 ▲0.18 | 39.87 ▲0.86 | 36.00 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.44 ▼1.57 | 647.17 ▲23.23 | 61.03 ▼4.27 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.14 ▼0.02 | 95.29 ▼1.55 | 41.51 ▲1.04 |
Settings /wp-admin/admin.php?page=graphina-chart | 28 | 0.41 | 0.12 | 3.80 |
Upgrade To Pro /wp-admin/admin.php?page=graphina-chart-pro | 28 | 0.41 | 0.10 | 3.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- graphina_common_setting
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/user.php' (include_path='.:/usr/share/php') in wp-content/plugins/graphina-elementor-charts-and-graphs/utils/graphina_chart_helper.php on line 4243
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/user.php): failed to open stream: No such file or directory in wp-content/plugins/graphina-elementor-charts-and-graphs/utils/graphina_chart_helper.php on line 4243
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/graphina-elementor-charts-and-graphs/utils/graphina_chart_helper.php on line 4243
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/user.php' (include_path='.:/usr/share/php') in wp-content/plugins/graphina-elementor-charts-and-graphs/utils/graphina_chart_helper.php on line 4243
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/user.php): failed to open stream: No such file or directory in wp-content/plugins/graphina-elementor-charts-and-graphs/utils/graphina_chart_helper.php on line 4243
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/graphina-elementor-charts-and-graphs/utils/graphina_chart_helper.php on line 4243
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=graphina-chart
- > Network (severe)
wp-admin/admin.php?page=graphina-chart - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=graphina-chart-pro
- > Network (severe)
wp-admin/admin.php?page=graphina-chart-pro - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
graphina-elementor-charts-and-graphs/graphina-charts-for-elementor.php 85% from 13 tests
"Graphina - Elementor Charts and Graphs" version 1.8.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("graphina-elementor-charts-and-graphs.php" instead of "graphina-charts-for-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin32,563 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 2,365 | 2,056 | 20,491 |
SVG | 4 | 0 | 0 | 9,562 |
JavaScript | 17 | 139 | 151 | 1,430 |
CSS | 10 | 140 | 66 | 1,058 |
JSON | 2 | 0 | 0 | 22 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 42.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 6.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 248 | |
▷ Static methods | 20 | 8.06% |
▷ Public methods | 197 | 79.44% |
▷ Protected methods | 45 | 18.15% |
▷ Private methods | 6 | 2.42% |
Functions | 86 | |
▷ Named functions | 79 | 91.86% |
▷ Anonymous functions | 7 | 8.14% |
Constants | 4 | |
▷ Global constants | 4 | 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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
elementor/css/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
elementor/css/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
elementor/css/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
elementor/css/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
elementor/css/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |