Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.81ms] Passed 4 tests
This is a short check of server-side resources used by Chatbot Widget for Opulent
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.45 ▼5.80 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.55 ▼12.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.70 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.87 ▼11.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.06 ▼2.34 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Chatbot Widget for Opulent
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 13.53 ▼0.74 | 1.90 ▲0.10 | 39.04 ▼2.16 |
Dashboard /wp-admin | 2,217 ▲34 | 5.83 ▲0.92 | 99.56 ▼10.37 | 39.14 ▼5.01 |
Posts /wp-admin/edit.php | 2,103 ▲17 | 2.06 ▲0.05 | 37.82 ▲3.76 | 32.66 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,552 ▲17 | 18.19 ▼5.14 | 599.29 ▼70.03 | 62.03 ▲12.20 |
Media Library /wp-admin/upload.php | 1,405 ▲23 | 4.16 ▼0.02 | 94.79 ▼4.13 | 41.12 ▼3.37 |
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 did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/chatbot-widget-opulent/opulent-chatbot.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/chatbot-widget-opulent/api_key.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2 in chatbot-widget-opulent/assets to your readme.txt
chatbot-widget-opulent/opulent-chatbot.php 85% from 13 tests
Analyzing the main PHP file in "Chatbot Widget for Opulent" version 1.2
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("chatbot-widget-opulent.php" instead of "opulent-chatbot.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,132 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 2 | 2,020 |
PHP | 4 | 24 | 39 | 92 |
CSS | 1 | 0 | 1 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo1.png | 13.17KB | 4.51KB | ▼ 65.73% |
images/key_transparent.png | 6.09KB | 2.85KB | ▼ 53.13% |
images/opulent_logo.png | 13.43KB | 5.47KB | ▼ 59.29% |
images/logo.png | 3.02KB | 0.43KB | ▼ 85.63% |