Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.68ms] Passed 4 tests
A check of server-side resources used by AW WooCommerce TIKI Shipping
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.40 ▲0.67 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.17 ▼8.87 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.09 ▲1.90 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 76.50 ▼23.33 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.68 ▲0.82 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AW WooCommerce TIKI Shipping
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.62 ▼0.75 | 1.51 ▼0.43 | 37.87 ▼5.09 |
Dashboard /wp-admin | 2,200 ▲12 | 5.83 ▼0.06 | 106.66 ▼1.13 | 38.45 ▼1.54 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 37.26 ▼3.44 | 29.60 ▼6.30 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 18.36 ▲0.04 | 605.82 ▼4.11 | 55.61 ▲7.22 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.23 ▲0.02 | 98.25 ▼2.46 | 41.00 ▼3.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in aw-woocommerce-tiki/assets to your readme.txt
- Tags: There are too many tags (14 tag instead of maximum 10)
aw-woocommerce-tiki/aw-woocommerce-tiki.php Passed 13 tests
The main PHP script in "AW WooCommerce TIKI Shipping" version 4.0.3 is automatically included on every request by WordPress
66 characters long description:
Plugin untuk WooCommerce dengan penambahan metode pengiriman TIKI.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,715 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 389 | 806 | 1,204 |
JavaScript | 4 | 57 | 19 | 284 |
CSS | 1 | 32 | 0 | 139 |
Markdown | 2 | 24 | 0 | 87 |
Sass | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 28.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 82 | |
▷ Static methods | 11 | 13.41% |
▷ Public methods | 62 | 75.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 24.39% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
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/help.png | 0.30KB | 0.32KB | 0.00% |
assets/images/bad.png | 0.64KB | 0.72KB | 0.00% |
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% |