89% wc-autolynk-export-import

Code Review | VGP Import Export for Autolynk in WooCommerce

WordPress plugin VGP Import Export for Autolynk in WooCommerce scored89%from 54 tests.

About plugin

  • Plugin page: wc-autolynk-expor...
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 6.3.1
  • First release: Jul 10, 2020
  • Latest release: Aug 3, 2021
  • Number of updates: 32
  • Update frequency: every 12.6 days
  • Top authors: vgpmedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /580 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Server-side resources used by VGP Import Export for Autolynk in WooCommerce
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0045.82 ▲2.34
Dashboard /wp-admin3.31 ▲0.0047.89 ▲2.79
Posts /wp-admin/edit.php3.36 ▲0.0044.07 ▼6.44
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.63 ▼11.59
Media Library /wp-admin/upload.php3.23 ▲0.0033.79 ▲2.24

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for VGP Import Export for Autolynk in WooCommerce
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.07 ▼0.291.70 ▼0.5843.42 ▼3.90
Dashboard /wp-admin2,192 ▲155.57 ▼0.0487.77 ▼11.1442.93 ▼1.43
Posts /wp-admin/edit.php2,100 ▼01.99 ▲0.0033.02 ▼6.7435.49 ▲0.78
Add New Post /wp-admin/post-new.php1,526 ▼1023.09 ▲0.13647.23 ▲25.1365.64 ▲14.75
Media Library /wp-admin/upload.php1,403 ▲34.25 ▲0.0498.76 ▼6.2443.18 ▲0.26

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

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: Please add images for these screenshots: #1 (Default view after installation. Just click 'Export' to get results.), #2 (Import Tab. Set the Tracking URL, and Customer Note Email Message from Here, Upload the CSV file and click 'Import'. It will import the order one by one and send the Tracking No with URL to the relevant Customer), #3 (Shipping Code Field, To set the Shipping Code for Autolynk System.)
The official readme.txt might help

wc-autolynk-export-import/vgp-import-export-for-autolynk-in-woocommerce.php 85% from 13 tests

The primary PHP file in "VGP Import Export for Autolynk in WooCommerce" version 1.0.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wc-autolynk-export-import.php" instead of "vgp-import-export-for-autolynk-in-woocommerce.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected8,982 lines of code in 29 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript111,6144156,105
PHP153627671,679
CSS336501,198

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity19.60
▷ Minimum class complexity1.00
▷ Maximum class complexity89.00
Average method complexity4.38
▷ Minimum method complexity1.00
▷ Maximum method complexity84.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods55
▷ Static methods1832.73%
▷ Public methods4887.27%
▷ Protected methods00.00%
▷ Private methods712.73%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.28MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png0.26KB0.15KB▼ 42.37%
assets/css/images/ui-icons_2e83ff_256x240.png4.44KB4.17KB▼ 6.02%
assets/Screenshort3.png147.89KB44.36KB▼ 70.00%
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png0.32KB0.15KB▼ 54.82%
assets/css/images/ui-icons_454545_256x240.png6.83KB4.17KB▼ 38.86%