78% orimon-chatbot

Code Review | Orimon Chatbot

WordPress plugin Orimon Chatbot scored78%from 54 tests.

About plugin

  • Plugin page: orimon-chatbot
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Apr 17, 2023
  • Latest release: Apr 17, 2023
  • Number of updates: 4
  • Update frequency: every 3.3 days
  • Top authors: orimon (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /533 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼1.17ms] Passed 4 tests

An overview of server-side resources used by Orimon Chatbot
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0239.28 ▼2.58
Dashboard /wp-admin3.34 ▲0.0346.49 ▼2.09
Posts /wp-admin/edit.php3.39 ▲0.0350.15 ▲4.12
Add New Post /wp-admin/post-new.php5.92 ▲0.0393.50 ▼0.99
Media Library /wp-admin/upload.php3.26 ▲0.0337.20 ▲1.00
Orimon Chatbot /wp-admin/options-general.php?page=orimon-chatbot3.2332.39

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Orimon Chatbot
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.27 ▼1.101.85 ▲0.0544.19 ▼2.72
Dashboard /wp-admin2,210 ▲224.85 ▼0.00108.25 ▲3.5343.16 ▼2.37
Posts /wp-admin/edit.php2,093 ▲42.00 ▼0.0039.67 ▲3.0935.14 ▼0.77
Add New Post /wp-admin/post-new.php1,536 ▲2223.61 ▲6.09580.15 ▼103.9147.83 ▼8.73
Media Library /wp-admin/upload.php1,386 ▼24.22 ▲0.0096.77 ▼14.9939.62 ▼6.71
Orimon Chatbot /wp-admin/options-general.php?page=orimon-chatbot8192.2026.4127.55

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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orimon-chatbot/orimon-chatbot.php:20

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
    • > GET request to /wp-admin/options-general.php?page=orimon-chatbot
    • > Network (severe)
    wp-content/plugins/orimon-chatbot/assets/orimon-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention: You can take inspiration from this readme.txt

orimon-chatbot/orimon-chatbot.php 92% from 13 tests

"Orimon Chatbot" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)

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
Good job! No executable or dangerous file extensions detected142 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13116142

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions990.00%
▷ Anonymous functions110.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin