10% bizmerlinhr-jobboard

Code Review | ClayHR Job Board

WordPress plugin ClayHR Job Board scored10%from 54 tests.

About plugin

  • Plugin page: bizmerlinhr-jobboard
  • Plugin version: 1.9
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1
  • WordPress version: 6.3.1
  • First release: Sep 5, 2020
  • Latest release: Apr 25, 2023
  • Number of updates: 37
  • Update frequency: every 26.0 days
  • Top authors: bizmerlinhr (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,047 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • Install procedure had errors
    • > Notice in wp-content/plugins/bizmerlinhr-jobboard/positionsPlugins.php+49
    Trying to access array offset on value of type bool

Server metrics [RAM: ▼1.89MB] [CPU: ▼52.15ms] Passed 4 tests

Analyzing server-side resources used by ClayHR Job Board
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.09 ▼1.374.53 ▼36.55
Dashboard /wp-admin2.11 ▼1.196.91 ▼42.28
Posts /wp-admin/edit.php2.11 ▼1.247.48 ▼42.97
Add New Post /wp-admin/post-new.php2.11 ▼3.776.02 ▼86.80
Media Library /wp-admin/upload.php2.11 ▼1.115.60 ▼28.27
ClayHR Settings /wp-admin/options-general.php?page=BizMerlinHR_jobboards-settings-admin2.115.49

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by ClayHR Job Board
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲7113.65 ▼0.701.68 ▼0.0137.08 ▼12.12
Dashboard /wp-admin2,207 ▲185.82 ▲0.84114.40 ▲3.1641.69 ▼1.93
Posts /wp-admin/edit.php2,090 ▲12.01 ▼0.0438.65 ▲0.5035.27 ▲1.46
Add New Post /wp-admin/post-new.php1,540 ▲418.28 ▼4.80606.65 ▼42.5853.55 ▲0.26
Media Library /wp-admin/upload.php1,386 ▼54.17 ▼0.07101.69 ▲2.1445.56 ▲2.56
ClayHR Settings /wp-admin/options-general.php?page=BizMerlinHR_jobboards-settings-admin7852.0626.1429.27

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/bizmerlinhr-jobboard/positionsPlugins.php+49
    Trying to access array offset on value of type bool
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=BizMerlinHR_jobboards-settings-admin
    • > Notice in wp-content/plugins/bizmerlinhr-jobboard/positionsPlugins.php+49
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bizmerlinhr-jobboard/positionsPlugins.php:48

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Contributors: Plugin contributors not specified
Please take inspiration from this readme.txt

bizmerlinhr-jobboard/positionsPlugins.php 92% from 13 tests

The primary PHP file in "ClayHR Job Board" version 1.9 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bizmerlinhr-jobboard.php" instead of "positionsPlugins.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected223 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP127101212
CSS11011

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity26.00
▷ Minimum class complexity26.00
▷ Maximum class complexity26.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods15
▷ Static methods00.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin