90% webyx

Code Review | Webyx

WordPress plugin Webyx scored90%from 54 tests.

About plugin

  • Plugin page: webyx
  • Plugin version: 1.6.6
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7-6.4
  • WordPress version: 6.3.1
  • First release: Jul 1, 2021
  • Latest release: Nov 15, 2023
  • Number of updates: 28
  • Update frequency: every 31.5 days
  • Top authors: webyxforgutenberg (100%)

Code review

54 tests

User reviews

40 reviews

Install metrics

500+ active /7,369 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼2.41ms] Passed 4 tests

A check of server-side resources used by Webyx
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1136.96 ▼3.63
Dashboard /wp-admin3.41 ▲0.1048.30 ▲2.37
Posts /wp-admin/edit.php3.52 ▲0.1651.24 ▲0.44
Add New Post /wp-admin/post-new.php6.02 ▲0.1383.97 ▼8.83
Media Library /wp-admin/upload.php3.34 ▲0.1137.72 ▲5.09
Webyx FG Settings /wp-admin/options-general.php?page=webyx_fg_plugin_settings3.3032.22

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
webyx_fg_activation_time
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Webyx
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲8316.72 ▲2.341.71 ▼0.0537.48 ▼10.37
Dashboard /wp-admin2,249 ▲757.49 ▲1.91233.14 ▲131.1543.95 ▼1.06
Posts /wp-admin/edit.php2,174 ▲717.12 ▲5.0978.77 ▲38.2835.13 ▼3.06
Add New Post /wp-admin/post-new.php6,465 ▲4,93823.53 ▲0.38863.91 ▲151.6941.15 ▼15.94
Media Library /wp-admin/upload.php1,528 ▲1319.01 ▲4.81127.62 ▲21.8839.38 ▼5.33
Webyx FG Settings /wp-admin/options-general.php?page=webyx_fg_plugin_settings8757.4279.1033.12

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • webyx_fg_activation_time
    • theysaidso_admin_options

Smoke tests Passed 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 Passed 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 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)
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
The official readme.txt might help

webyx/webyx.php Passed 13 tests

This is the main PHP file of "Webyx" version 1.6.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
111 characters long description:
Create amazing fullpage fullscreen scrolling websites with our fast, configurable and easy block for Gutenberg.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin572 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP6031563
CSS6105
JavaScript4004

PHP code Passed 2 tests

An short overview of 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.33
Average class complexity38.00
▷ Minimum class complexity38.00
▷ Maximum class complexity38.00
Average method complexity2.32
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods28
▷ Static methods13.57%
▷ Public methods28100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
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