Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.61MB] [CPU: ▼15.56ms] Passed 4 tests
A check of server-side resources used by Live Chat & Chatbot Plugin - WalkyTalky
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.25 ▼8.12 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.14 ▼0.91 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 52.62 ▲4.90 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.65 | 41.18 ▼55.35 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.67 ▲2.16 |
Server storage [IO: ▲1.93MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 8 new options
New WordPress options |
---|
walkytalky_version |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
walkytalky_site_id |
Browser metrics Passed 4 tests
An overview of browser requirements for Live Chat & Chatbot Plugin - WalkyTalky
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 14.49 ▲0.19 | 1.95 ▲0.09 | 39.72 ▼5.00 |
Dashboard /wp-admin | 2,338 ▲147 | 4.85 ▼1.05 | 110.76 ▲3.35 | 44.32 ▼1.45 |
Posts /wp-admin/edit.php | 2,227 ▲159 | 2.07 ▲0.08 | 41.88 ▲4.85 | 36.70 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,556 ▲37 | 23.32 ▼0.18 | 670.52 ▼17.60 | 60.74 ▲1.92 |
Media Library /wp-admin/upload.php | 1,523 ▲132 | 4.21 ▲0.03 | 95.93 ▼10.72 | 42.10 ▼3.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- walkytalky_site_id
- theysaidso_admin_options
- walkytalky_version
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/walkytalky/walkytalky.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 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
6 plugin tags: chat plugin, live chat, walkytalky, walky talky, chat...
walkytalky/walkytalky.php 92% from 13 tests
The principal PHP file in "Live Chat & Chatbot Plugin - WalkyTalky" v. 1.1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin638 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 122 | 29 | 416 |
SVG | 1 | 6 | 1 | 198 |
HTML | 2 | 0 | 1 | 19 |
JavaScript | 2 | 0 | 7 | 3 |
CSS | 2 | 0 | 4 | 2 |
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.19 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 77.78% |
▷ Protected methods | 2 | 7.41% |
▷ Private methods | 4 | 14.81% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/walkytalky-wp/dist/img/icon-256x256.png | 35.29KB | 9.84KB | ▼ 72.11% |