Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.48MB] [CPU: ▼14.19ms] Passed 4 tests
This is a short check of server-side resources used by Pondol BBS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.31 ▼0.16 | 39.04 ▼2.96 |
Dashboard /wp-admin | 3.68 ▲0.33 | 56.77 ▼7.06 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 59.94 ▲9.81 |
Add New Post /wp-admin/post-new.php | 3.47 ▼2.42 | 45.10 ▼56.25 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 46.04 ▲9.52 |
Add New /wp-admin/post-new.php?post_type=bbs | 3.46 | 44.03 |
Pondol BBS /wp-admin/edit.php?post_type=bbs | 3.57 | 49.51 |
BBS Category /wp-admin/edit-tags.php?taxonomy=board&post_type=bbs | 3.51 | 43.42 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 73 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pondol_bbs |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_pondolbbs_widget |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pondol BBS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲114 | 14.40 ▲0.13 | 1.92 ▲0.36 | 32.98 ▼6.85 |
Dashboard /wp-admin | 2,247 ▲67 | 5.59 ▲0.07 | 93.50 ▼0.98 | 51.47 ▲5.90 |
Posts /wp-admin/edit.php | 2,155 ▲52 | 2.03 ▲0.08 | 37.01 ▼3.91 | 43.43 ▲7.63 |
Add New Post /wp-admin/post-new.php | 1,420 ▼108 | 21.46 ▼1.63 | 555.81 ▼135.89 | 84.78 ▲34.06 |
Media Library /wp-admin/upload.php | 1,452 ▲52 | 4.21 ▼0.04 | 103.26 ▼8.78 | 47.47 ▲0.22 |
Add New /wp-admin/post-new.php?post_type=bbs | 2,310 | 7.63 | 171.08 | 80.36 |
Pondol BBS /wp-admin/edit.php?post_type=bbs | 1,119 | 1.95 | 32.57 | 40.66 |
BBS Category /wp-admin/edit-tags.php?taxonomy=board&post_type=bbs | 1,698 | 2.17 | 34.84 | 46.48 |
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
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_pondol_bbs
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_pondolbbs_widget
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=bbs
- > Notice in wp-content/plugins/pondol-bbs/includes/class.pondol.bbs.php+270
Undefined index: post_type
- > GET request to /wp-admin/edit-tags.php?taxonomy=board&post_type=bbs
- > Notice in wp-content/plugins/pondol-bbs/includes/class.pondol.bbs.admin.php+30
Trying to get property 'term_id' of non-object
- > GET request to /wp-admin/edit-tags.php?taxonomy=board&post_type=bbs
- > Notice in wp-content/plugins/pondol-bbs/pages/admin.taxonomy.edit.php+133
Undefined index: comment
- > GET request to /wp-admin/edit-tags.php?taxonomy=board&post_type=bbs
- > Notice in wp-content/plugins/pondol-bbs/pages/admin.taxonomy.edit.php+167
Undefined index: uploading_files_ext
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 take a closer look at the following
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pondol-bbs/pages/admin.gallery.images.php
- > /wp-content/plugins/pondol-bbs/templates/sample/form_auth.php
- > /wp-content/plugins/pondol-bbs/templates/notice/form_auth.php
- > /wp-content/plugins/pondol-bbs/templates/gallery/form_auth.php
- > /wp-content/plugins/pondol-bbs/templates/newtype/form_auth.php
- > /wp-content/plugins/pondol-bbs/templates/default/form_auth.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected 'endfor' (T_ENDFOR), expecting end of file in wp-content/plugins/pondol-bbs/templates/sample/archive-write.php on line 87
- > PHP Warning
Use of undefined constant PONDOL_BBS_URL - assumed 'PONDOL_BBS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pondol-bbs/pages/admin.taxonomy.edit.php on line 14
- > PHP Warning
Use of undefined constant PONDOL_BBS_URL - assumed 'PONDOL_BBS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pondol-bbs/pages/admin.taxonomy.edit.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pondol-bbs/pages/admin.taxonomy.edit.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/pondol-bbs/pondolbbs.php:28
- > PHP Warning
Use of undefined constant PONDOL_BBS_URL - assumed 'PONDOL_BBS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pondol-bbs/pages/admin.taxonomy.edit.php on line 16
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: board, notice, pondol, imagegallery, bbs
pondol-bbs/pondolbbs.php 92% from 13 tests
The main file in "Pondol BBS" v. 1.1.8.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pondol-bbs.php" instead of "pondolbbs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected3,033 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 403 | 269 | 2,439 |
CSS | 8 | 34 | 7 | 217 |
JavaScript | 5 | 31 | 62 | 205 |
PO File | 2 | 72 | 14 | 172 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 17.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.59% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
16 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/newtype/preview/view.png | 2.94KB | 1.82KB | ▼ 38.01% |
templates/notice/preview/list.png | 2.61KB | 1.75KB | ▼ 32.82% |
templates/gallery/preview/list.png | 7.20KB | 3.32KB | ▼ 53.86% |
templates/default/preview/list.png | 3.58KB | 2.35KB | ▼ 34.42% |
templates/notice/preview/write.png | 1.33KB | 0.87KB | ▼ 34.73% |