Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.51ms] Passed 4 tests
Analyzing server-side resources used by Rontar Dynamic Retargeting for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 57.37 ▲11.11 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.48 ▼18.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.50 ▲2.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.89 ▼10.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.77 ▼7.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rontar Dynamic Retargeting for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▲0.02 | 2.20 ▲0.02 | 41.74 ▲0.34 |
Dashboard /wp-admin | 2,195 ▲15 | 5.52 ▼0.22 | 84.11 ▼3.15 | 38.21 ▼6.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.00 | 33.35 ▼7.00 | 32.98 ▼7.40 |
Add New Post /wp-admin/post-new.php | 1,560 ▲29 | 18.16 ▼5.04 | 633.38 ▼66.50 | 65.23 ▲4.99 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.22 ▼0.08 | 95.45 ▼16.97 | 43.89 ▼3.95 |
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 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/rontar-dynamic-retargeting-for-woocommerce/admin/Class_Rontar_Integration.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: sales, remarketing, advertising, ads, retargeting...
rontar-dynamic-retargeting-for-woocommerce/main.php 85% from 13 tests
The main file in "Rontar Dynamic Retargeting for WooCommerce" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rontar-dynamic-retargeting-for-woocommerce.php" instead of "main.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 plugin502 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 123 | 222 | 502 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 4 | 80.00% |
Methods | 54 | |
▷ Static methods | 3 | 5.56% |
▷ Public methods | 26 | 48.15% |
▷ Protected methods | 2 | 3.70% |
▷ Private methods | 26 | 48.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin