Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼146.82ms] Passed 4 tests
An overview of server-side resources used by Rake Live Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.50 ▲11.28 |
Dashboard /wp-admin | 3.07 ▲0.01 | 40.77 ▼6.20 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 39.53 ▼5.60 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 90.92 ▼574.15 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 34.60 ▼1.31 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: 1 new table, no new options
New tables |
---|
wp_rlc_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rake Live Chat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲171 | 16.00 ▲0.41 | 12.29 ▲1.65 | 46.89 ▲2.96 |
Dashboard /wp-admin | 3,037 ▲106 | 6.12 ▲0.17 | 135.56 ▼12.27 | 108.88 ▼0.25 |
Posts /wp-admin/edit.php | 2,803 ▲64 | 2.71 ▲0.00 | 65.54 ▲1.91 | 86.68 ▼8.30 |
Add New Post /wp-admin/post-new.php | 1,629 ▲129 | 21.91 ▲3.31 | 264.74 ▼111.82 | 106.49 ▼0.88 |
Media Library /wp-admin/upload.php | 1,871 ▲61 | 5.04 ▲0.02 | 150.36 ▼4.00 | 112.72 ▼8.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(RAKE_LIVE_CHAT_PLUGIN_DIR_PATH/views/bot-status.php): failed to open stream: No such file or directory in wp-content/plugins/rake-live-chat/views/helper.php on line 2
- > PHP Warning
Use of undefined constant RAKE_LIVE_CHAT_PLUGIN_DIR_PATH - assumed 'RAKE_LIVE_CHAT_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/rake-live-chat/views/helper.php on line 2
- > PHP Warning
include_once(): Failed opening 'RAKE_LIVE_CHAT_PLUGIN_DIR_PATH/views/bot-status.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/rake-live-chat/views/helper.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
rake-live-chat/rake-live-chat.php 92% from 13 tests
The main PHP script in "Rake Live Chat" version 1.4.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 285 characters long)
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
Success! There were no dangerous files found in this plugin1,721 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 106 | 38 | 1,100 |
CSS | 2 | 67 | 11 | 341 |
JavaScript | 1 | 48 | 3 | 264 |
SVG | 5 | 1 | 0 | 16 |
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.42 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon.png | 1.65KB | 0.97KB | ▼ 40.89% |
assets/images/rake-logo.png | 5.22KB | 2.67KB | ▼ 48.89% |