89% webyx-fe

Code Review | Webyx FE

WordPress plugin Webyx FE scored89%from 54 tests.

About plugin

  • Plugin page: webyx-fe
  • Plugin version: 1.1.5
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.4
  • WordPress version: 6.3.1
  • First release: Mar 7, 2023
  • Latest release: Nov 9, 2023
  • Number of updates: 13
  • Update frequency: every 21.1 days
  • Top authors: webyxforgutenberg (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

100+ active /2,102 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
Installer ran successfully

Server metrics [RAM: ▲0.70MB] [CPU: ▼2.90ms] Passed 4 tests

Analyzing server-side resources used by Webyx FE
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.18 ▲0.7143.66 ▲0.83
Dashboard /wp-admin4.02 ▲0.6747.24 ▼15.99
Posts /wp-admin/edit.php4.13 ▲0.7849.69 ▲4.68
Add New Post /wp-admin/post-new.php6.60 ▲0.7195.85 ▼1.11
Media Library /wp-admin/upload.php3.94 ▲0.7139.82 ▲5.85

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Webyx FE
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲8513.41 ▼0.934.64 ▲2.8844.85 ▲0.66
Dashboard /wp-admin2,212 ▲355.59 ▲0.0490.63 ▼11.4639.06 ▼3.53
Posts /wp-admin/edit.php2,117 ▲172.02 ▲0.0740.98 ▲3.2537.32 ▲2.12
Add New Post /wp-admin/post-new.php1,538 ▲923.31 ▲0.19690.40 ▲106.9058.83 ▲9.51
Media Library /wp-admin/upload.php1,417 ▲204.18 ▼0.0495.56 ▼10.1741.54 ▼2.90

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 14 tag instead of maximum 10
You can take inspiration from this readme.txt

webyx-fe/webyx-fe.php 92% from 13 tests

The main PHP script in "Webyx FE" version 1.1.5 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Requires at least: The required version number must match the one declared in readme.txt ("5.7" instead of "6.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
Everything looks great! No dangerous files found in this plugin4,152 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP60314,142
CSS5005
JavaScript4004
SVG1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity357.00
▷ Minimum class complexity357.00
▷ Maximum class complexity357.00
Average method complexity5.51
▷ Minimum method complexity1.00
▷ Maximum method complexity45.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods79
▷ Static methods11.27%
▷ Public methods7898.73%
▷ Protected methods00.00%
▷ Private methods11.27%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
No PNG images were found in this plugin