83% support-board-cloud

Code Review | Support Board Cloud

WordPress plugin Support Board Cloud scored83%from 54 tests.

About plugin

  • Plugin page: support-board-cloud
  • Plugin version: 1.0.3
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Dec 21, 2021
  • Latest release: Sep 19, 2023
  • Number of updates: 18
  • Update frequency: every 36.1 days
  • Top authors: supportboard (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,466 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.07ms] Passed 4 tests

Server-side resources used by Support Board Cloud
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0546.13 ▲1.63
Dashboard /wp-admin3.36 ▲0.0151.61 ▼18.50
Posts /wp-admin/edit.php3.41 ▲0.0552.27 ▲2.20
Add New Post /wp-admin/post-new.php5.94 ▲0.0596.82 ▼4.50
Media Library /wp-admin/upload.php3.28 ▲0.0535.69 ▼2.91
Support Board Cloud /wp-admin/options-general.php?page=support-board-cloud3.2534.78

Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Support Board Cloud
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.28 ▲0.101.75 ▼0.0947.60 ▲0.51
Dashboard /wp-admin2,193 ▲165.55 ▼0.1187.37 ▼9.9437.90 ▼5.70
Posts /wp-admin/edit.php2,104 ▲42.02 ▼0.0140.87 ▲1.4236.50 ▼1.02
Add New Post /wp-admin/post-new.php1,540 ▲1218.26 ▼4.74588.79 ▼94.8164.67 ▲6.49
Media Library /wp-admin/upload.php1,407 ▲104.20 ▲0.08100.60 ▲2.6645.57 ▲1.82
Support Board Cloud /wp-admin/options-general.php?page=support-board-cloud1,1711.9922.8727.81

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/support-board-cloud/index.php:246

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Dashboard), #2 (Users area), #3 (Chat)
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
The official readme.txt is a good inspiration

support-board-cloud/index.php 92% from 13 tests

"Support Board Cloud" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("support-board-cloud.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin235 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP11615223
CSS13011
Markdown1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code1.76
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin