Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼140.81ms] Passed 4 tests
Server-side resources used by Globkurier Shipping method for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 34.32 ▼0.33 |
Dashboard /wp-admin | 3.06 ▲0.01 | 49.91 ▼3.56 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 49.14 ▲1.28 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 90.18 ▼558.73 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 35.07 ▼0.61 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Globkurier Shipping method for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,696 ▲100 | 15.99 ▼0.00 | 10.69 ▼0.97 | 46.24 ▼6.10 |
Dashboard /wp-admin | 2,987 ▲53 | 5.97 ▼0.04 | 146.51 ▼11.61 | 107.95 ▼2.54 |
Posts /wp-admin/edit.php | 2,757 ▲18 | 2.72 ▲0.00 | 65.89 ▼3.50 | 90.07 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,696 ▲24 | 18.82 ▼0.01 | 416.04 ▲29.73 | 103.95 ▼3.09 |
Media Library /wp-admin/upload.php | 1,825 ▲18 | 5.04 ▲0.06 | 156.16 ▼6.66 | 123.05 ▼20.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woo-globkurier-shipping-method/wc-gk-shipping.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: A description for screenshot #4 is required in woo-globkurier-shipping-method/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
woo-globkurier-shipping-method/wc-gk-shipping.php 69% from 13 tests
The main PHP script in "Globkurier Shipping method for WooCommerce" version 2.3.4 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-globkurier-shipping-method.php" instead of "wc-gk-shipping.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Requires at least: The required version number must match the one declared in readme.txt ("4.1" instead of "2.6")
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
No dangerous file extensions were detected8 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 26 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin