89% worten-conector-tracking-for-orders

Code Review | Worten Conector - Tracking for Orders

WordPress plugin Worten Conector - Tracking for Orders scored89%from 54 tests.

About plugin

  • Plugin page: worten-conector-t...
  • Plugin version: 2.3
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.4.1
  • WordPress version: 6.3.1
  • First release: Feb 3, 2023
  • Latest release: Nov 20, 2023
  • Number of updates: 40
  • Update frequency: every 7.3 days
  • Top authors: teracondition (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /268 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.71ms] Passed 4 tests

Analyzing server-side resources used by Worten Conector - Tracking for Orders
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0037.30 ▼6.37
Dashboard /wp-admin3.31 ▲0.0145.09 ▼4.93
Posts /wp-admin/edit.php3.36 ▲0.0047.38 ▼0.68
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.10 ▼10.37
Media Library /wp-admin/upload.php3.23 ▲0.0034.45 ▼1.17

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Worten Conector - Tracking for Orders
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5314.29 ▼0.061.77 ▲0.1937.65 ▼8.01
Dashboard /wp-admin2,198 ▲185.58 ▼0.0497.44 ▲1.6242.59 ▲0.08
Posts /wp-admin/edit.php2,100 ▼32.01 ▲0.0639.82 ▲0.3337.60 ▲2.43
Add New Post /wp-admin/post-new.php1,526 ▼523.18 ▲0.41585.27 ▼26.4060.34 ▲5.76
Media Library /wp-admin/upload.php1,400 ▼04.23 ▲0.0996.79 ▼2.4142.53 ▼1.21

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% 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 your attention:
  • Donate link: Invalid url: ""
  • Requires php: The plugin version is formatted incorrectly
The official readme.txt might help

worten-conector-tracking-for-orders/worten-conector-tracking-for-orders.php 92% from 13 tests

The main PHP file in "Worten Conector - Tracking for Orders" ver. 2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 187 characters long)

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 detected105 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2727105

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin