Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.66ms] Passed 4 tests
An overview of server-side resources used by Richpanel - Customer Support Helpdesk & Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.31 ▼5.68 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.18 ▼9.61 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.09 ▼0.72 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.37 ▼6.63 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.18 ▲6.81 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Richpanel - Customer Support Helpdesk & Chat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲57 | 14.68 ▲0.44 | 1.67 ▲0.07 | 37.37 ▼6.14 |
Dashboard /wp-admin | 2,221 ▲41 | 5.63 ▼0.00 | 95.28 ▼4.38 | 44.21 ▼0.52 |
Posts /wp-admin/edit.php | 2,130 ▲33 | 1.99 ▼0.02 | 41.27 ▲0.48 | 38.72 ▲2.92 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.00 ▼0.12 | 620.48 ▲31.02 | 49.75 ▼0.01 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.29 ▲0.11 | 97.53 ▲0.23 | 41.40 ▼0.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/richpanel-for-woocommerce/includes/views/richpanel_admin_view.php:227
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/richpanel-for-woocommerce/includes/views/richpanel_import_view.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/richpanel-for-woocommerce/includes/render_tracking_events.php:2
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/richpanel-for-woocommerce/includes/integration.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/richpanel-for-woocommerce/includes/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/richpanel-for-woocommerce/includes/js.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/richpanel-for-woocommerce/includes/render_footer_tracking_events.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
richpanel-for-woocommerce/richpanel-live-chat-helpdesk.php 85% from 13 tests
Analyzing the main PHP file in "Richpanel - Customer Support Helpdesk & Chat" version 2.4.9
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("richpanel-for-woocommerce.php" instead of "richpanel-live-chat-helpdesk.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.4" instead of "2.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected2,263 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 464 | 212 | 2,263 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 116.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 342.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.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 | 105 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 97 | 92.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 7.62% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/views/logo.png | 17.26KB | 6.76KB | ▼ 60.83% |