Benchmarks
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.00MB] [CPU: ▼142.62ms] Passed 4 tests
A check of server-side resources used by 17TRACK for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 24.03 ▼0.94 |
Dashboard /wp-admin | 3.06 ▼0.00 | 31.20 ▼1.60 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 31.33 ▼0.61 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 69.10 ▼567.06 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 21.86 ▼0.87 |
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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.73 ▲0.13 | 6.71 ▼0.47 | 74.26 ▼3.82 |
Dashboard /wp-admin | 2,930 ▲31 | 6.17 ▼0.04 | 116.31 ▼12.34 | 166.92 ▼5.46 |
Posts /wp-admin/edit.php | 2,740 ▲3 | 3.23 ▲0.01 | 65.44 ▲0.77 | 137.56 ▼3.88 |
Add New Post /wp-admin/post-new.php | 3,722 ▲24 | 18.78 ▼0.21 | 441.55 ▼5.87 | 157.73 ▼6.67 |
Media Library /wp-admin/upload.php | 1,752 ▼0 | 5.50 ▲0.04 | 139.76 ▼2.48 | 181.47 ▼0.76 |
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
Optimizations
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 ===
)
17track/17TRACK.php 92% from 13 tests
The main PHP script in "17TRACK for WooCommerce" version 1.2.10 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,084 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 847 | 5,520 | 5,017 |
PHP | 9 | 252 | 66 | 1,667 |
JavaScript | 8 | 74 | 22 | 400 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 27.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 93 | |
▷ Static methods | 1 | 1.08% |
▷ Public methods | 73 | 78.49% |
▷ Protected methods | 8 | 8.60% |
▷ Private methods | 12 | 12.90% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 1 | 6.67% |
▷ Class constants | 14 | 93.33% |
▷ Public constants | 14 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/plugin/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/plugin/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |