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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.42ms] Passed 4 tests
Analyzing server-side resources used by VAMASHIP SHIPPING
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.01 | 41.79 ▼3.00 |
Dashboard /wp-admin | 3.35 ▲0.01 | 50.49 ▼2.13 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 49.36 ▼3.25 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 88.09 ▼4.15 |
Media Library /wp-admin/upload.php | 3.28 ▲0.01 | 35.63 ▼3.28 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
VAMASHIP SHIPPING: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.24 ▼0.05 | 1.69 ▼0.28 | 44.15 ▼2.96 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▲0.06 | 84.89 ▼4.97 | 39.80 ▼0.38 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.02 | 34.35 ▼8.89 | 36.16 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.93 ▲0.49 | 686.35 ▼46.42 | 53.84 ▼3.60 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.29 ▲0.07 | 108.02 ▲4.98 | 46.82 ▲2.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #11 (Import / Export Settings), #12 (Other Settings), #13 (Discount Settings), #14 (Thank You Order), #15 (QR/Barcode Settings), #16 (Delivery Settings)
vamaship-shipping/vamaship_shipping.php 85% from 13 tests
The principal PHP file in "VAMASHIP SHIPPING" v. 1.1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("vamaship-shipping.php" instead of "vamaship_shipping.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,341 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 85 | 221 | 1,247 |
PO File | 1 | 26 | 28 | 69 |
JavaScript | 1 | 5 | 1 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 42.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 5.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/shipment.png | 1.74KB | 1.09KB | ▼ 37.24% |