Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.93MB] [CPU: ▼35.37ms] Passed 4 tests
Server-side resources used by MercadoLibre Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.97 ▼9.47 |
Dashboard /wp-admin | 3.02 ▼0.28 | 23.10 ▼29.86 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 25.32 ▼26.30 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 25.04 ▼75.85 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 26.05 ▼7.86 |
MercadoLibre Integration /wp-admin/options-general.php?page=mercadolibre-integration/mercadolibre-integration_options.php | 3.02 | 25.91 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
options_mlInt |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by MercadoLibre Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.37 ▲0.03 | 2.19 ▲0.17 | 40.99 ▼4.23 |
Dashboard /wp-admin | 2,199 ▲25 | 5.63 ▲0.05 | 95.20 ▲1.28 | 42.35 ▲1.46 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.02 | 40.31 ▲3.82 | 38.49 ▲2.38 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.12 ▲4.91 | 665.17 ▼21.77 | 56.22 ▼11.20 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.27 ▲0.09 | 97.10 ▼14.73 | 42.80 ▼3.70 |
MercadoLibre Integration /wp-admin/options-general.php?page=mercadolibre-integration/mercadolibre-integration_options.php | 1,045 | 2.03 | 25.34 | 28.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- options_mlInt
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mercadolibre-integration/mercadolibre-integration_options.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mercadolibre-integration/mercadolibre-integration_options.php
- > Notice in wp-content/plugins/mercadolibre-integration/mercadolibre-integration_options.php+71
Undefined index: action
SRP 50% 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
Please fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: options_page in wp-content/plugins/mercadolibre-integration/mercadolibre-integration_options.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mercadolibre-integration/mercadolibre-integration.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mercadolibre-integration/mercadolibre-integration_options.php:14
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mercadolibre-integration/mercadolibre-integration_options_table.php on line 5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mercadolibre-integration/mercadolibre-integration_options_table.php on line 5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mercadolibre-integration/mercadolibre-integration_options_table.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: mercadolibre, products, integration, tienda, store
mercadolibre-integration/mercadolibre-integration.php Passed 13 tests
"MercadoLibre Integration" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
65 characters long description:
List your product catalog of MercadoLibre on your site WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin484 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 108 | 49 | 417 |
CSS | 1 | 0 | 0 | 67 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
oferta.png | 15.27KB | 14.23KB | ▼ 6.85% |