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.26MB] [CPU: ▼1.73ms] Passed 4 tests
A check of server-side resources used by Re:amaze Helpdesk & Live Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 42.24 ▲0.35 |
Dashboard /wp-admin | 3.63 ▲0.33 | 55.04 ▼1.26 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 48.99 ▲0.32 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 98.04 ▼6.32 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 38.99 ▲0.75 |
Dashboard /wp-admin/admin.php?page=reamaze | 3.45 | 37.03 |
Need Help? /wp-admin/admin.php?page=reamaze-help | 3.45 | 31.20 |
Settings /wp-admin/admin.php?page=reamaze-settings | 3.56 | 35.99 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 58 new files
Database: no new tables, 10 new options
New WordPress options |
---|
reamaze_version |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
reamaze_account_id |
widget_recent-comments |
reamaze_account_sso_key |
widget_theysaidso_widget |
theysaidso_admin_options |
reamaze_widget_display |
Browser metrics Passed 4 tests
An overview of browser requirements for Re:amaze Helpdesk & Live Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲186 | 13.17 ▼1.11 | 4.58 ▲2.82 | 42.91 ▼1.96 |
Dashboard /wp-admin | 2,463 ▲292 | 7.35 ▲1.72 | 126.55 ▲29.84 | 81.58 ▲37.30 |
Posts /wp-admin/edit.php | 2,345 ▲245 | 4.18 ▲2.17 | 66.58 ▲24.29 | 33.97 ▼6.19 |
Add New Post /wp-admin/post-new.php | 1,732 ▲196 | 25.56 ▲2.42 | 679.45 ▲34.28 | 37.85 ▼15.11 |
Media Library /wp-admin/upload.php | 1,788 ▲388 | 6.86 ▲2.67 | 164.58 ▲55.59 | 64.57 ▲17.00 |
Dashboard /wp-admin/admin.php?page=reamaze | 1,193 | 4.83 | 100.83 | 41.50 |
Need Help? /wp-admin/admin.php?page=reamaze-help | 2,789 | 7.96 | 206.54 | 90.76 |
Settings /wp-admin/admin.php?page=reamaze-settings | 1,215 | 4.84 | 99.58 | 25.71 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 10 options in the database
- reamaze_version
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- reamaze_widget_display
- reamaze_account_sso_key
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- reamaze_account_id
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
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Reamaze\\API\\Exceptions\\Base' not found in wp-content/plugins/reamaze/includes/lib/reamaze-api-client-php/src/Reamaze/API/Exceptions/Api.php:5
- > PHP Fatal error
Uncaught Error: Class 'Reamaze\\API\\APIResource' not found in wp-content/plugins/reamaze/includes/lib/reamaze-api-client-php/src/Reamaze/API/Conversation.php:5
- > PHP Fatal error
Uncaught Error: Class 'Reamaze\\API\\APIResource' not found in wp-content/plugins/reamaze/includes/lib/reamaze-api-client-php/src/Reamaze/API/Category.php:5
- > PHP Fatal error
Uncaught Error: Class 'Reamaze\\API\\Clients\\BaseClient' not found in wp-content/plugins/reamaze/includes/lib/reamaze-api-client-php/src/Reamaze/API/Clients/WpHttpClient.php:8
- > PHP Fatal error
Uncaught Error: Class 'Reamaze\\API\\APIResource' not found in wp-content/plugins/reamaze/includes/lib/reamaze-api-client-php/src/Reamaze/API/Message.php:5
- > PHP Fatal error
Uncaught Error: Class 'Reamaze\\API\\Exceptions\\Base' not found in wp-content/plugins/reamaze/includes/lib/reamaze-api-client-php/src/Reamaze/API/Exceptions/Config.php:5
- > PHP Fatal error
Uncaught Error: Class 'Reamaze\\API\\Clients\\BaseClient' not found in wp-content/plugins/reamaze/includes/lib/reamaze-api-client-php/src/Reamaze/API/Clients/CurlClient.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=reamaze-settings
- > Javascript (severe) in unknown
/wp-content/plugins/reamaze/assets/js/admin/jquery.postmessage.min.js?ver=6.3.1 8:97 Uncaught TypeError: Cannot read properties of undefined (reading 'opera')
- > GET request to /wp-admin/admin.php?page=reamaze-help
- > Deprecation (warning) in unknown
https://cdn.reamaze.com/assets/application-086e7ff5284dd0aa1bebeeb96f6ec735d26d5c90597bd1c8701e8cc90be6c32a.js 3 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
reamaze/reamaze.php Passed 13 tests
The main PHP script in "Re:amaze Helpdesk & Live Chat" version 2.3.2 is automatically included on every request by WordPress
62 characters long description:
Reamaze Helpdesk, Customer Support and Live Chat for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,968 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 745 | 427 | 2,755 |
JavaScript | 6 | 93 | 73 | 789 |
CSS | 4 | 87 | 32 | 424 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 13.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 4 | 16.00% |
▷ Concrete classes | 21 | 84.00% |
▷ Final classes | 0 | 0.00% |
Methods | 132 | |
▷ Static methods | 47 | 35.61% |
▷ Public methods | 88 | 66.67% |
▷ Protected methods | 41 | 31.06% |
▷ Private methods | 3 | 2.27% |
Functions | 14 | |
▷ Named functions | 12 | 85.71% |
▷ Anonymous functions | 2 | 14.29% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/colorbox/border.png | 0.07KB | 0.10KB | 0.00% |
assets/images/colorbox/overlay.png | 0.11KB | 0.15KB | 0.00% |
assets/images/logo.png | 13.79KB | 6.78KB | ▼ 50.84% |
assets/images/icons/logo-mint-16.png | 0.78KB | 0.80KB | 0.00% |
assets/images/colorbox/loading_background.png | 0.13KB | 0.15KB | 0.00% |