99% atp-chatbot

Code Review | ChatBot Gratis para Ventas ATP - ALMA

WordPress plugin ChatBot Gratis para Ventas ATP - ALMA scored 99% from 54 tests.

About plugin

  • Plugin page: atp-chatbot
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2.0-5.5
  • WordPress version: 5.8.1
  • First release: Sep 15, 2020
  • Latest release: Oct 20, 2020
  • Number of updates: 13
  • Update frequency: every 2.7 days
  • Top authors: jotaayudat (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 630 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼139.82ms] Passed 4 tests

Analyzing server-side resources used by ChatBot Gratis para Ventas ATP - ALMA
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1350.45 ▲26.35
Dashboard /wp-admin3.08 ▲0.0264.73 ▲5.15
Posts /wp-admin/edit.php3.13 ▲0.0251.38 ▼3.20
Add New Post /wp-admin/post-new.php5.44 ▲0.00108.87 ▼558.37
Media Library /wp-admin/upload.php3.02 ▲0.0237.94 ▼2.85

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for ChatBot Gratis para Ventas ATP - ALMA
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,701 ▲13015.94 ▲0.5810.02 ▼0.8851.33 ▲3.76
Dashboard /wp-admin2,983 ▲495.91 ▼0.03170.06 ▼15.22114.25 ▼1.56
Posts /wp-admin/edit.php2,761 ▲222.73 ▲0.0071.18 ▼8.5591.28 ▼5.22
Add New Post /wp-admin/post-new.php1,698 ▲8318.47 ▼2.89388.30 ▲55.39112.91 ▲1.10
Media Library /wp-admin/upload.php1,829 ▲75.02 ▼0.00174.93 ▲8.51127.65 ▲2.96

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: There are too many tags (11 tag instead of maximum 10)
You can look at the official readme.txt

atp-chatbot/index.php 92% from 13 tests

The main PHP file in "ChatBot Gratis para Ventas ATP - ALMA" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("atp-chatbot.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin121 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP32717118
CSS1003

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.49
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.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
There were not PNG files found in your plugin