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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.92ms] Passed 4 tests
Server-side resources used by Integration of Allegro and WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.01 ▼14.03 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.83 ▼6.48 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 51.27 ▲6.39 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.95 ▼10.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.15 ▲3.15 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration of Allegro and WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.48 ▲0.19 | 2.14 ▲0.05 | 44.33 ▲1.39 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼1.00 | 103.24 ▼14.93 | 38.78 ▼4.87 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.07 | 37.08 ▼0.63 | 37.11 ▲3.46 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 23.65 ▲0.38 | 631.49 ▼43.88 | 59.70 ▲11.19 |
Media Library /wp-admin/upload.php | 1,382 ▼0 | 4.15 ▼0.11 | 100.03 ▼1.75 | 44.74 ▲0.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/integration-allegro-woocommerce/sync.php
- > /wp-content/plugins/integration-allegro-woocommerce/integration-allegro-woocommerce.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: quantity, allegro, synchronize, availability, products...
integration-allegro-woocommerce/integration-allegro-woocommerce.php 85% from 13 tests
The main file in "Integration of Allegro and WooCommerce" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "4.0.0")
Code Analysis Passed 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
No dangerous file extensions were detected1,241 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 225 | 223 | 1,046 |
PO File | 1 | 33 | 40 | 108 |
JavaScript | 1 | 16 | 23 | 70 |
CSS | 1 | 3 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 48.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 51.52% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin