Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.52ms] Passed 4 tests
This is a short check of server-side resources used by WooGrabExpress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 48.89 ▲9.97 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.69 ▼2.79 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.38 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.90 ▼8.76 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.33 ▲1.91 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WooGrabExpress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.23 ▼0.16 | 2.03 ▲0.32 | 45.31 ▲1.20 |
Dashboard /wp-admin | 2,195 ▲15 | 5.49 ▼0.17 | 96.32 ▼2.34 | 42.00 ▼3.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.04 | 34.17 ▼5.33 | 36.73 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.34 ▲0.21 | 658.05 ▼28.49 | 61.03 ▲5.69 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.02 | 99.77 ▲0.01 | 45.82 ▼3.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
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 a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: grab-shipping, grabexpress, ojek-shipping, woocommerce-shipping
woograbexpress/woograbexpress.php 92% from 13 tests
The main file in "WooGrabExpress" v. 1.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("4.8" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,822 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 448 | 1,021 | 1,815 |
JavaScript | 4 | 163 | 95 | 795 |
CSS | 2 | 28 | 6 | 212 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 35.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 2 | 25.00% |
▷ Concrete classes | 6 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 4 | 5.71% |
▷ Public methods | 52 | 74.29% |
▷ Protected methods | 7 | 10.00% |
▷ Private methods | 11 | 15.71% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/marker-lg.png | 36.97KB | 15.91KB | ▼ 56.96% |
assets/img/marker.png | 2.49KB | 1.56KB | ▼ 37.47% |