99% 17track

Code Review | 17TRACK for WooCommerce

WordPress plugin 17TRACK for WooCommerce scored 99% from 54 tests.

About plugin

  • Plugin page: 17track
  • Plugin version: 1.2.7
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.6
  • WordPress version: 5.8.1
  • First release: Jul 21, 2018
  • Latest release: Jan 16, 2021
  • Number of updates: 27
  • Update frequency: every 33.7 days
  • Top authors: 17track (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active / 8,243 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.09MB] [CPU: ▼139.79ms] Passed 4 tests

A check of server-side resources used by 17TRACK for WooCommerce
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.92 ▲0.2032.82 ▲12.13
Dashboard /wp-admin3.14 ▲0.0936.20 ▼5.13
Posts /wp-admin/edit.php3.23 ▲0.1244.45 ▲7.40
Add New Post /wp-admin/post-new.php5.50 ▲0.0685.10 ▼559.29
Media Library /wp-admin/upload.php3.08 ▲0.0829.64 ▼2.15

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for 17TRACK for WooCommerce
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.75 ▲0.117.49 ▼1.7245.31 ▼0.65
Dashboard /wp-admin2,970 ▲345.92 ▼0.20152.63 ▲1.76115.04 ▲10.28
Posts /wp-admin/edit.php2,739 ▲32.68 ▼0.0164.52 ▼3.5789.39 ▼2.85
Add New Post /wp-admin/post-new.php1,672 ▲219.09 ▼0.02380.45 ▼1.17108.91 ▼5.90
Media Library /wp-admin/upload.php1,807 ▼05.02 ▲0.09144.20 ▼16.34117.34 ▼4.19

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Plugin Name: Please specify the plugin name on the first line ( === 17track === )
The official readme.txt might help

17track/17TRACK.php 92% from 13 tests

The main PHP script in "17TRACK for WooCommerce" version 1.2.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("17track.php" instead of "17TRACK.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin7,020 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity26.78
▷ Minimum class complexity1.00
▷ Maximum class complexity66.00
Average method complexity3.58
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
▷ Static methods11.10%
▷ Public methods7178.02%
▷ Protected methods88.79%
▷ Private methods1213.19%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants16.67%
▷ Class constants1493.33%
▷ Public constants14100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings