Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.66ms] Passed 4 tests
An overview of server-side resources used by Woo Dynamic Remarketing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.21 ▼5.04 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.44 ▼0.39 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 42.44 ▼5.98 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 78.33 ▼6.67 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.76 ▼0.94 |
Dynamic Remarketing /wp-admin/options-general.php?page=remarketing_dinamic | 3.22 | 29.07 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Woo Dynamic Remarketing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲96 | 14.58 ▲0.22 | 4.32 ▲2.38 | 44.74 ▲2.36 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▼0.05 | 96.01 ▲12.04 | 43.38 ▲3.03 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 1.99 ▲0.03 | 34.36 ▼6.34 | 34.11 ▼5.96 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.98 ▲0.02 | 668.94 ▲4.11 | 54.27 ▼5.18 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.23 ▼0.05 | 96.04 ▼8.09 | 41.39 ▼1.65 |
Dynamic Remarketing /wp-admin/options-general.php?page=remarketing_dinamic | 828 | 2.17 | 24.25 | 28.05 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-dynamic-re-marketing/feed.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/woo-dynamic-re-marketing/options.php:141
- > PHP Fatal error
Uncaught Error: Call to undefined function is_front_page() in wp-content/plugins/woo-dynamic-re-marketing/remarketing-dinamic.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: remarketing, adwords, dynamic
woo-dynamic-re-marketing/options.php 92% from 13 tests
The main PHP script in "Woo Dynamic Remarketing" version 2.2 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-dynamic-re-marketing.php" instead of "options.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected233 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 63 | 46 | 197 |
Markdown | 1 | 24 | 0 | 36 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
sinaps-logo-15-s.png | 21.56KB | 3.05KB | ▼ 85.87% |