Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.89ms] Passed 4 tests
A check of server-side resources used by HootBoard - Bulletin Board For Your Organization & Team Communication
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.08 ▼1.92 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.38 ▼14.21 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 42.36 ▼0.63 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.23 ▼14.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.34 ▲0.57 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for HootBoard - Bulletin Board For Your Organization & Team Communication
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.74 ▲0.45 | 1.59 ▼0.02 | 41.59 ▲2.34 |
Dashboard /wp-admin | 2,220 ▲43 | 5.06 ▼0.51 | 85.61 ▼3.14 | 83.41 ▲41.35 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.41 ▲0.46 | 36.79 ▲1.27 | 30.38 ▼7.44 |
Add New Post /wp-admin/post-new.php | 1,694 ▲166 | 21.71 ▼1.53 | 748.99 ▲87.01 | 37.57 ▼24.51 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.64 ▲0.49 | 95.77 ▼19.03 | 76.36 ▲27.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hootboard/classes/class-create-rest-routes.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/hootboard/classes/class-create-shortcode.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hootboard/classes/class-create-admin-menu.php:7
- > 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 86% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in hootboard/assets to your readme.txt
- Donate link: Invalid URI found ("")
- Tags: Please reduce the number of tags, currently 46 tag instead of maximum 10
hootboard/hootboard.php 92% from 13 tests
Analyzing the main PHP file in "HootBoard - Bulletin Board For Your Organization & Team Communication" version 3.1.3
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin150 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 30 | 23 | 149 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview 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.24 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
8 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 |
dist/images/enter-link.png | 1.29KB | 0.77KB | ▼ 40.21% |
dist/images/customize.png | 1.91KB | 1.15KB | ▼ 40.04% |
dist/images/caret.png | 0.18KB | 0.21KB | 0.00% |
dist/images/menu-icon.png | 1.90KB | 0.58KB | ▼ 69.36% |
dist/images/create-board.png | 2.38KB | 1.17KB | ▼ 50.66% |