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.35MB] [CPU: ▼8.54ms] Passed 4 tests
Analyzing server-side resources used by Remarkety - eCommerce Marketing Automation Platform for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.36 | 44.72 ▲1.01 |
Dashboard /wp-admin | 3.67 ▲0.32 | 56.26 ▼10.84 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 56.66 ▲6.13 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.35 | 89.02 ▼27.37 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 40.29 ▲3.05 |
Remarkety WC API /wp-admin/options-general.php?page=remarkety_for_woocommerce | 3.56 | 55.09 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_remarkety_carts_guests |
wp_remarkety_carts |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
rm_db_version |
widget_recent-posts |
remarkety_api_key |
Browser metrics Passed 4 tests
An overview of browser requirements for Remarkety - eCommerce Marketing Automation Platform for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.40 ▲0.03 | 1.95 ▲0.08 | 45.12 ▼2.41 |
Dashboard /wp-admin | 2,201 ▲27 | 5.62 ▲0.00 | 91.59 ▲0.83 | 41.07 ▼6.41 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.04 ▲0.04 | 38.87 ▲1.73 | 36.62 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.30 ▲0.29 | 685.18 ▼41.84 | 56.11 ▼8.17 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.27 ▲0.02 | 113.32 ▲0.72 | 48.15 ▲2.00 |
Remarkety WC API /wp-admin/options-general.php?page=remarkety_for_woocommerce | 940 | 1.71 | 29.32 | 32.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- remarkety_api_key
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #7 (Track results), #8 (Product recommendation in emails), #9 (Easy customer segmentation)
- Tags: There are too many tags (17 tag instead of maximum 10)
remarkety-for-woocommerce/remarkety-for-woocommerce.php 92% from 13 tests
The primary PHP file in "Remarkety - eCommerce Marketing Automation Platform for WooCommerce" version 1.4.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.0.1" instead of "2.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,278 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 296 | 94 | 1,836 |
Markdown | 1 | 137 | 0 | 235 |
CSS | 2 | 16 | 3 | 111 |
JavaScript | 2 | 15 | 3 | 96 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 98.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 277.00 |
Average method complexity | 4.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 9 | 11.54% |
▷ Public methods | 60 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 23.08% |
Functions | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/yop-arrow.png | 1.13KB | 0.23KB | ▼ 79.74% |
assets/images/remarkety_logo_152x50.png | 4.58KB | 3.10KB | ▼ 32.24% |