89% aw-woocommerce-tiki

Code Review | AW WooCommerce TIKI Shipping

WordPress plugin AW WooCommerce TIKI Shipping scored89%from 54 tests.

About plugin

  • Plugin page: aw-woocommerce-tiki
  • Plugin version: 4.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.7.2
  • WordPress version: 6.3.1
  • First release: Mar 2, 2016
  • Latest release: Mar 5, 2017
  • Number of updates: 13
  • Update frequency: every 28.5 days
  • Top authors: AgenWebsite (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,470 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

A check of server-side resources used by AW WooCommerce TIKI Shipping
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0043.40 ▲0.67
Dashboard /wp-admin3.31 ▼0.0448.17 ▼8.87
Posts /wp-admin/edit.php3.42 ▲0.0746.09 ▲1.90
Add New Post /wp-admin/post-new.php5.89 ▲0.0076.50 ▼23.33
Media Library /wp-admin/upload.php3.23 ▲0.0033.68 ▲0.82

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for AW WooCommerce TIKI Shipping
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.62 ▼0.751.51 ▼0.4337.87 ▼5.09
Dashboard /wp-admin2,200 ▲125.83 ▼0.06106.66 ▼1.1338.45 ▼1.54
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0137.26 ▼3.4429.60 ▼6.30
Add New Post /wp-admin/post-new.php1,537 ▼518.36 ▲0.04605.82 ▼4.1155.61 ▲7.22
Media Library /wp-admin/upload.php1,388 ▲64.23 ▲0.0298.25 ▼2.4641.00 ▼3.35

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
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 errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in aw-woocommerce-tiki/assets to your readme.txt
  • Tags: There are too many tags (14 tag instead of maximum 10)
You can look at the official readme.txt

aw-woocommerce-tiki/aw-woocommerce-tiki.php Passed 13 tests

The main PHP script in "AW WooCommerce TIKI Shipping" version 4.0.3 is automatically included on every request by WordPress
66 characters long description:
Plugin untuk WooCommerce dengan penambahan metode pengiriman TIKI.

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
Everything looks great! No dangerous files found in this plugin1,715 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP83898061,204
JavaScript45719284
CSS1320139
Markdown224087
Sass1001

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.32
Average class complexity28.33
▷ Minimum class complexity4.00
▷ Maximum class complexity57.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods82
▷ Static methods1113.41%
▷ Public methods6275.61%
▷ Protected methods00.00%
▷ Private methods2024.39%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
5 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/help.png0.30KB0.32KB0.00%
assets/images/bad.png0.64KB0.72KB0.00%
assets/images/upgrade-728x90.png63.73KB24.31KB▼ 61.86%
assets/images/logo.png5.43KB3.12KB▼ 42.54%
assets/images/good.png0.52KB0.52KB0.00%