Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▼3.13ms] Passed 4 tests
An overview of server-side resources used by Trendyol Pazaryeri Woocommerce İçin (Ücretsiz)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.41 | 43.72 ▲1.59 |
Dashboard /wp-admin | 3.71 ▲0.36 | 49.68 ▼12.47 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 55.40 ▲4.97 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 85.46 ▼6.59 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 41.74 ▲8.08 |
Server storage [IO: ▲9.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2,192 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Trendyol Pazaryeri Woocommerce İçin (Ücretsiz)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲165 | 14.20 ▲0.07 | 5.50 ▲3.68 | 38.96 ▼4.10 |
Dashboard /wp-admin | 2,251 ▲48 | 5.43 ▲0.51 | 122.07 ▲11.61 | 44.22 ▲3.40 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.70 ▲0.70 | 43.07 ▼0.26 | 37.68 ▼2.41 |
Add New Post /wp-admin/post-new.php | 1,550 ▲10 | 23.63 ▲0.60 | 707.60 ▲91.76 | 38.57 ▼14.67 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.70 ▲0.29 | 110.84 ▲6.65 | 46.23 ▼0.45 |
Uninstaller [IO: ▲9.78MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attentionZombie WordPress options detected upon uninstall: 7 options
- Uninstall procedure had uncaught errors
- > Error in wp-content/plugins/wc-trendyol/includes/class-wc-trendyol-deactivator.php+33
Uncaught Error: Call to undefined function as_unschedule_action() in wp-content/plugins/wc-trendyol/includes/class-wc-trendyol-deactivator.php:33
Stack trace:
#0 wp-content/plugins/wc-trendyol/wc-trendyol.php(64): Wc_Trendyol_Deactivator::deactivate()
#1 wp-includes/class-wp-hook.php(310): deactivate_wc_trendyol()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(816): do_action() - This plugin has failed uninstalling correctly, leaving 2,192 files (9.78MB) in the plugin directory
- (new file) admin/assets/css/settings.css
- (new file) admin/assets/vendor/fontawesome/css/brands.css
- (new file) admin/assets/vendor/fontawesome/css/all.min.css
- (new file) admin/assets/vendor/fontawesome/css/all.css
- (new file) README.txt
- (new file) admin/assets/js/settings.js
- (new file) LICENSE.txt
- (new file) admin/assets/vendor/fontawesome/LICENSE.txt
- (new file) admin/assets/js/wc_trendyol_general.js
- (new file) admin/assets/css/root.css
- ...
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wc-trendyol/admin/partials/wc-trendyol-product-import-page.php
- > /wp-content/plugins/wc-trendyol/public/partials/wc-trendyol-pro-public-display.php
- 47× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/Orders/get_my_orders.php on line 7
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/Products/update_product_info.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wc-trendyol/admin/partials/wc-trendyol-settings.php:9
- > PHP Warning
require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/Products/update_product_price.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/wc-trendyol/admin/partials/wc-trendyol-product-matching.php:21
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/CustomerQuestions/answer_customer_question.php on line 7
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/Products/update_product_price.php on line 7
- > PHP Warning
require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/Shipments/get_shipments.php on line 7
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/Products/get_product_comments.php on line 7
- > PHP Warning
require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wc-trendyol/vendor/hasokeyk/trendyol/examples/Marketplace/Categories/get_category_info.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: trendyol, cretsiz trendyol entegrasyonu, woocommerce trendyol entegrasyonu, woocommerce trendyol, trendyol entegrasyon
wc-trendyol/wc-trendyol.php Passed 13 tests
The main PHP script in "Trendyol Pazaryeri Woocommerce İçin (Ücretsiz)" version 2.1 is automatically included on every request by WordPress
50 characters long description:
Trendyoldaki mağazanızı web sitenizden yönetin
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
No dangerous file extensions were detected85,156 lines of code in 2,162 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 38,521 |
CSS | 22 | 5,756 | 125 | 13,544 |
SVG | 2,024 | 0 | 16 | 8,121 |
Sass | 19 | 556 | 72 | 6,965 |
LESS | 18 | 552 | 72 | 6,907 |
JavaScript | 7 | 673 | 183 | 6,211 |
PHP | 66 | 1,129 | 1,496 | 4,773 |
Markdown | 1 | 60 | 0 | 114 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 244 | |
▷ Static methods | 41 | 16.80% |
▷ Public methods | 230 | 94.26% |
▷ Protected methods | 2 | 0.82% |
▷ Private methods | 12 | 4.92% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
6 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/woocommerce-to-trendyol.png | 24.50KB | 9.50KB | ▼ 61.25% |
admin/img/close.png | 0.83KB | 0.55KB | ▼ 33.14% |
admin/img/trendyol-to-woocommerce.png | 24.79KB | 9.49KB | ▼ 61.71% |
admin/img/no.png | 0.83KB | 0.55KB | ▼ 33.14% |
admin/img/check.png | 0.81KB | 0.61KB | ▼ 24.43% |