90% quriobot

Code Review | Quriobot

WordPress plugin Quriobot scored90%from 54 tests.

About plugin

  • Plugin page: quriobot
  • Plugin version: 2.8.1
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Jun 12, 2019
  • Latest release: Oct 20, 2023
  • Number of updates: 154
  • Update frequency: every 10.3 days
  • Top authors: quriobot (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /14,874 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0435.61 ▼1.36
Dashboard /wp-admin3.35 ▲0.0047.53 ▼12.17
Posts /wp-admin/edit.php3.46 ▲0.1046.45 ▲2.05
Add New Post /wp-admin/post-new.php5.93 ▲0.0479.69 ▼5.73
Media Library /wp-admin/upload.php3.27 ▲0.0435.61 ▲3.30
Quriobot /wp-admin/options-general.php?page=quriobot_settings3.2530.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

Browser metrics Passed 4 tests

A check of browser resources used by Quriobot
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.39 ▼0.201.64 ▼0.0139.05 ▲0.68
Dashboard /wp-admin2,201 ▲235.49 ▼0.1281.92 ▼16.8635.65 ▼6.97
Posts /wp-admin/edit.php2,106 ▲62.00 ▲0.0134.74 ▼0.3333.44 ▼3.00
Add New Post /wp-admin/post-new.php1,541 ▲418.39 ▲0.32621.91 ▲17.2868.08 ▲5.32
Media Library /wp-admin/upload.php1,406 ▲64.22 ▲0.0293.10 ▼1.6540.55 ▼3.68
Quriobot /wp-admin/options-general.php?page=quriobot_settings8661.9922.7623.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


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:
LanguageFilesBlank linesComment linesLines of code

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 code0.36
Average class complexity16.00
▷ Minimum class complexity4.00
▷ Maximum class complexity28.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods423.53%
▷ Public methods1482.35%
▷ Protected methods00.00%
▷ Private methods317.65%
▷ Named functions120.00%
▷ Anonymous functions480.00%
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.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
FileSize - originalSize - compressedSavings
admin/static/quriobot_logo_2x.png16.36KB7.86KB▼ 51.94%