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.01MB] [CPU: ▼7.88ms] Passed 4 tests
Server-side resources used by Mergado Pack
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.37 ▼0.02 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.21 ▼12.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.17 ▼3.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.81 ▼9.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.35 ▼5.25 |
Server storage [IO: ▲4.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 708 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mergado Pack
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲68 | 14.35 ▼0.37 | 1.91 ▲0.27 | 36.24 ▼0.48 |
Dashboard /wp-admin | 2,192 ▲14 | 5.51 ▼0.22 | 89.50 ▼21.85 | 39.45 ▼1.74 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.01 | 38.95 ▼0.27 | 34.34 ▼3.80 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.65 ▲0.80 | 685.02 ▲3.78 | 59.82 ▼0.52 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.08 | 94.29 ▼19.69 | 40.08 ▼8.29 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 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
The following issues need your attention
- 144× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/mergado-marketing-pack/src/Service/External/Facebook/templates/search.php
- > /wp-content/plugins/mergado-marketing-pack/src/Service/External/Biano/templates/addToCartAjax.php
- > /wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Heureka/templates/conversion.php
- > /wp-content/plugins/mergado-marketing-pack/src/Service/External/Google/Gtag/templates/GA4/selectItem.php
- > /wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Google/GoogleAds/templates/conversion.php
- > /wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Google/Gtag/templates/GA4/viewCart.php
- > /wp-content/plugins/mergado-marketing-pack/src/Service/External/Google/GoogleTagManager/templates/checkoutManipulation.php
- > /wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Google/Gtag/templates/Universal/purchased.php
- > /wp-content/plugins/mergado-marketing-pack/src/Service/External/Glami/templates/pixel/init.php
- > /wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Zbozi/templates/conversion.php
- 964× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: consent in wp-content/plugins/mergado-marketing-pack/src/Service/External/Glami/templates/pixel/viewContentCategory.php on line 9
- > PHP Notice
Undefined variable: value in wp-content/plugins/mergado-marketing-pack/src/Service/External/Argep/templates/conversion.php on line 5
- > PHP Notice
Undefined variable: id in wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Google/GoogleTagManager/templates/addToCart.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mergado-marketing-pack/admin/templates/partials/support/logs.php:5
- > PHP Notice
Undefined variable: productTitle in wp-content/plugins/mergado-marketing-pack/src/Service/External/Facebook/templates/viewContent.php on line 11
- > PHP Fatal error
Trait 'Mergado\\Traits\\SingletonTrait' not found in wp-content/plugins/mergado-marketing-pack/src/Service/CookieService.php on line 11
- > PHP Notice
Undefined variable: currency in wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Google/Gtag/templates/Universal/selectContent.php on line 4
- > PHP Notice
Undefined variable: itemIds in wp-content/plugins/mergado-marketing-pack/src/Service/External/Glami/templates/pixel/viewContentCategory.php on line 5
- > PHP Notice
Undefined variable: categoryName in wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Facebook/templates/viewCategory.php on line 3
- > PHP Notice
Undefined variable: contentIds in wp-content/plugins/mergado-marketing-pack/trunk/src/Service/External/Facebook/templates/initiateCheckout.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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
5 plugin tags: export, xml, woocommerce, marketing, feed
mergado-marketing-pack/mergado-marketing-pack.php 92% from 13 tests
Analyzing the main PHP file in "Mergado Pack" version 3.7.1
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.5.1" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected35,056 lines of code in 340 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 298 | 4,292 | 4,038 | 18,699 |
JSON | 5 | 0 | 0 | 12,572 |
CSS | 7 | 401 | 40 | 2,220 |
JavaScript | 17 | 168 | 63 | 1,103 |
SVG | 11 | 0 | 1 | 407 |
Markdown | 1 | 13 | 0 | 42 |
EJS | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 48 | |
Interfaces | 4 | |
Traits | 2 | |
Classes | 320 | |
▷ Abstract classes | 16 | 5.00% |
▷ Concrete classes | 304 | 95.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,926 | |
▷ Static methods | 324 | 16.82% |
▷ Public methods | 1,750 | 90.86% |
▷ Protected methods | 76 | 3.95% |
▷ Private methods | 100 | 5.19% |
Functions | 40 | |
▷ Named functions | 14 | 35.00% |
▷ Anonymous functions | 26 | 65.00% |
Constants | 490 | |
▷ Global constants | 30 | 6.12% |
▷ Class constants | 460 | 93.88% |
▷ Public constants | 452 | 98.26% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/rsz_mergado_pack_logo_menu.png | 0.64KB | 0.83KB | 0.00% |
trunk/admin/img/mergado_pack_logo_menu.png | 1.70KB | 1.73KB | 0.00% |
trunk/admin/img/mergado_logo.png | 36.70KB | 4.14KB | ▼ 88.72% |
trunk/admin/img/rsz_mergado_pack_logo_menu.png | 0.64KB | 0.83KB | 0.00% |
trunk/admin/img/logo.png | 2.33KB | 1.91KB | ▼ 18.09% |