Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.83MB] [CPU: ▲1.39ms] Passed 4 tests
A check of server-side resources used by Shipit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.28 ▲0.81 | 42.18 ▲0.14 |
Dashboard /wp-admin | 4.21 ▲0.86 | 58.89 ▼5.98 |
Posts /wp-admin/edit.php | 4.27 ▲0.90 | 60.24 ▲10.50 |
Add New Post /wp-admin/post-new.php | 6.74 ▲0.84 | 98.97 ▲0.90 |
Media Library /wp-admin/upload.php | 4.05 ▲0.81 | 42.41 ▲12.21 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 79 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_shipit_emergency_rates |
wp_user_shipit |
wp_shipit |
wp_shipit_rates_request |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
shipit_token |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
shipit_account_country |
theysaidso_admin_options |
shipit_user |
Browser metrics Passed 4 tests
Checking browser requirements for Shipit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,048 ▲286 | 15.08 ▲0.69 | 6.73 ▲5.05 | 43.05 ▼0.39 |
Dashboard /wp-admin | 2,352 ▲175 | 6.38 ▲0.74 | 121.20 ▲20.18 | 102.10 ▲58.24 |
Posts /wp-admin/edit.php | 2,308 ▲208 | 3.54 ▲1.58 | 48.70 ▲8.38 | 64.02 ▲30.09 |
Add New Post /wp-admin/post-new.php | 1,556 ▲11 | 23.21 ▼2.10 | 631.59 ▼20.47 | 173.12 ▲115.41 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.30 ▲0.09 | 83.51 ▼22.32 | 78.69 ▲34.11 |
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
Please fix the following items
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_shipit_emergency_rates
- wp_shipit
- wp_shipit_rates_request
- wp_user_shipit
- Zombie WordPress options detected upon uninstall: 9 options
- shipit_user
- widget_recent-posts
- shipit_token
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- shipit_account_country
- theysaidso_admin_options
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/shipit/shipit.php
- > /wp-content/plugins/shipit/src/shipit-settings.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/shipit/src/cron_jobs.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipit/src/bulk_actions.php:2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/shipit/src/shipit_service/setting.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/shipit/src/shipit_service/setting.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shipit/src/shipit_service/setting.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipit/src/webhook.php:72
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/shipit/src/auther.php:22
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Credential Entry page `/ src / images / screenshot-1.png`), #2 (Field cotizador messengers `/ src / images / screenshot-2.png`)
shipit/shipit.php Passed 13 tests
The main file in "Shipit" v. 8.11.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
35 characters long description:
Shipit Calculator Shipping couriers
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin4,693 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 469 | 72 | 4,647 |
JavaScript | 2 | 1 | 0 | 26 |
CSS | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 275 | |
▷ Static methods | 10 | 3.64% |
▷ Public methods | 270 | 98.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 1.82% |
Functions | 58 | |
▷ Named functions | 53 | 91.38% |
▷ Anonymous functions | 5 | 8.62% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
29 PNG files occupy 0.69MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/images/despacho normal a domicilio.png | 5.05KB | 2.60KB | ▼ 48.44% |
src/images/chilepost.png | 73.10KB | 23.34KB | ▼ 68.08% |
src/images/recibelo.png | 16.82KB | 6.59KB | ▼ 60.80% |
src/images/favicon.png | 2.35KB | 0.61KB | ▼ 74.14% |
src/images/screenshot-1.png | 38.82KB | 11.95KB | ▼ 69.21% |