84% xeno

Code Review | Xeno

WordPress plugin Xeno scored 84% from 54 tests.

About plugin

  • Plugin page: xeno
  • Plugin version: 2.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.2
  • WordPress version: 6.3.1
  • First release: Dec 31, 2018
  • Latest release: Aug 8, 2019
  • Number of updates: 21
  • Update frequency: every 12.0 days
  • Top authors: xenoapp (95.24%)Otto42 (9.52%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 3,765 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼1.01ms] Passed 4 tests

Analyzing server-side resources used by Xeno
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.17 ▼2.86
Dashboard /wp-admin3.33 ▲0.0346.10 ▼2.68
Posts /wp-admin/edit.php3.38 ▲0.0349.38 ▼1.48
Add New Post /wp-admin/post-new.php5.91 ▲0.03101.78 ▲8.03
Media Library /wp-admin/upload.php3.26 ▲0.0337.06 ▲2.97
Xeno /wp-admin/tools.php?page=xeno-settings3.2231.94

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

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

Browser metrics Passed 4 tests

Xeno: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,835 ▲6415.04 ▲0.6611.68 ▲9.6840.09 ▼0.98
Dashboard /wp-admin2,210 ▲225.85 ▲0.95109.41 ▼0.4142.45 ▼3.05
Posts /wp-admin/edit.php2,093 ▲12.00 ▲0.0141.05 ▼0.5336.00 ▼0.78
Add New Post /wp-admin/post-new.php1,545 ▲3118.24 ▼5.48599.67 ▼108.1256.31 ▼4.61
Media Library /wp-admin/upload.php1,389 ▼24.23 ▲0.04100.06 ▼9.0242.18 ▼10.76
Xeno /wp-admin/tools.php?page=xeno-settings7862.0323.1123.64

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please fix the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/xeno/xeno.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: wordpress, livechat, chat, support, xeno

xeno/xeno.php Passed 13 tests

Analyzing the main PHP file in "Xeno" version 2.1.1
101 characters long description:
Your independent customer chat tool. Make your contacts feel special with the power of live response.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected93 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP291393

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.27
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin