89% worten-conector

Code Review | Worten Conector

WordPress plugin Worten Conector scored89%from 54 tests.

About plugin

  • Plugin page: worten-conector
  • Plugin version: 2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.4.1
  • WordPress version: 6.3.1
  • First release: May 25, 2022
  • Latest release: Nov 20, 2023
  • Number of updates: 105
  • Update frequency: every 5.2 days
  • Top authors: teracondition (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,700 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼0.63ms] Passed 4 tests

Analyzing server-side resources used by Worten Conector
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.32 ▲1.40
Dashboard /wp-admin3.32 ▲0.0244.58 ▼4.88
Posts /wp-admin/edit.php3.38 ▲0.0247.71 ▲1.98
Add New Post /wp-admin/post-new.php5.91 ▲0.0294.21 ▲3.81
Media Library /wp-admin/upload.php3.25 ▲0.0234.33 ▼1.04

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

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

Browser metrics Passed 4 tests

Worten Conector: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,879 ▲11714.25 ▼0.122.07 ▲0.4743.48 ▼0.39
Dashboard /wp-admin2,230 ▲565.63 ▼0.0193.70 ▼2.3343.47 ▼2.35
Posts /wp-admin/edit.php2,132 ▲322.03 ▼0.0538.82 ▼2.4636.19 ▲0.71
Add New Post /wp-admin/post-new.php1,552 ▲2623.74 ▲0.00671.43 ▼0.0275.11 ▲5.41
Media Library /wp-admin/upload.php1,429 ▲294.17 ▼0.0798.24 ▼16.3341.78 ▼5.78

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Donate link: Invalid URI ("")
  • Requires php: Version not formatted correctly
The official readme.txt might help

worten-conector/worten-conector.php Passed 13 tests

"Worten Conector" version 2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
84 characters long description:
Catalog and orders integration between your Woocommerce Store and Worten Marketplace

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected300 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP657245195
PO File23232105

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity1.50
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.17
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes125.00%
Methods12
▷ Static methods18.33%
▷ Public methods975.00%
▷ Protected methods00.00%
▷ Private methods325.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin