Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function supports_collation is deprecated since version 3.5.0! Use wpdb::has_cap( 'collation' ) instead.
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.96ms] Passed 4 tests
A check of server-side resources used by Appypie Chatbot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.57 ▲3.78 |
Dashboard /wp-admin | 3.38 ▲0.03 | 43.77 ▼13.03 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.35 ▼0.45 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 98.03 ▲0.46 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.41 ▲1.17 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_chat_bot |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Appypie Chatbot
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.28 ▼0.08 | 1.77 ▼0.20 | 37.61 ▼8.46 |
Dashboard /wp-admin | 2,214 ▲34 | 5.74 ▲0.12 | 92.77 ▲8.20 | 58.86 ▲17.69 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.24 ▲0.24 | 39.52 ▲4.18 | 43.78 ▲6.78 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.07 ▼0.02 | 670.52 ▼12.16 | 61.12 ▲5.59 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.36 ▲0.20 | 95.15 ▼7.73 | 45.84 ▼2.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'AppypieChatBot' does not have a method 'appypieChatBotPluginActivateDeactivate'
- Zombie tables were found after uninstall: 1 table
- wp_chat_bot
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/appypie-chatbot/wc-chat-bot.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
There were not plugin tags detected
appypie-chatbot/wc-chat-bot.php 92% from 13 tests
Analyzing the main PHP file in "Appypie Chatbot" version 1.0.1
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("appypie-chatbot.php" instead of "wc-chat-bot.php")
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
Good job! No executable or dangerous file extensions detected1,410 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 566 |
CSS | 1 | 106 | 4 | 414 |
PHP | 2 | 32 | 20 | 302 |
JavaScript | 2 | 13 | 4 | 128 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
9 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/lock.png | 0.48KB | 0.33KB | ▼ 30.18% |
assets/images/chatbot.png | 1.24KB | 1.12KB | ▼ 9.72% |
assets/images/chatbot-1.png | 3.36KB | 2.11KB | ▼ 37.20% |
assets/images/arrow.png | 0.15KB | 0.17KB | 0.00% |
assets/images/Chat Bot-772x250.png | 34.77KB | 12.13KB | ▼ 65.11% |