Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.72ms] Passed 4 tests
Server-side resources used by Despacho vía Starken Pro para WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 38.60 ▼3.95 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.61 ▼1.48 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 51.86 ▲3.45 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 87.24 ▼11.16 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.18 ▲1.71 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Despacho vía Starken Pro para WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.23 ▼1.02 | 1.61 ▼0.21 | 37.71 ▼6.08 |
Dashboard /wp-admin | 2,221 ▲30 | 5.81 ▲0.89 | 94.34 ▼21.10 | 45.48 ▼6.35 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.03 ▲0.07 | 38.44 ▲5.40 | 36.13 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,410 ▼123 | 18.40 ▼4.68 | 634.34 ▼16.25 | 67.77 ▲15.46 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.26 ▲0.09 | 97.64 ▼21.65 | 44.79 ▼4.57 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Pantalla de Administración), #2 (Cálculo de Despacho)
calculo-de-despacho-via-starken-para-woocommerce/calculo-de-despacho-via-starken-para-woocommerce.php 85% from 13 tests
The main file in "Despacho vía Starken Pro para WooCommerce" v. 2022.05.28 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Requires at least: The required version number did not match the one declared in readme.txt ("4.5" instead of "5.0")
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
Everything looks great! No dangerous files found in this plugin854 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 87 | 20 | 458 |
SVG | 1 | 0 | 1 | 224 |
JavaScript | 1 | 27 | 7 | 169 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin