84% otherboard

Code Review | Otherboard

WordPress plugin Otherboard scored84%from 54 tests.

About plugin

  • Plugin page: otherboard
  • Plugin version: 0.2.3
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7-6.0.1
  • WordPress version: 6.3.1
  • First release: Sep 10, 2022
  • Latest release: Nov 30, 2022
  • Number of updates: 6
  • Update frequency: every 13.5 days
  • Top authors: JustinSainton (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /290 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.64ms] Passed 4 tests

A check of server-side resources used by Otherboard
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.19 ▲2.04
Dashboard /wp-admin3.33 ▲0.0349.50 ▼5.13
Posts /wp-admin/edit.php3.39 ▲0.0346.23 ▼2.51
Add New Post /wp-admin/post-new.php5.87 ▼0.02100.56 ▼3.81
Media Library /wp-admin/upload.php3.26 ▲0.0336.93 ▲0.88

Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Otherboard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,798 ▲3714.26 ▼0.491.69 ▲0.1442.69 ▲1.20
Dashboard /wp-admin2,204 ▲275.63 ▲0.0196.52 ▲10.7745.76 ▲4.34
Posts /wp-admin/edit.php2,127 ▲272.12 ▲0.0937.01 ▲1.5637.53 ▲3.58
Add New Post /wp-admin/post-new.php1,553 ▲2723.91 ▲0.88632.90 ▲24.1167.49 ▲15.34
Media Library /wp-admin/upload.php1,403 ▲64.16 ▼0.0096.30 ▼1.2143.55 ▲1.66

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 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
Please fix the following
  • 1× 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/otherboard/otherboard.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: content optimization, blogging, site optimization, otherboard

otherboard/otherboard.php 92% from 13 tests

The primary PHP file in "Otherboard" version 0.2.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 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 detected455 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP17331372
JavaScript11083

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.31
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%
Functions21
▷ Named functions1152.38%
▷ Anonymous functions1047.62%
Constants2
▷ Global constants2100.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