Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.30ms] Passed 4 tests
Analyzing server-side resources used by Quriobot
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 35.61 ▼1.36 |
Dashboard /wp-admin | 3.35 ▲0.00 | 47.53 ▼12.17 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.45 ▲2.05 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 79.69 ▼5.73 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.61 ▲3.30 |
Quriobot /wp-admin/options-general.php?page=quriobot_settings | 3.25 | 30.33 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
quriobot_version |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Quriobot
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.39 ▼0.20 | 1.64 ▼0.01 | 39.05 ▲0.68 |
Dashboard /wp-admin | 2,201 ▲23 | 5.49 ▼0.12 | 81.92 ▼16.86 | 35.65 ▼6.97 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▲0.01 | 34.74 ▼0.33 | 33.44 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,541 ▲4 | 18.39 ▲0.32 | 621.91 ▲17.28 | 68.08 ▲5.32 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.02 | 93.10 ▼1.65 | 40.55 ▼3.68 |
Quriobot /wp-admin/options-general.php?page=quriobot_settings | 866 | 1.99 | 22.76 | 23.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- quriobot_version
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
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
4 plugin tags: quriobot, chatbots, support, surveys
quriobot/quriobot.php Passed 13 tests
The main PHP script in "Quriobot" version 2.8.1 is automatically included on every request by WordPress
48 characters long description:
Increase conversion with an easy to use chatbot.
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 detected332 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 53 | 277 |
YAML | 1 | 2 | 0 | 23 |
CSS | 1 | 3 | 0 | 19 |
make | 1 | 4 | 0 | 13 |
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.36 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 4 | 23.53% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 17.65% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/static/quriobot_logo_2x.png | 16.36KB | 7.86KB | ▼ 51.94% |