Benchmarks
Plugin footprint 65% 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.05MB] [CPU: ▼12.97ms] Passed 4 tests
This is a short check of server-side resources used by Russian marketplaces for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 36.70 ▼4.58 |
Dashboard /wp-admin | 3.52 ▲0.17 | 49.85 ▼12.76 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 35.02 ▼10.31 |
Add New Post /wp-admin/post-new.php | 5.65 ▼0.24 | 72.66 ▼24.23 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 30.18 ▼2.45 |
/wp-admin/admin.php?page= | 3.27 | 25.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Russian marketplaces for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲48 | 14.36 ▲0.09 | 1.75 ▼0.01 | 39.46 ▼4.47 |
Dashboard /wp-admin | 2,203 ▲25 | 5.63 ▼0.10 | 93.53 ▼16.38 | 42.01 ▼1.27 |
Posts /wp-admin/edit.php | 2,108 ▲29 | 1.99 ▲0.01 | 40.67 ▲5.54 | 37.22 ▲3.77 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.50 ▼0.01 | 587.76 ▼49.54 | 49.52 ▲6.94 |
Media Library /wp-admin/upload.php | 1,399 ▼4 | 4.20 ▲0.02 | 96.86 ▲0.40 | 40.40 ▼1.46 |
/wp-admin/admin.php?page= | 28 | 0.41 | 0.08 | 3.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-admin/includes/plugin.php+1941
Undefined offset: 2
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=
- > Notice in wp-admin/includes/plugin.php+1946
Undefined offset: 2
SRP 50% 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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WPlovers\\WooRussianMarketplaces\\Marketplace' not found in wp-content/plugins/russian-marketplaces-for-woocommerce/src/Marketplaces/Wildberries.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WPlovers\\WooRussianMarketplaces\\plugin_basename() in wp-content/plugins/russian-marketplaces-for-woocommerce/woo-russian-marketplaces.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=
- > Network (severe)
wp-admin/admin.php?page= - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in russian-marketplaces-for-woocommerce/assets to your readme.txt
russian-marketplaces-for-woocommerce/woo-russian-marketplaces.php 92% from 13 tests
"Russian marketplaces for WooCommerce" version 0.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("russian-marketplaces-for-woocommerce.php" instead of "woo-russian-marketplaces.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
Everything looks great! No dangerous files found in this plugin1,524 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 256 | 635 | 1,442 |
CSS | 1 | 0 | 1 | 77 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 30 | 40.00% |
▷ Public methods | 70 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.67% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 11 | |
▷ Global constants | 6 | 54.55% |
▷ Class constants | 5 | 45.45% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin