84% webyn

Code Review | Webyn

WordPress plugin Webyn scored84%from 54 tests.

About plugin

  • Plugin page: webyn
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: Jun 15, 2023
  • Latest release: Oct 13, 2023
  • Number of updates: 7
  • Update frequency: every 17.1 days
  • Top authors: webynai (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /109 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

This is a short check of server-side resources used by Webyn
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0143.14 ▲2.38
Dashboard /wp-admin3.33 ▼0.0248.45 ▼10.02
Posts /wp-admin/edit.php3.38 ▲0.0247.56 ▼4.27
Add New Post /wp-admin/post-new.php5.91 ▲0.0282.95 ▼24.14
Media Library /wp-admin/upload.php3.25 ▲0.0238.53 ▲0.97
Webyn Settings /wp-admin/options-general.php?page=webyn-settings3.2029.44

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Webyn
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲4714.54 ▲0.261.71 ▲0.1343.46 ▲3.15
Dashboard /wp-admin2,199 ▲185.56 ▼0.1682.35 ▼15.9639.97 ▼1.28
Posts /wp-admin/edit.php2,104 ▲42.02 ▲0.0435.21 ▼1.0033.85 ▲0.59
Add New Post /wp-admin/post-new.php1,531 ▲223.00 ▼0.01645.45 ▼12.9760.90 ▲4.17
Media Library /wp-admin/upload.php1,404 ▲44.22 ▲0.0798.39 ▼15.5743.23 ▼6.22
Webyn Settings /wp-admin/options-general.php?page=webyn-settings8122.0222.5628.65

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=webyn-settings
    • > Notice in wp-content/plugins/webyn/webyn.php+105
    Trying to access array offset on value of type bool

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: landing page optimization, conversion rate optimization, landing pages

webyn/webyn.php Passed 13 tests

This is the main PHP file of "Webyn" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
Turn your visitor into customers with Webyn.ai CRO plugin

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
No dangerous file extensions were detected71 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2132771

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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