83% tc-ezcape-chat

Code Review | Ezcape Video Chat - Discontinued

WordPress plugin Ezcape Video Chat - Discontinued scored 83% from 54 tests.

About plugin

  • Plugin page: tc-ezcape-chat
  • Plugin version: 1.3.2
  • PHP version: 7.4.16
  • WordPress compatibility: WordPress 2.0, BuddyPress 1.0.0-5.6
  • WordPress version: 5.8.1
  • First release: Mar 27, 2018
  • Latest release: Jan 19, 2021
  • Number of updates: 54
  • Update frequency: every 19.1 days
  • Top authors: ruddernationdesigns (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,274 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼141.62ms] Passed 4 tests

A check of server-side resources used by Ezcape Video Chat - Discontinued
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0140.55 ▲4.88
Dashboard /wp-admin3.07 ▲0.0252.91 ▲6.45
Posts /wp-admin/edit.php3.12 ▲0.0241.44 ▼5.96
Add New Post /wp-admin/post-new.php5.43 ▼0.0099.88 ▼559.32
Media Library /wp-admin/upload.php3.01 ▲0.0133.34 ▼6.07

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options
ezcapechat_url

Browser metrics Passed 4 tests

An overview of browser requirements for Ezcape Video Chat - Discontinued
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10716.16 ▲0.188.34 ▼0.3153.31 ▲2.15
Dashboard /wp-admin2,970 ▲365.87 ▼0.07136.71 ▼7.18106.27 ▼11.09
Posts /wp-admin/edit.php2,739 ▼02.70 ▲0.0270.57 ▼0.9593.32 ▲1.00
Add New Post /wp-admin/post-new.php1,500 ▼10418.45 ▼0.39366.17 ▼0.88118.72 ▲4.53
Media Library /wp-admin/upload.php1,810 ▲35.03 ▲0.01167.61 ▲21.01119.87 ▼5.86

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
  • Zombie WordPress options were found after uninstall: 1 option
    • ezcapechat_url

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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/tc-ezcape-chat/ezcape-chat.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Requires at least: Invalid version format
You can look at the official readme.txt

tc-ezcape-chat/ezcape-chat.php 77% from 13 tests

The main file in "Ezcape Video Chat - Discontinued" v. 1.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tc-ezcape-chat.php" instead of "ezcape-chat.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 147 characters long)
  • Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "WordPress 2.0, BuddyPress 1.0.0")

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
No dangerous file extensions were detected77 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1371377

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin