Benchmarks
Plugin footprint Passed 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: ▲1.38MB] [CPU: ▼286.25ms] Passed 4 tests
Analyzing server-side resources used by Chatbot Lazy Loader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.92 ▲1.40 | 62.38 ▲9.18 |
Dashboard /wp-admin | 4.79 ▲1.38 | 46.19 ▲5.63 |
Posts /wp-admin/edit.php | 5.07 ▲1.43 | 48.95 ▲11.30 |
Add New Post /wp-admin/post-new.php | 8.30 ▲1.33 | 104.68 ▼1,168.55 |
Media Library /wp-admin/upload.php | 4.71 ▲1.41 | 35.15 ▲8.73 |
Server storage [IO: ▲9.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 588 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Chatbot Lazy Loader
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,133 ▲391 | 20.65 ▲5.06 | 6.24 ▲0.05 | 2.25 ▼0.19 |
Dashboard /wp-admin | 3,276 ▲415 | 10.48 ▲4.31 | 194.75 ▲52.18 | 155.60 ▼10.75 |
Posts /wp-admin/edit.php | 3,105 ▲435 | 7.92 ▲4.67 | 107.45 ▲44.81 | 140.42 ▼7.34 |
Add New Post /wp-admin/post-new.php | 1,896 ▲145 | 18.71 ▼2.13 | 468.41 ▼13.91 | 170.36 ▲4.83 |
Media Library /wp-admin/upload.php | 1,883 ▲185 | 7.89 ▲2.39 | 144.47 ▼0.91 | 195.29 ▲1.45 |
Chatbot Lazy Loader /wp-admin/crb_carbon_fields_container_chatbot_lazy_loader.php | 26 | 0.94 | 0.03 | 24.24 |
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 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/chatbot-lazy-loader/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 208× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/chatbot-lazy-loader/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/chatbot-lazy-loader/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/chatbot-lazy-loader/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Contain_Comparer.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/chatbot-lazy-loader/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/chatbot-lazy-loader/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/chatbot-lazy-loader/vendor/htmlburger/carbon-fields/core/Field/Radio_Image_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/chatbot-lazy-loader/vendor/htmlburger/carbon-fields/core/Field/Media_Gallery_Field.php:14
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/chatbot-lazy-loader/vendor/htmlburger/carbon-fields/core/Container/Nav_Menu_Item_Container.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Widget\\Widget' not found in wp-content/plugins/chatbot-lazy-loader/vendor/htmlburger/carbon-fields/core/Widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Event\\PersistentListener' not found in wp-content/plugins/chatbot-lazy-loader/vendor/htmlburger/carbon-fields/core/Event/SingleEventListener.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/crb_carbon_fields_container_chatbot_lazy_loader.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_chatbot_lazy_loader.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Invalid URI ("")
chatbot-lazy-loader/chatbot-lazy-loader.php 92% from 13 tests
The entry point to "Chatbot Lazy Loader" version 1.1.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
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
No dangerous file extensions were detected40,067 lines of code in 535 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 190 | 5,306 | 8,703 | 13,235 |
PHP | 241 | 2,830 | 7,120 | 10,786 |
JSON | 7 | 0 | 0 | 10,505 |
Sass | 54 | 346 | 0 | 1,885 |
CSS | 19 | 339 | 1,239 | 1,813 |
PO File | 20 | 610 | 779 | 1,652 |
Bourne Shell | 1 | 21 | 11 | 123 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 217 | |
▷ Abstract classes | 12 | 5.53% |
▷ Concrete classes | 205 | 94.47% |
▷ Final classes | 1 | 0.49% |
Methods | 975 | |
▷ Static methods | 90 | 9.23% |
▷ Public methods | 770 | 78.97% |
▷ Protected methods | 196 | 20.10% |
▷ Private methods | 9 | 0.92% |
Functions | 121 | |
▷ Named functions | 36 | 29.75% |
▷ Anonymous functions | 85 | 70.25% |
Constants | 31 | |
▷ Global constants | 5 | 16.13% |
▷ Class constants | 26 | 83.87% |
▷ Public constants | 26 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.29MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/crisp.png | 9.95KB | 6.05KB | ▼ 39.20% |
dist/images/tawk.png | 23.41KB | 13.17KB | ▼ 43.72% |
dist/images/intercom.png | 67.57KB | 28.94KB | ▼ 57.17% |
dist/images/drift.png | 48.90KB | 26.27KB | ▼ 46.28% |
dist/images/frogged.png | 24.71KB | 12.68KB | ▼ 48.67% |