Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.23ms] Passed 4 tests
A check of server-side resources used by Dewa Kirim - WooCommerce Gojek / Gosend
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.93 ▼0.68 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.05 ▼6.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.93 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 96.92 ▼9.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 39.46 ▼3.56 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dewa Kirim - WooCommerce Gojek / Gosend
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.43 ▼1.19 | 2.00 ▲0.21 | 41.10 ▼1.52 |
Dashboard /wp-admin | 2,206 ▲15 | 5.88 ▲0.98 | 105.06 ▼5.55 | 41.19 ▲0.43 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 39.51 ▲3.65 | 33.63 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.26 ▲0.23 | 649.56 ▼11.34 | 54.92 ▼20.38 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.00 | 97.55 ▼3.95 | 40.48 ▼3.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dewa-kirim-woocommerce-gojek/includes/shipping-frontend.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: tracking, delivery, woocommerce, shipping, carrier
dewa-kirim-woocommerce-gojek/woocommerce-gojek.php 85% from 13 tests
The entry point to "Dewa Kirim - WooCommerce Gojek / Gosend" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dewa-kirim-woocommerce-gojek.php" instead of "woocommerce-gojek.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
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
Success! There were no dangerous files found in this plugin1,211 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 208 | 114 | 1,010 |
CSS | 2 | 25 | 3 | 201 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 compressed PNG files occupy 0.90MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 259.04KB | 261.16KB | 0.00% |
screenshot-4.png | 39.22KB | 39.30KB | 0.00% |
screenshot-3.png | 300.36KB | 302.07KB | 0.00% |
screenshot-6.png | 93.76KB | 94.14KB | 0.00% |
assets/img/pinpoint.png | 17.47KB | 9.11KB | ▼ 47.84% |