Benchmarks
Plugin footprint 83% from 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 gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.22ms] Passed 4 tests
This is a short check of server-side resources used by Woongkir
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.89 ▼14.53 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.70 ▼4.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.65 ▲3.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.76 ▲9.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.60 ▲1.77 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Woongkir
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.56 ▼0.73 | 1.64 ▼0.09 | 39.38 ▼4.71 |
Dashboard /wp-admin | 2,206 ▲57 | 4.86 ▼0.82 | 109.26 ▼0.55 | 42.35 ▼1.13 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.05 ▲0.04 | 39.61 ▲5.97 | 35.66 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.16 ▲5.75 | 700.48 ▲25.87 | 53.74 ▼1.14 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.22 ▼0.09 | 93.39 ▼7.16 | 42.37 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: pcp express, jne, rpx, tiki, pos indonesia
woongkir/woongkir.php 85% from 13 tests
"Woongkir" version 1.3.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.8" instead of "3.0.0")
- Description: Keep the plugin description shorter than 140 characters (currently 406 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,275 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 770 | 2,933 | 2,964 |
JavaScript | 6 | 317 | 213 | 1,120 |
CSS | 2 | 6 | 0 | 187 |
JSON | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 11.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 160.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 2 | 5.88% |
▷ Concrete classes | 32 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 158 | |
▷ Static methods | 2 | 1.27% |
▷ Public methods | 139 | 87.97% |
▷ Protected methods | 9 | 5.70% |
▷ Private methods | 10 | 6.33% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin