90% um-forumwp

Code Review | Ultimate Member - ForumWP forum integration

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

About plugin

  • Plugin page: um-forumwp
  • Plugin version: 2.1.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.3
  • WordPress version: 6.3.1
  • First release: Jul 26, 2019
  • Latest release: Oct 11, 2023
  • Number of updates: 28
  • Update frequency: every 54.9 days
  • Top authors: nsinelnikov (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

800+ active /23,850 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

A check of server-side resources used by Ultimate Member - ForumWP forum integration
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.69 ▼10.40
Dashboard /wp-admin3.33 ▲0.0351.86 ▲0.16
Posts /wp-admin/edit.php3.38 ▲0.0352.00 ▲4.08
Add New Post /wp-admin/post-new.php5.91 ▲0.0394.59 ▲2.19
Media Library /wp-admin/upload.php3.26 ▲0.0337.02 ▲1.17

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Ultimate Member - ForumWP forum integration
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲6114.37 ▲0.011.76 ▼0.3044.38 ▼3.17
Dashboard /wp-admin2,200 ▲205.56 ▼0.0689.52 ▲0.7540.38 ▼5.75
Posts /wp-admin/edit.php2,108 ▲82.02 ▼0.0239.63 ▲3.1538.37 ▲2.66
Add New Post /wp-admin/post-new.php1,534 ▲822.87 ▼0.14622.32 ▼4.6656.72 ▲4.39
Media Library /wp-admin/upload.php1,411 ▲114.20 ▼0.00102.03 ▼3.8145.12 ▼3.00

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 9 options in the database
    • widget_theysaidso_widget
    • um_forumwp_version
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • um_forumwp_last_version_upgrade
    • um_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% 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:
  • Donate link: Invalid url: ""
You can take inspiration from this readme.txt

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

The main PHP file in "Ultimate Member - ForumWP forum integration" ver. 2.1.5 adds more information about the plugin and also serves as the entry point for this plugin
39 characters long description:
Integrates Ultimate Member with ForumWP

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,026 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP10308297931
PO File1273577
CSS23018

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.64
Average class complexity32.50
▷ Minimum class complexity4.00
▷ Maximum class complexity117.00
Average method complexity4.94
▷ Minimum method complexity1.00
▷ Maximum method complexity62.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods48
▷ Static methods12.08%
▷ Public methods48100.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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected