90% um-jobboardwp

Code Review | Ultimate Member - JobBoardWP integration

WordPress plugin Ultimate Member - JobBoardWP integration scored90%from 54 tests.

About plugin

  • Plugin page: um-jobboardwp
  • Plugin version: 1.0.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.3
  • WordPress version: 6.3.1
  • First release: Aug 12, 2020
  • Latest release: Oct 11, 2023
  • Number of updates: 15
  • Update frequency: every 77.5 days
  • Top authors: nsinelnikov (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active /10,922 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.91ms] Passed 4 tests

This is a short check of server-side resources used by Ultimate Member - JobBoardWP integration
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0343.64 ▲2.10
Dashboard /wp-admin3.34 ▲0.0348.62 ▲1.75
Posts /wp-admin/edit.php3.39 ▲0.0347.28 ▼2.22
Add New Post /wp-admin/post-new.php5.92 ▲0.0382.68 ▼29.26
Media Library /wp-admin/upload.php3.26 ▲0.0338.46 ▲6.60

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 9 new options
New WordPress options
widget_theysaidso_widget
um_options
um_jobboardwp_last_version_upgrade
can_compress_scripts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts
um_jobboardwp_version

Browser metrics Passed 4 tests

A check of browser resources used by Ultimate Member - JobBoardWP integration
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲5114.28 ▼0.071.73 ▲0.1743.22 ▲3.13
Dashboard /wp-admin2,203 ▲235.51 ▼0.2294.17 ▲10.6646.16 ▲4.38
Posts /wp-admin/edit.php2,105 ▲52.02 ▲0.0334.87 ▼3.0633.12 ▼2.90
Add New Post /wp-admin/post-new.php1,536 ▲1023.32 ▼0.46656.31 ▼4.8244.73 ▼7.33
Media Library /wp-admin/upload.php1,408 ▲54.23 ▼0.01109.53 ▲7.9448.75 ▲1.80

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
  • This plugin did not uninstall successfully, leaving 9 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • um_jobboardwp_version
    • widget_theysaidso_widget
    • um_options
    • um_jobboardwp_last_version_upgrade

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention: The official readme.txt is a good inspiration

um-jobboardwp/um-jobboardwp.php Passed 13 tests

The main PHP script in "Ultimate Member - JobBoardWP integration" version 1.0.7 is automatically included on every request by WordPress
42 characters long description:
Integrates Ultimate Member with JobBoardWP

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 plugin635 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP9191253533
PO File1293382
JavaScript43120

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity11.67
▷ Minimum class complexity1.00
▷ Maximum class complexity45.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods40
▷ Static methods12.50%
▷ Public methods40100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected