Benchmarks
Plugin footprint 83% from 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.07MB] [CPU: ▼11.35ms] 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 / | 3.55 ▲0.08 | 37.02 ▼1.35 |
Dashboard /wp-admin | 3.39 ▲0.04 | 51.71 ▼15.01 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 43.20 ▼9.14 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.62 ▼17.42 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.50 ▼3.83 |
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, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
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 / | 2,814 ▲53 | 14.72 ▲0.44 | 1.77 ▲0.13 | 37.47 ▼3.18 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.09 | 82.61 ▼8.51 | 40.50 ▲1.50 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.03 ▲0.03 | 34.97 ▼6.10 | 34.19 ▼3.70 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.65 ▲0.40 | 691.90 ▲111.14 | 51.77 ▼3.57 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.19 ▲0.01 | 96.14 ▼4.53 | 42.99 ▼1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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% |