Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼142.13ms] Passed 4 tests
Analyzing server-side resources used by AW WooCommerce POS Shipping
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 37.52 ▼2.76 |
Dashboard /wp-admin | 3.10 ▲0.04 | 46.51 ▲6.72 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 45.97 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 93.61 ▼564.06 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 32.22 ▼0.32 |
Server storage [IO: ▲0.18MB] [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: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
AW WooCommerce POS Shipping: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲131 | 15.98 ▲0.37 | 10.51 ▲1.50 | 49.14 ▲0.48 |
Dashboard /wp-admin | 2,967 ▲33 | 5.91 ▲0.00 | 134.50 ▼18.16 | 115.74 ▲6.23 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.73 ▲0.01 | 66.60 ▲2.56 | 85.22 ▼10.40 |
Add New Post /wp-admin/post-new.php | 1,504 ▼368 | 18.54 ▼0.68 | 367.14 ▼18.36 | 113.64 ▲3.10 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▼0.01 | 144.99 ▼4.69 | 119.63 ▼1.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
aw-woocommerce-pos/aw-woocommerce-pos.php Passed 13 tests
"AW WooCommerce POS Shipping" version 4.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
125 characters long description:
Plugin untuk WooCommerce dengan penambahan metode shipping POS. Penambahan POS Tracking yang terintegrasi dengan WooCommerce.
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
There were no executable files found in this plugin2,055 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 374 | 941 | 1,819 |
Sass | 1 | 30 | 0 | 134 |
Markdown | 2 | 21 | 0 | 86 |
JavaScript | 2 | 5 | 9 | 15 |
CSS | 1 | 0 | 0 | 1 |
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.34 |
Average class complexity | 46.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 130 | |
▷ Static methods | 6 | 4.62% |
▷ Public methods | 71 | 54.62% |
▷ Protected methods | 43 | 33.08% |
▷ Private methods | 16 | 12.31% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 58 | |
▷ Global constants | 2 | 3.45% |
▷ Class constants | 56 | 96.55% |
▷ Public constants | 56 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/upgrade-728x90.png | 63.73KB | 24.31KB | ▼ 61.86% |
assets/images/logo.png | 5.43KB | 3.12KB | ▼ 42.54% |
assets/images/good.png | 0.52KB | 0.52KB | 0.00% |
assets/images/bad.png | 0.64KB | 0.72KB | 0.00% |
assets/images/help.png | 0.30KB | 0.32KB | 0.00% |