Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▲0.40ms] Passed 4 tests
Server-side resources used by Video Forum / QA / Discussion Board
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 40.96 ▼0.48 |
Dashboard /wp-admin | 3.77 ▲0.47 | 48.09 ▼1.93 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 49.93 ▲3.71 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.47 | 88.29 ▲2.23 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 38.62 ▲1.76 |
All Forums /wp-admin/edit.php?post_type=forum | 3.75 | 39.90 |
Documentation /wp-admin/admin.php?page=forum-qa-discussion-board-doc | 3.66 | 32.91 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=forum | 3.69 | 34.58 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=topic | 3.69 | 35.03 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=forum | 3.69 | 40.90 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=message | 3.69 | 32.55 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=topic | 3.70 | 38.02 |
Options /wp-admin/admin.php?page=forum-qa-discussion-board | 3.65 | 35.36 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=message | 3.70 | 38.73 |
All Messages /wp-admin/edit.php?post_type=message | 3.75 | 38.84 |
Server storage [IO: ▲4.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
category_children |
widget_theysaidso_widget |
VWforumQAoptions |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video Forum / QA / Discussion Board
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,006 ▲271 | 13.59 ▼0.81 | 1.80 ▲0.03 | 41.14 ▼4.39 |
Dashboard /wp-admin | 2,346 ▲158 | 5.85 ▲0.96 | 101.09 ▼18.14 | 43.75 ▼3.88 |
Posts /wp-admin/edit.php | 2,235 ▲146 | 2.06 ▲0.02 | 36.84 ▼4.05 | 34.57 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,634 ▲120 | 17.56 ▼0.33 | 690.52 ▲41.91 | 61.61 ▲3.87 |
Media Library /wp-admin/upload.php | 1,534 ▲146 | 4.27 ▲0.02 | 103.15 ▲7.53 | 45.92 ▲3.40 |
All Forums /wp-admin/edit.php?post_type=forum | 1,250 | 1.93 | 33.30 | 34.55 |
Documentation /wp-admin/admin.php?page=forum-qa-discussion-board-doc | 938 | 2.03 | 22.61 | 31.12 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=forum | 1,456 | 2.15 | 26.39 | 34.31 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=topic | 1,450 | 2.15 | 28.43 | 33.20 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=forum | 1,589 | 2.15 | 26.86 | 36.12 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=message | 1,450 | 2.15 | 27.09 | 31.52 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=topic | 1,589 | 2.15 | 28.21 | 35.65 |
Options /wp-admin/admin.php?page=forum-qa-discussion-board | 1,058 | 2.03 | 23.05 | 32.58 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=message | 1,589 | 2.15 | 28.25 | 37.31 |
All Messages /wp-admin/edit.php?post_type=message | 1,250 | 1.93 | 32.56 | 36.90 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- VWforumQAoptions
- widget_theysaidso_widget
- category_children
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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: qa, forum, board, discussion
forum-qa-discussion-board/forum-qa-discussion-board.php 92% from 13 tests
The main PHP file in "Video Forum / QA / Discussion Board" ver. 1.2.6 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 691 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin11,268 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,299 |
PHP | 3 | 470 | 112 | 1,860 |
JavaScript | 2 | 19 | 20 | 104 |
Markdown | 1 | 3 | 0 | 4 |
CSS | 1 | 0 | 10 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 109.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 251.00 |
Average method complexity | 9.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 35 | 89.74% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 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.03MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
scripts/semantic/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |