Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼1.24ms] Passed 4 tests
An overview of server-side resources used by Integrate myTarget for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 37.26 ▼3.59 |
Dashboard /wp-admin | 3.60 ▲0.29 | 47.23 ▼2.71 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 48.21 ▲1.10 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 86.95 ▲0.23 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 35.77 ▲1.48 |
myTarget settings /wp-admin/admin.php?page=imtfw-settings | 3.43 | 33.44 |
Debug page /wp-admin/admin.php?page=imtfwdebug | 3.43 | 34.50 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 11 new options
New WordPress options |
---|
imtfw_code_location |
widget_recent-posts |
imtfw_feed_id |
theysaidso_admin_options |
widget_recent-comments |
imtfw_keeplogs |
can_compress_scripts |
imtfw_mytarget_id |
imtfw_dynamic_remarketing |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Integrate myTarget for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲56 | 14.30 ▼0.04 | 1.65 ▼0.02 | 29.01 ▼15.63 |
Dashboard /wp-admin | 2,217 ▲37 | 5.49 ▼0.17 | 92.41 ▼7.25 | 43.99 ▼1.32 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 1.98 ▲0.01 | 42.18 ▲1.25 | 40.83 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 22.91 ▼0.26 | 603.64 ▼39.82 | 53.88 ▲4.30 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.14 ▼0.05 | 96.24 ▼4.21 | 45.66 ▲2.10 |
myTarget settings /wp-admin/admin.php?page=imtfw-settings | 1,261 | 1.82 | 27.34 | 38.63 |
Debug page /wp-admin/admin.php?page=imtfwdebug | 981 | 1.82 | 29.44 | 27.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=imtfwdebug
- > Network (severe)
wp-content/plugins/wc-mytarget/css/wc-mytarget.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% 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 need to be fixed:
- Screenshots: Screenshot #1 (screenshot-1.png) image not found
wc-mytarget/wc-mytarget.php Passed 13 tests
The entry point to "Integrate myTarget for WooCommerce" version 0.1.3 is a PHP file that has certain tags in its header comment area
85 characters long description:
This plugin helps setting up myTarget counter for dynamic remarketing for WooCommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,511 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 160 | 300 | 1,279 |
PO File | 1 | 383 | 855 | 199 |
CSS | 1 | 0 | 1 | 30 |
JavaScript | 1 | 2 | 13 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 19.80 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 3 | 60.00% |
Methods | 66 | |
▷ Static methods | 6 | 9.09% |
▷ Public methods | 39 | 59.09% |
▷ Protected methods | 4 | 6.06% |
▷ Private methods | 23 | 34.85% |
Functions | 25 | |
▷ Named functions | 17 | 68.00% |
▷ Anonymous functions | 8 | 32.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 80.24KB | 30.43KB | ▼ 62.08% |