Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.20MB] [CPU: ▲19.58ms] 75% from 4 tests
Analyzing server-side resources used by Mang Board WP
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 2,935.36ms on /wp-admin/admin.php?page=mbw_dashboard)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.64 ▲2.18 | 71.44 ▲31.10 |
Dashboard /wp-admin | 5.52 ▲2.17 | 66.54 ▲5.44 |
Posts /wp-admin/edit.php | 5.57 ▲2.21 | 69.05 ▲21.18 |
Add New Post /wp-admin/post-new.php | 8.12 ▲2.23 | 118.94 ▲24.90 |
Media Library /wp-admin/upload.php | 5.44 ▲2.21 | 59.31 ▲26.78 |
Board Setting /wp-admin/admin.php?page=mbw_board_options | 6.09 | 61.95 |
Logs /wp-admin/admin.php?page=mbw_logs | 6.01 | 61.76 |
Users /wp-admin/admin.php?page=mbw_users | 6.07 | 63.14 |
STORE /wp-admin/admin.php?page=mbw_store | 6.35 | 2,895.94 |
Dashboard /wp-admin/admin.php?page=mbw_dashboard | 6.77 | 2,935.36 |
Referers /wp-admin/admin.php?page=mbw_referers | 6.01 | 60.40 |
Files /wp-admin/admin.php?page=mbw_files | 6.06 | 60.92 |
Option Setting /wp-admin/admin.php?page=mbw_options | 6.11 | 72.00 |
Statistics /wp-admin/admin.php?page=mbw_analytics | 6.02 | 71.51 |
Server storage [IO: ▲6.36MB] [DB: ▲0.05MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 519 new files
Database: 11 new tables, 9 new options
New tables |
---|
mb_meta |
mb_logs |
mb_access_ip |
mb_options |
mb_users |
mb_cookies |
mb_referers |
mb_files |
mb_h_editors |
mb_boards |
... |
New WordPress options |
---|
db_upgraded |
widget_mbw_latest_mb_basic |
widget_recent-comments |
can_compress_scripts |
mb_admin_check_data |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
mb_security_mode |
Browser metrics Passed 4 tests
Mang Board WP: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,188 ▲442 | 14.20 ▼0.07 | 15.95 ▲14.46 | 44.12 ▲1.69 |
Dashboard /wp-admin | 2,344 ▲167 | 5.13 ▼0.54 | 93.34 ▲5.11 | 69.32 ▲29.66 |
Posts /wp-admin/edit.php | 2,252 ▲152 | 2.44 ▲0.50 | 38.22 ▲2.13 | 32.38 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,638 ▲110 | 23.04 ▲0.15 | 588.19 ▼52.63 | 32.15 ▼15.16 |
Media Library /wp-admin/upload.php | 1,552 ▲149 | 4.80 ▲0.59 | 99.32 ▼0.67 | 66.70 ▲18.59 |
Board Setting /wp-admin/admin.php?page=mbw_board_options | 1,103 | 2.18 | 40.55 | 28.96 |
Logs /wp-admin/admin.php?page=mbw_logs | 1,229 | 2.28 | 39.48 | 34.94 |
Users /wp-admin/admin.php?page=mbw_users | 1,289 | 2.38 | 32.73 | 27.23 |
STORE /wp-admin/admin.php?page=mbw_store | 6,553 | 2.15 | 29.30 | 146.55 |
Dashboard /wp-admin/admin.php?page=mbw_dashboard | 1,370 | 2.32 | 29.13 | 46.51 |
Referers /wp-admin/admin.php?page=mbw_referers | 1,124 | 2.24 | 30.14 | 30.70 |
Files /wp-admin/admin.php?page=mbw_files | 1,131 | 2.24 | 36.21 | 24.28 |
Option Setting /wp-admin/admin.php?page=mbw_options | 2,010 | 3.64 | 46.61 | 63.75 |
Statistics /wp-admin/admin.php?page=mbw_analytics | 1,185 | 2.23 | 28.41 | 31.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/mangboard/uninstall.php+15
Constant MBW_PLUGIN_PATH already defined
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_mbw_latest_mb_basic
- can_compress_scripts
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mangboard/plugins/editors/smart/smart_editor2_inputarea_ie8.php
- > /wp-content/plugins/mangboard/plugins/editors/smart/SmartEditor2noframe.php
- > /wp-content/plugins/mangboard/plugins/editors/smart/sample/photo_uploader/callback.php
- > /wp-content/plugins/mangboard/plugins/kcaptcha/util/font_preparer.php
- > /wp-content/plugins/mangboard/plugins/kcaptcha/kcaptcha_image.php
- > /wp-content/plugins/mangboard/plugins/store/store_page.php
- 134× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'MBW_PLUGIN_PATHincludes/mb-version.php' (include_path='.:/usr/share/php') in wp-content/plugins/mangboard/includes/mb-settings.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function mbw_get_param() in wp-content/plugins/mangboard/plugins/editors/smart/SmartEditor2Skin_ja_JP.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/mangboard/includes/mb-options.php:2
- > PHP Warning
Use of undefined constant MBW_PLUGIN_URL - assumed 'MBW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/mangboard/plugins/editors/smart/SmartEditor2Skin_ja_JP.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_Exception' not found in wp-content/plugins/mangboard/plugins/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/Exception.php:6
- > PHP Warning
Use of undefined constant MBW_PLUGIN_URL - assumed 'MBW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/mangboard/plugins/editors/smart/SmartEditor2Skin.php on line 15
- > PHP Warning
Use of undefined constant MBW_PLUGIN_URL - assumed 'MBW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/mangboard/plugins/editors/smart/SmartEditor2Skin_en_US.php on line 15
- > PHP Warning
Use of undefined constant MBW_PLUGIN_URL - assumed 'MBW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/mangboard/plugins/editors/smart/SmartEditor2Skin_en_US.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function mbw_json_decode() in wp-content/plugins/mangboard/skins/bbs_notice_m1/view.php:2
- > PHP Warning
Use of undefined constant MBW_PLUGIN_URL - assumed 'MBW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/mangboard/plugins/editors/smart/SmartEditor2Skin.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Mang Board > Board), #2 (Mang Board > Gallery), #3 (Mang Board > Calendar), #4 (Mang Board > Webzine), #5 (Mang Board > Frequently Asked Questions), #6 (Mang Board > Form)
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
mangboard/mangboard.php Passed 13 tests
The primary PHP file in "Mang Board WP" version 1.7.7 is used by WordPress to initiate all plugin functionality
99 characters long description:
MangBoard WP는 Wordpress에서 게시판을 생성/관리 할 수 있는 기능을 제공합니다
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected71,888 lines of code in 201 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 133 | 6,595 | 10,888 | 42,740 |
JavaScript | 37 | 6,485 | 9,984 | 23,700 |
CSS | 30 | 215 | 316 | 5,447 |
INI | 1 | 1 | 1 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 232)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 14.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 539.00 |
Average method complexity | 4.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 232.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 242 | |
▷ Abstract classes | 15 | 6.20% |
▷ Concrete classes | 227 | 93.80% |
▷ Final classes | 0 | 0.00% |
Methods | 879 | |
▷ Static methods | 45 | 5.12% |
▷ Public methods | 710 | 80.77% |
▷ Protected methods | 86 | 9.78% |
▷ Private methods | 83 | 9.44% |
Functions | 339 | |
▷ Named functions | 339 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 86 | |
▷ Global constants | 28 | 32.56% |
▷ Class constants | 58 | 67.44% |
▷ Public constants | 58 | 100.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
42 PNG files occupy 0.50MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugins/editor_composer/img/icon_arrow_down.png | 2.91KB | 0.28KB | ▼ 90.44% |
plugins/editors/smart/sample/photo_uploader/img/bg_drag_image.png | 1.20KB | 0.99KB | ▼ 17.77% |
plugins/editor_composer/img/icon_editor_video.png | 1.53KB | 0.84KB | ▼ 45.22% |
plugins/editors/smart/sample/photo_uploader/img/btn_confirm2.png | 0.54KB | 0.50KB | ▼ 7.23% |
plugins/editors/smart/sample/photo_uploader/img/btn_cancel.png | 0.70KB | 0.66KB | ▼ 5.57% |