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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.53ms] Passed 4 tests
This is a short check of server-side resources used by Market Exporter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.65 ▼1.50 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.02 ▼13.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.63 ▼3.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.41 ▲1.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.83 ▼3.69 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 3.00 | 22.36 |
Server storage [IO: ▲4.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 209 new files
Database: no new tables, 10 new options
New WordPress options |
---|
wooya_settings |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
fs_accounts |
fs_debug_mode |
fs_active_plugins |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Market Exporter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▲0.00 | 2.02 ▲0.17 | 40.17 ▲0.52 |
Dashboard /wp-admin | 2,192 ▲18 | 5.57 ▼0.09 | 91.23 ▼2.22 | 38.00 ▼3.96 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.03 | 38.36 ▼3.31 | 36.14 ▲1.08 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.97 ▼0.39 | 668.69 ▼26.75 | 54.73 ▲2.70 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.25 ▲0.04 | 104.20 ▲0.30 | 42.48 ▼3.17 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 28 | 0.42 | 0.09 | 3.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-comments
- fs_accounts
- theysaidso_admin_options
- db_upgraded
- fs_debug_mode
- can_compress_scripts
- fs_active_plugins
- widget_theysaidso_widget
- widget_recent-posts
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/market-exporter/includes/class-restapi.php:31
- > PHP Fatal error
Uncaught Error: Class 'Wooya\\Includes\\Attributes' not found in wp-content/plugins/market-exporter/includes/class-generator.php:24
- > 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 browser errors
- > GET request to /wp-admin/admin.php?page=freemius
- > Network (severe)
wp-admin/admin.php?page=freemius - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: export, woocommerce, market, yml, yandex market
market-exporter/market-exporter.php Passed 13 tests
The main file in "Market Exporter" v. 2.0.19 serves as a complement to information provided in readme.txt and as the entry point to the plugin
34 characters long description:
Market Exporter integration suite.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin35,880 lines of code in 156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,609 | 18,395 | 34,978 |
PO File | 1 | 92 | 174 | 347 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 5 | 34 | 61 | 196 |
CSS | 14 | 13 | 19 | 108 |
SVG | 5 | 0 | 0 | 37 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 81.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 0 | 0.00% |
Methods | 1,351 | |
▷ Static methods | 216 | 15.99% |
▷ Public methods | 923 | 68.32% |
▷ Protected methods | 28 | 2.07% |
▷ Private methods | 400 | 29.61% |
Functions | 103 | |
▷ Named functions | 98 | 95.15% |
▷ Anonymous functions | 5 | 4.85% |
Constants | 153 | |
▷ Global constants | 102 | 66.67% |
▷ Class constants | 51 | 33.33% |
▷ Public constants | 51 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |