Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼311.73ms] Passed 4 tests
A check of server-side resources used by isabiDeliver for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 60.98 ▲10.31 |
Dashboard /wp-admin | 3.41 ▲0.00 | 32.65 ▼1.02 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 35.37 ▼18.10 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 91.68 ▼1,229.50 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.68 ▲1.70 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by isabiDeliver for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲61 | 16.00 ▲0.43 | 6.40 ▲0.85 | 2.79 ▲0.48 |
Dashboard /wp-admin | 2,892 ▲34 | 6.10 ▼0.06 | 113.61 ▼19.14 | 151.10 ▼10.22 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▼0.01 | 62.40 ▲0.02 | 139.67 ▲3.15 |
Add New Post /wp-admin/post-new.php | 1,719 ▲58 | 22.70 ▲6.63 | 406.22 ▼2.74 | 150.12 ▼11.04 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.54 ▲0.06 | 140.47 ▲4.66 | 185.79 ▲2.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: shipping, delivery, ecommerce, isabideliver
isabideliver-logistics/isabideliver.php 77% from 13 tests
Analyzing the main PHP file in "isabiDeliver for WooCommerce" version 1.0.0
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "2.2")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("isabideliver-logistics.php" instead of "isabideliver.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,134 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 275 | 389 | 1,134 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 23.80 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 59 | |
▷ Static methods | 3 | 5.08% |
▷ Public methods | 52 | 88.14% |
▷ Protected methods | 7 | 11.86% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/isabideliver_logo.png | 10.23KB | 5.64KB | ▼ 44.85% |
assets/img/icon.png | 1.31KB | 1.06KB | ▼ 19.24% |