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.04MB] [CPU: ▼0.97ms] Passed 4 tests
This is a short check of server-side resources used by Crisp - Live Chat and Chatbot
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.96 ▲3.65 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.63 ▲5.03 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.99 ▼6.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 95.29 ▼2.89 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.54 ▲1.83 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
crisp_onboarding |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Crisp - Live Chat and Chatbot
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲131 | 13.23 ▼1.23 | 1.79 ▲0.04 | 41.29 ▼2.84 |
Dashboard /wp-admin | 2,260 ▲75 | 5.84 ▲0.98 | 96.43 ▼9.49 | 61.83 ▲18.24 |
Posts /wp-admin/edit.php | 2,161 ▲72 | 2.03 ▼0.01 | 40.69 ▼0.58 | 34.92 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,583 ▲49 | 18.46 ▼4.64 | 633.34 ▼29.91 | 65.70 ▲4.21 |
Media Library /wp-admin/upload.php | 1,457 ▲69 | 4.15 ▼0.07 | 118.18 ▲17.93 | 47.38 ▲0.62 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- crisp_onboarding
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
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
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/crisp/crisp.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/crisp/crisp.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/crisp/crisp.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/crisp/views/settings_installed.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/crisp/views/settings_install.php:4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: live chat, chatbot, livechat, free live chat, chat bot...
crisp/crisp.php Passed 13 tests
Analyzing the main PHP file in "Crisp - Live Chat and Chatbot" version 0.43
26 characters long description:
Crisp is a Livechat plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin525 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 61 | 13 | 256 |
CSS | 2 | 39 | 0 | 240 |
SVG | 4 | 0 | 0 | 28 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 1.72MB with 1.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 102.02KB | 30.20KB | ▼ 70.39% |
assets/banner-772x250.png | 41.03KB | 13.53KB | ▼ 67.02% |
assets/icon-128x128.png | 3.11KB | 2.87KB | ▼ 7.70% |
assets/screenshot-1.png | 728.53KB | 202.69KB | ▼ 72.18% |
assets/screenshot-2.png | 890.63KB | 253.51KB | ▼ 71.54% |