78% chatkaizen

Code Review | ChatKaizen

WordPress plugin ChatKaizen scored78%from 54 tests.

About plugin

  • Plugin page: chatkaizen
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.3
  • WordPress version: 6.3.1
  • First release: Aug 18, 2015
  • Latest release: May 19, 2018
  • Number of updates: 7
  • Update frequency: every 143.6 days
  • Top authors: clapas (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /870 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.35MB] [CPU: ▼10.43ms] Passed 4 tests

Server-side resources used by ChatKaizen
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.435.51 ▼34.33
Dashboard /wp-admin3.31 ▲0.0144.45 ▼1.60
Posts /wp-admin/edit.php3.36 ▲0.0146.02 ▼3.28
Add New Post /wp-admin/post-new.php5.89 ▲0.0194.75 ▲6.97
Media Library /wp-admin/upload.php3.24 ▲0.0134.43 ▼2.51
ChatKaizen /wp-admin/options-general.php?page=chatkaizen_options3.1830.61

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

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

Browser metrics Passed 4 tests

Checking browser requirements for ChatKaizen
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲10214.67 ▲0.472.04 ▲0.1440.55 ▼6.19
Dashboard /wp-admin2,213 ▲254.83 ▼1.0498.36 ▼3.2637.99 ▼4.69
Posts /wp-admin/edit.php2,093 ▲11.99 ▼0.0238.79 ▲3.6434.57 ▼2.23
Add New Post /wp-admin/post-new.php1,536 ▲1723.26 ▲0.07670.19 ▲38.4253.85 ▼4.34
Media Library /wp-admin/upload.php1,392 ▲44.18 ▼0.0494.91 ▼6.0041.53 ▼4.44
ChatKaizen /wp-admin/options-general.php?page=chatkaizen_options8572.0624.9427.38

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=chatkaizen_options
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=chatkaizen_options
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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 errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatkaizen/chatkaizen.php:17

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 90% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === chatkaizen === )
Please take inspiration from this readme.txt

chatkaizen/chatkaizen.php 92% from 13 tests

Analyzing the main PHP file in "ChatKaizen" version 1.0
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 339 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin112 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1131576
PO File110836

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.13
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%
Functions5
▷ Named functions5100.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 are no PNG files in this plugin