Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.50ms] Passed 4 tests
This is a short check of server-side resources used by KBoard 위젯 - 워드프레스 게시판
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.89 ▲1.88 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.52 ▼1.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.99 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.22 ▼10.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.38 ▲2.47 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
KBoard 위젯 - 워드프레스 게시판: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.72 ▲0.56 | 1.77 ▼0.01 | 43.33 ▼5.06 |
Dashboard /wp-admin | 2,204 ▲24 | 5.62 ▼0.03 | 92.74 ▲3.45 | 45.71 ▲1.61 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▲0.02 | 39.54 ▲3.24 | 43.43 ▲7.52 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.33 ▲0.29 | 682.09 ▲46.38 | 74.34 ▲25.83 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.19 ▲0.00 | 95.71 ▼8.56 | 47.56 ▲4.78 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
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)
Everything seems fine, however this is by no means 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/kboard-widget/skin/default/list.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/kboard-widget/admin/setting.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kboard-widget/class/KBoardWidget.class.php:7
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/kboard-widget/skin/default/list.php on line 13
- > PHP Notice
Undefined variable: tab_sep in wp-content/plugins/kboard-widget/skin/default/list.php on line 4
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/kboard-widget/skin/default/list.php on line 4
- > PHP Notice
Undefined variable: tab_sep in wp-content/plugins/kboard-widget/skin/default/list.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: widget, board, kboard, cosmosfarm
kboard-widget/kboard-widget.php Passed 13 tests
"KBoard 위젯 - 워드프레스 게시판" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
74 characters long description:
최다 사용자 무료 워드프레스 게시판 KBoard 위젯 입니다.
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
There were no executable files found in this plugin539 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 51 | 32 | 341 |
JavaScript | 2 | 13 | 6 | 95 |
PO File | 2 | 359 | 698 | 75 |
CSS | 2 | 4 | 6 | 28 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 11.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skin/default/images/icon-lock.png | 0.52KB | 0.46KB | ▼ 12.52% |