Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/daumview/widgets/daumview_myview_widget.php+8
Methods with the same name as their class will not be constructors in a future version of PHP; QB_Myview_Widget has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼50.99ms] Passed 4 tests
Analyzing server-side resources used by DaumView
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.23 ▼33.37 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.85 ▼42.17 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 5.83 ▼42.59 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 5.80 ▼85.81 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 7.09 ▼27.49 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_qb_myview_widget |
theysaidso_admin_options |
qnibus_daumview |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
DaumView: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,783 ▼3 | 14.24 ▼0.31 | 1.86 ▲0.09 | 43.32 ▲2.43 |
Dashboard /wp-admin | 2,196 ▲26 | 5.54 ▼0.07 | 85.40 ▼22.82 | 37.27 ▼3.25 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.97 ▼0.01 | 35.43 ▼3.83 | 35.05 ▲1.03 |
Add New Post /wp-admin/post-new.php | 6,221 ▲4,695 | 18.76 ▼4.70 | 899.51 ▲215.30 | 68.34 ▲0.81 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.21 ▲0.02 | 99.43 ▼4.35 | 42.93 ▼2.85 |
DaumView /wp-admin/daumview.php | 26 | 0.42 | 0.08 | 14.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/daumview/widgets/daumview_myview_widget.php+8
Methods with the same name as their class will not be constructors in a future version of PHP; QB_Myview_Widget has a deprecated constructor
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- qnibus_daumview
- widget_qb_myview_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to get property 'category_eng_name' of non-object in wp-content/plugins/daumview/daumview_meta_info_box.php on line 15
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/daumview/daumview_meta_select_box.php on line 5
- > PHP Notice
Undefined variable: newsinfo in wp-content/plugins/daumview/daumview_meta_info_box.php on line 23
- > PHP Notice
Trying to get property 'reg_date' of non-object in wp-content/plugins/daumview/daumview_meta_info_box.php on line 10
- > PHP Notice
Trying to get property 'post_title' of non-object in wp-content/plugins/daumview/daumview_meta_select_box.php on line 16
- > PHP Notice
Trying to get property 'id' of non-object in wp-content/plugins/daumview/daumview_meta_info_box.php on line 6
- > PHP Notice
Undefined variable: values in wp-content/plugins/daumview/daumview_meta_select_box.php on line 16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/daumview/daumview_meta_info_box.php:27
- > PHP Notice
Undefined variable: category in wp-content/plugins/daumview/daumview_meta_select_box.php on line 5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/daumview/daumview_admin_settings.php:6
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/daumview.php
- > Network (severe)
wp-admin/daumview.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: These screenshots do not have images: #1 (관리자 설정 페이지 (인증 전)), #2 (관리자 설정 페이지 (인증 후)), #3 (포스팅 메타 박스 (송고 전)), #4 (포스팅 메타 박스 (송고 후)), #5 (컨텐츠 및 위젯 출력), #6 (위젯 설정 화면)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== daumview ===
)
daumview/daumview.php 92% from 13 tests
The principal PHP file in "DaumView" v. 1.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 241 characters long)
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
No dangerous file extensions were detected967 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 101 | 146 | 578 |
XML | 1 | 0 | 0 | 389 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 1.09MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/daumview_normal.png | 5.68KB | 1.63KB | ▼ 71.33% |
screenshot-6.png | 142.11KB | 49.67KB | ▼ 65.05% |
screenshot-4.png | 185.56KB | 61.85KB | ▼ 66.67% |
images/daumview_box.png | 13.54KB | 4.61KB | ▼ 65.97% |
screenshot-1.png | 91.83KB | 26.83KB | ▼ 70.79% |