74% forumwp

Code Review | ForumWP – Forum & Discussion Board Plugin

WordPress plugin ForumWP – Forum & Discussion Board Plugin scored74%from 54 tests.

About plugin

  • Plugin page: forumwp
  • Plugin version: 2.0.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Mar 2, 2021
  • Latest release: May 25, 2022
  • Number of updates: 11
  • Update frequency: every 42.0 days
  • Top authors: nsinelnikov (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

900+ active /10,990 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲1.62MB] [CPU: ▲3.36ms] Passed 4 tests

Server-side resources used by ForumWP – Forum & Discussion Board Plugin
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.94 ▲1.4849.03 ▲5.79
Dashboard /wp-admin4.98 ▲1.6360.85 ▼6.51
Posts /wp-admin/edit.php5.05 ▲1.6961.85 ▲9.44
Add New Post /wp-admin/post-new.php7.78 ▲1.89110.65 ▲4.73
Media Library /wp-admin/upload.php4.90 ▲1.6755.15 ▲18.11
Settings /wp-admin/admin.php?page=forumwp-settings5.1449.44
Forum Categories /wp-admin/edit-tags.php?taxonomy=fmwp_forum_category&post_type=fmwp_forum4.9050.03
Forums /wp-admin/edit.php?post_type=fmwp_forum4.9653.68
Topic Tags /wp-admin/edit-tags.php?taxonomy=fmwp_topic_tag&post_type=fmwp_topic4.8945.61
Topics /wp-admin/edit.php?post_type=fmwp_topic4.9851.00
Replies /wp-admin/edit.php?post_type=fmwp_reply4.9852.39
Dashboard /wp-admin/admin.php?page=forumwp4.7041.92

Server storage [IO: ▲8.00MB] [DB: ▲0.02MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 355 new files
Database: 1 new table, 10 new options
New tables
wp_fmwp_reports
New WordPress options
fmwp_last_version_upgrade
fmwp_options
fmwp_first_activation_date
db_upgraded
theysaidso_admin_options
can_compress_scripts
fmwp_version
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

ForumWP – Forum & Discussion Board Plugin: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,899 ▲15313.29 ▼1.021.77 ▲0.2342.48 ▼0.11
Dashboard /wp-admin2,299 ▲1115.86 ▼0.17101.61 ▼0.9643.89 ▼2.71
Posts /wp-admin/edit.php2,188 ▲1022.25 ▲0.2639.32 ▲0.4635.07 ▼2.23
Add New Post /wp-admin/post-new.php1,603 ▲8423.17 ▲0.05671.60 ▼7.1067.48 ▲9.62
Media Library /wp-admin/upload.php1,481 ▲934.27 ▲0.01103.37 ▼11.0048.46 ▲0.99
Settings /wp-admin/admin.php?page=forumwp-settings1,0772.2534.0127.51
Forum Categories /wp-admin/edit-tags.php?taxonomy=fmwp_forum_category&post_type=fmwp_forum1,4252.6135.7233.33
Forums /wp-admin/edit.php?post_type=fmwp_forum1,2522.3440.6130.06
Topic Tags /wp-admin/edit-tags.php?taxonomy=fmwp_topic_tag&post_type=fmwp_topic1,3942.7136.2731.05
Topics /wp-admin/edit.php?post_type=fmwp_topic1,2442.7342.1631.16
Replies /wp-admin/edit.php?post_type=fmwp_reply1,2062.3136.3930.20
Dashboard /wp-admin/admin.php?page=forumwp280.440.103.65

Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 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
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_fmwp_reports
  • The uninstall procedure has failed, leaving 10 options in the database
    • widget_theysaidso_widget
    • fmwp_options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • fmwp_last_version_upgrade
    • fmwp_version
    • fmwp_first_activation_date

Smoke tests 75% from 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
    • > GET request to /wp-admin/admin.php?page=forumwp
    • > Network (severe)
    wp-admin/admin.php?page=forumwp - Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: topic, reply, user-registration, user-profile, forum

forumwp/forumwp.php Passed 13 tests

The principal PHP file in "ForumWP – Forum & Discussion Board Plugin" v. 2.0.2 is loaded by WordPress automatically on each request
52 characters long description:
A full-featured, powerful forum plugin for WordPress

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
No dangerous file extensions were detected109,522 lines of code in 337 files:
LanguageFilesBlank linesComment linesLines of code
JSON10055,293
PHP1094,7443,85214,401
CSS562,3135712,954
JavaScript1152,4076429,351
SVG3008,611
Sass52682837,969
PO File1419518943

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity44.98
▷ Minimum class complexity1.00
▷ Maximum class complexity176.00
Average method complexity4.58
▷ Minimum method complexity1.00
▷ Maximum method complexity65.00
Code structure
Namespaces6
Interfaces0
Traits0
Classes49
▷ Abstract classes00.00%
▷ Concrete classes49100.00%
▷ Final classes612.24%
Methods603
▷ Static methods71.16%
▷ Public methods60299.83%
▷ Protected methods00.00%
▷ Private methods10.17%
Functions18
▷ Named functions1477.78%
▷ Anonymous functions422.22%
Constants9
▷ Global constants9100.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
There were not PNG files found in your plugin