Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼144.47ms] Passed 4 tests
A check of server-side resources used by Kelkoo Group Shopping
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 26.08 ▲4.21 |
Dashboard /wp-admin | 3.09 ▲0.02 | 31.45 ▼4.52 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 30.65 ▲0.51 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 71.68 ▼571.76 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 23.66 ▼2.12 |
Ad Builder /wp-admin/admin.php?page=kelkoo_group_shopping_settings_ad_builder | 3.09 | 19.45 |
Performance /wp-admin/admin.php?page=kelkoo_group_shopping_settings_performance | 3.03 | 21.06 |
Settings /wp-admin/admin.php?page=kelkoo_group_shopping_settings | 3.06 | 19.21 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 67 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Kelkoo Group Shopping
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲215 | 16.24 ▲0.61 | 8.82 ▲3.37 | 74.77 ▼2.00 |
Dashboard /wp-admin | 2,971 ▲76 | 6.07 ▼0.08 | 114.62 ▼17.96 | 178.25 ▲4.21 |
Posts /wp-admin/edit.php | 2,784 ▲44 | 3.10 ▼0.13 | 63.08 ▼1.49 | 134.32 ▼4.23 |
Add New Post /wp-admin/post-new.php | 3,733 ▼2 | 18.82 ▼0.06 | 430.79 ▼3.03 | 165.03 ▲3.47 |
Media Library /wp-admin/upload.php | 1,776 ▲24 | 5.55 ▲0.00 | 130.96 ▼15.61 | 204.05 ▲21.23 |
Ad Builder /wp-admin/admin.php?page=kelkoo_group_shopping_settings_ad_builder | 1,133 | 3.46 | 70.11 | 105.69 |
Performance /wp-admin/admin.php?page=kelkoo_group_shopping_settings_performance | 1,051 | 2.38 | 53.79 | 100.20 |
Settings /wp-admin/admin.php?page=kelkoo_group_shopping_settings | 1,287 | 2.54 | 53.86 | 142.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 29 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kelkoo_group_shopping_settings
- > Notice in wp-content/plugins/kelkoo-group-shopping/admin/settings.php+72
Trying to access array offset on value of type bool
SRP 0% from 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
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/kelkoo-group-shopping/admin/partials/kelkoo-group-shopping-admin-display.php
- > /wp-content/plugins/kelkoo-group-shopping/public/partials/kelkoo-group-shopping-public-display.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/kelkoo-group-shopping/admin/partials/header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/kelkoo-group-shopping/admin/partials/header.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/kelkoo-group-shopping/admin/ad-builder.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/kelkoo-group-shopping/admin/partials/existing-ads.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/kelkoo-group-shopping/admin/performance.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=kelkoo_group_shopping_settings_ad_builder
- > Network (severe)
http://ads.kelkoo.com/javascripts/scout.js?ver=1.2 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kelkoo_group_shopping_settings_ad_builder
- > Javascript (severe) in unknown
/wp-content/plugins/kelkoo-group-shopping/admin/js/kelkoo-group-shopping-ad-builder.js?ver=1.2 0:363 Uncaught ReferenceError: kw is not defined
- > GET request to /wp-admin/admin.php?page=kelkoo_group_shopping_settings_ad_builder
- > Javascript (severe) in unknown
/wp-content/plugins/kelkoo-group-shopping/admin/js/kelkoo-group-shopping-existing-ads.js?ver=1.2 0:2330 Uncaught TypeError: Cannot read properties of undefined (reading 'no-ads')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Contributors: Plugin contributors not specified
kelkoo-group-shopping/kelkoo-group-shopping.php Passed 13 tests
This is the main PHP file of "Kelkoo Group Shopping" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
78 characters long description:
Plugin to monetize your web site or blog with Kelkoo group affiliation program
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
Success! There were no dangerous files found in this plugin1,696 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 199 | 488 | 680 |
JavaScript | 14 | 120 | 14 | 535 |
Sass | 7 | 49 | 0 | 301 |
PO File | 1 | 77 | 0 | 154 |
JSON | 1 | 0 | 0 | 23 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 5 | 13.16% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/lib/colorpicker/images/overlay.png | 8.91KB | 8.24KB | ▼ 7.55% |
admin/images/kelkoogroup.png | 7.42KB | 3.99KB | ▼ 46.20% |
admin/lib/colorpicker/images/select2.png | 0.37KB | 0.33KB | ▼ 10.37% |
admin/lib/colorpicker/images/select.png | 0.35KB | 0.33KB | ▼ 7.16% |
admin/images/icon.png | 0.37KB | 0.52KB | 0.00% |