84% autorepl

Code Review | AutoRepl | Powerful and easy no-code chatbot builder

WordPress plugin AutoRepl | Powerful and easy no-code chatbot builder scored84%from 54 tests.

About plugin

  • Plugin page: autorepl
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Nov 24, 2022
  • Latest release: Nov 24, 2022
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: autorepl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /144 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼5.49ms] Passed 4 tests

Analyzing server-side resources used by AutoRepl | Powerful and easy no-code chatbot builder
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0835.69 ▼7.62
Dashboard /wp-admin3.40 ▲0.1052.57 ▼1.02
Posts /wp-admin/edit.php3.51 ▲0.1648.31 ▼2.99
Add New Post /wp-admin/post-new.php5.98 ▲0.1089.14 ▼10.32
Media Library /wp-admin/upload.php3.32 ▲0.0939.34 ▲3.74

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for AutoRepl | Powerful and easy no-code chatbot builder
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,852 ▲8113.40 ▼1.002.84 ▲0.7444.79 ▼0.50
Dashboard /wp-admin2,219 ▲315.77 ▼0.0496.34 ▼7.9540.08 ▼1.94
Posts /wp-admin/edit.php2,105 ▲162.03 ▲0.0734.01 ▼7.6435.07 ▼0.48
Add New Post /wp-admin/post-new.php1,555 ▲3618.43 ▼4.72630.70 ▲31.3863.01 ▲5.86
Media Library /wp-admin/upload.php1,404 ▲134.14 ▼0.0194.60 ▼8.9541.23 ▼3.71

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/autorepl/admin/partials/autorepl-admin-display.php:46

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 27 tag instead of maximum 10
Please take inspiration from this readme.txt

autorepl/autorepl.php 92% from 13 tests

"AutoRepl | Powerful and easy no-code chatbot builder" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin803 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP116811802
CSS1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity6.14
▷ Minimum class complexity1.00
▷ Maximum class complexity32.00
Average method complexity2.24
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods29
▷ Static methods26.90%
▷ Public methods2068.97%
▷ Protected methods00.00%
▷ Private methods931.03%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin