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.09MB] [CPU: ▼2.22ms] Passed 4 tests
An overview of server-side resources used by 코드엠샵 마이사이트 - MSHOP MY SITE
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.64 ▲2.50 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.56 ▲1.04 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 50.36 ▼0.67 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 95.44 ▼11.74 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 40.16 ▲6.64 |
Server storage [IO: ▲2.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for 코드엠샵 마이사이트 - MSHOP MY SITE
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲77 | 14.33 ▲0.13 | 1.89 ▲0.02 | 45.96 ▼2.03 |
Dashboard /wp-admin | 2,232 ▲55 | 5.54 ▼0.11 | 85.29 ▼9.54 | 73.23 ▲23.26 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.98 ▼0.14 | 41.14 ▲2.76 | 32.99 ▼9.56 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.08 ▲0.16 | 602.98 ▼43.86 | 168.25 ▲108.26 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.20 ▼0.09 | 102.11 ▼1.09 | 70.06 ▲22.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mshop-mysite/includes/templates/facebook_track.php
- 21× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/mshop-mysite/includes/templates/google_analytics_track.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/mshop-mysite/includes/templates/kakao_track.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mshop-mysite/includes/class-msov-conversation.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/mshop-mysite/includes/templates/facebook_track.php on line 20
- > PHP Notice
Undefined variable: content_id in wp-content/plugins/mshop-mysite/includes/templates/facebook_track.php on line 20
- > PHP Fatal error
Uncaught Error: Call to a member function get_total() on null in wp-content/plugins/mshop-mysite/includes/templates/facebook_thankyou.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/mshop-mysite/includes/templates/naver_conversion_thankyou.php:2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/user.php' (include_path='.:/usr/share/php') in wp-content/plugins/mshop-mysite/includes/admin/setting-manager/mshop-setting-helper.php on line 5
- > PHP Notice
Trying to get property 'query_vars' of non-object in wp-content/plugins/mshop-mysite/includes/templates/daum_track.php on line 3
- > PHP Notice
Undefined variable: content_id in wp-content/plugins/mshop-mysite/includes/templates/facebook_track.php on line 9
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
mshop-mysite/mshop-mysite.php Passed 13 tests
Analyzing the main PHP file in "코드엠샵 마이사이트 - MSHOP MY SITE" version 1.1.6
112 characters long description:
웹사이트 소유권인증, 광고 전환 기본 추적 기능을 쉽고 빠르게 이용할 수 있습니다.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,290 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 3 | 0 | 1,212 |
PHP | 19 | 149 | 12 | 841 |
PO File | 2 | 85 | 114 | 203 |
JavaScript | 2 | 0 | 0 | 32 |
CSS | 2 | 0 | 3 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 10.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 27 | 61.36% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.03MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mshop-icon.png | 0.58KB | 0.71KB | 0.00% |
includes/admin/setting-manager/css/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |