Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.77ms] Passed 4 tests
Analyzing server-side resources used by 코드엠샵 소셜톡
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 39.25 ▼7.12 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.43 ▲3.05 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.81 ▲2.19 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.48 ▼9.21 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 37.61 ▲5.17 |
Server storage [IO: ▲2.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 109 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for 코드엠샵 소셜톡
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲40 | 13.69 ▼0.67 | 1.57 ▼0.72 | 40.15 ▲1.02 |
Dashboard /wp-admin | 2,217 ▲29 | 5.85 ▲0.00 | 99.59 ▼8.14 | 83.97 ▲36.84 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 1.97 ▼0.05 | 39.75 ▲0.46 | 39.41 ▲3.04 |
Add New Post /wp-admin/post-new.php | 1,687 ▲145 | 24.53 ▲6.34 | 680.17 ▲59.02 | 58.49 ▲6.85 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.20 ▼0.02 | 98.19 ▼4.62 | 79.08 ▲34.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/mshop-naver-talktalk/templates/naver_talktalk_button.php
- > /wp-content/plugins/mshop-naver-talktalk/templates/naver_talktalk_banner.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/user.php' (include_path='.:/usr/share/php') in wp-content/plugins/mshop-naver-talktalk/includes/admin/setting-manager/mshop-setting-helper.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mshop-naver-talktalk/templates/kakao_talktalk_button.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mshop-naver-talktalk/templates/kakao_talktalk_banner.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mshop-naver-talktalk/templates/open_graph.php:5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/user.php): failed to open stream: No such file or directory in wp-content/plugins/mshop-naver-talktalk/includes/admin/setting-manager/mshop-setting-helper.php on line 3
- > 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-naver-talktalk/includes/admin/setting-manager/mshop-setting-helper.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
No plugin tags provided
mshop-naver-talktalk/mshop-naver-talktalk.php 92% from 13 tests
The entry point to "코드엠샵 소셜톡" version 1.1.16 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,204 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 3 | 0 | 1,212 |
PHP | 15 | 134 | 14 | 966 |
JavaScript | 2 | 0 | 0 | 25 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 12.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 30 | 66.67% |
▷ Public methods | 44 | 97.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.22% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
74 PNG files occupy 0.62MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/plusfriend_btn/question_large_mono_mobile_2X.png | 17.25KB | 7.20KB | ▼ 58.29% |
assets/images/plusfriend_btn/friendadd_large_black_round_3X.png | 11.78KB | 4.90KB | ▼ 58.37% |
assets/images/plusfriend_btn/friendadd_small_black_round_3X.png | 7.48KB | 3.25KB | ▼ 56.63% |
assets/images/plusfriend_btn/consult_large_yellow_mobile_2X.png | 11.42KB | 5.40KB | ▼ 52.68% |
assets/images/plusfriend_btn/consult_small_yellow_pc_3X.png | 10.04KB | 5.05KB | ▼ 49.68% |