Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.76ms] Passed 4 tests
Server-side resources used by 우커머스 네이버페이
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.73 ▼3.97 |
Dashboard /wp-admin | 3.34 ▲0.03 | 56.87 ▲4.79 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 46.88 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.77 ▲7.93 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.53 ▲1.00 |
Server storage [IO: ▲4.92MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 138 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 우커머스 네이버페이
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.25 ▲1.04 | 1.87 ▼2.70 | 44.38 ▲1.01 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.05 | 85.94 ▼14.33 | 36.62 ▼6.00 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.05 | 38.37 ▼0.90 | 35.50 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.08 ▼0.04 | 680.23 ▼13.62 | 68.21 ▲15.60 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.27 ▲0.06 | 97.13 ▼2.38 | 41.21 ▼4.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 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 0% from 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
Please fix the following items
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mshop-npay/includes/admin/meta-boxes/views/order-item-status/purchase-decided.php
- > /wp-content/plugins/mshop-npay/includes/admin/meta-boxes/views/html-order-item-status-wc.php
- > /wp-content/plugins/mshop-npay/templates/connect-key-guide.php
- > /wp-content/plugins/mshop-npay/includes/admin/meta-boxes/views/html-order-item-status.php
- > /wp-content/plugins/mshop-npay/includes/admin/meta-boxes/views/order-item-status/place-product-order.php
- 44× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mshop-npay/includes/admin/class-mnp-customer-inquiry-list-table.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mshop-npay/includes/admin/meta-boxes/views/exchange.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/mshop-npay/includes/admin/templates/category-settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mshop-npay/includes/admin/meta-boxes/views/place-product-order.php:6
- > PHP Fatal error
Uncaught Error: Class 'MNP_Message' not found in wp-content/plugins/mshop-npay/includes/message/class-mnp-message-cancel-info.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mshop-npay/includes/admin/class-mnp-customer-inquiry-list-table.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'MNP_Manager' not found in wp-content/plugins/mshop-npay/templates/wishlist-popup.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mshop-npay/includes/admin/meta-boxes/views/return.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/mshop-npay/includes/admin/templates/customer-inquiry-list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function MNP() in wp-content/plugins/mshop-npay/templates/cart/naverpay-button.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: lg, pgall, kcp
mshop-npay/mshop-npay.php 92% from 13 tests
The main PHP file in "우커머스 네이버페이" ver. 3.3.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
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 plugin9,888 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 96 | 1,492 | 121 | 8,589 |
SVG | 3 | 3 | 0 | 1,212 |
JavaScript | 16 | 0 | 123 | 83 |
CSS | 4 | 0 | 3 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 16.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 62 | 100.00% |
▷ Final classes | 2 | 3.23% |
Methods | 348 | |
▷ Static methods | 276 | 79.31% |
▷ Public methods | 314 | 90.23% |
▷ Protected methods | 21 | 6.03% |
▷ Private methods | 13 | 3.74% |
Functions | 27 | |
▷ Named functions | 21 | 77.78% |
▷ Anonymous functions | 6 | 22.22% |
Constants | 128 | |
▷ Global constants | 3 | 2.34% |
▷ Class constants | 125 | 97.66% |
▷ Public constants | 125 | 100.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
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/npay.png | 1.35KB | 0.73KB | ▼ 46.06% |
assets/images/mshop-icon.png | 0.58KB | 0.71KB | 0.00% |
assets/images/detail-info.png | 1.14KB | 0.40KB | ▼ 64.87% |
includes/admin/setting-manager/css/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |