Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼137.86ms] Passed 4 tests
A check of server-side resources used by HappyFox Chat - Live Chat Plugin for Wordpress Websites
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 35.16 ▲14.40 |
Dashboard /wp-admin | 3.07 ▲0.02 | 44.92 ▲7.45 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 47.44 ▲1.91 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 90.51 ▼558.49 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 30.58 ▼2.29 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for HappyFox Chat - Live Chat Plugin for Wordpress Websites
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,701 ▲105 | 15.87 ▲0.03 | 8.03 ▼0.28 | 47.99 ▼0.73 |
Dashboard /wp-admin | 2,992 ▲61 | 5.89 ▼0.03 | 135.07 ▼9.03 | 116.41 ▼1.68 |
Posts /wp-admin/edit.php | 2,761 ▲22 | 2.70 ▼0.01 | 66.28 ▼0.13 | 94.65 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,513 ▼159 | 18.81 ▼0.30 | 374.42 ▼25.02 | 113.95 ▲1.88 |
Media Library /wp-admin/upload.php | 1,829 ▲19 | 5.01 ▲0.01 | 152.17 ▼11.07 | 123.24 ▲10.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% 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 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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/happyfox-chat/happyfox-chat-settings.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/happyfox-chat/happyfox-chat.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/happyfox-chat/happyfox-chat-settings.php:16
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 37 tag instead of maximum 10
happyfox-chat/happyfox-chat.php Passed 13 tests
The main PHP file in "HappyFox Chat - Live Chat Plugin for Wordpress Websites" ver. 1.2.4 adds more information about the plugin and also serves as the entry point for this plugin
64 characters long description:
This plugin adds the HappyFox Chat widget to your WordPress blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected191 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 9 | 139 |
CSS | 1 | 12 | 0 | 52 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/happyfox.png | 13.64KB | 3.92KB | ▼ 71.22% |