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.25MB] [CPU: ▼1.93ms] Passed 4 tests
Analyzing server-side resources used by PKT1 Centro de envios
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 43.25 ▲3.68 |
Dashboard /wp-admin | 3.56 ▲0.25 | 48.22 ▼8.86 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 47.64 ▼4.45 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 95.70 ▲1.90 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 40.80 ▲5.58 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
PKT1 Centro de envios: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,781 ▲20 | 14.70 ▲0.14 | 1.08 ▼0.88 | 44.50 ▼7.57 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.01 | 89.11 ▼4.31 | 41.88 ▲1.08 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.08 | 35.71 ▼1.59 | 33.85 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.79 ▲0.84 | 671.20 ▼16.06 | 51.12 ▼2.29 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.25 ▲0.03 | 109.81 ▲7.68 | 48.59 ▲5.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pkt1-centro-de-envios/pkt1_root.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 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
8 plugin tags: woocommerce, estados, logistica, mexico, chile...
pkt1-centro-de-envios/pkt1_root.php 85% from 13 tests
"PKT1 Centro de envios" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("pkt1-centro-de-envios.php" instead of "pkt1_root.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin3,073 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 296 | 374 | 2,597 |
JavaScript | 2 | 33 | 2 | 323 |
CSS | 1 | 33 | 1 | 153 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 19.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 8.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logoBluexpress.png | 12.13KB | 7.09KB | ▼ 41.54% |
assets/img/logos2/logoPaquetexpress.png | 5.99KB | 2.97KB | ▼ 50.42% |
assets/img/logoPaquetexpress.png | 12.30KB | 7.26KB | ▼ 40.97% |
assets/img/logoFedex.png | 11.09KB | 6.87KB | ▼ 38.07% |
assets/img/logos2/logoFedex.png | 5.32KB | 2.72KB | ▼ 48.94% |