89% quickchat

Code Review | QuickChat

WordPress plugin QuickChat scored89%from 54 tests.

About plugin

  • Plugin page: quickchat
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.6
  • WordPress version: 6.3.1
  • First release: Feb 2, 2017
  • Latest release: Feb 2, 2017
  • Number of updates: 11
  • Update frequency: every 0.5 days
  • Top authors: quickchat (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /2,353 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by QuickChat
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0136.04 ▼4.00
Dashboard /wp-admin3.33 ▲0.0244.74 ▼4.85
Posts /wp-admin/edit.php3.38 ▲0.0247.10 ▼0.73
Add New Post /wp-admin/post-new.php5.90 ▲0.0286.37 ▼18.76
Media Library /wp-admin/upload.php3.25 ▲0.0234.42 ▼2.11
QuickChat install /wp-admin/options-general.php?page=quickchat-install3.2135.09

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by QuickChat
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.29 ▼1.081.58 ▼0.1840.54 ▼6.84
Dashboard /wp-admin2,207 ▲155.80 ▲0.86104.12 ▼7.6240.47 ▼3.21
Posts /wp-admin/edit.php2,096 ▲72.04 ▲0.0238.29 ▼3.5435.26 ▼0.31
Add New Post /wp-admin/post-new.php1,517 ▼1617.65 ▼5.49596.46 ▼4.1754.25 ▲5.02
Media Library /wp-admin/upload.php1,392 ▲14.19 ▼0.0092.85 ▼6.8843.18 ▼1.15
QuickChat install /wp-admin/options-general.php?page=quickchat-install7862.0626.6525.67

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Screenshots: Add a description for screenshot #3 in quickchat/assets to your readme.txt
  • Plugin Name: You should set the name of your plugin on the first line ( === quickchat === )
  • Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
You can look at the official readme.txt

quickchat/quickchat-install.php 92% from 13 tests

The entry point to "QuickChat" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("quickchat.php" instead of "quickchat-install.php")

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
Success! There were no dangerous files found in this plugin78 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3161057
PO File12221

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 2.99MB with 2.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-256x256.png21.07KB3.11KB▼ 85.23%
assets/screenshot-1.png102.09KB107.47KB0.00%
assets/screenshot-3.png810.25KB86.85KB▼ 89.28%
assets/icon round 128x128.png18.99KB1.79KB▼ 90.60%
assets/banner-772x250.png676.32KB52.94KB▼ 92.17%