84% wpmktgengine-extension-bbpress

Code Review | bbPress - WPMktgEngine | Genoo Extension

WordPress plugin bbPress - WPMktgEngine | Genoo Extension scored84%from 54 tests.

About plugin

  • Plugin page: wpmktgengine-exte...
  • Plugin version: 1.0.12
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.8.2
  • WordPress version: 6.3.1
  • First release: Apr 19, 2016
  • Latest release: Nov 25, 2021
  • Number of updates: 11
  • Update frequency: every 189.6 days
  • Top authors: Genoo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /779 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.00MB] [CPU: ▼5.42ms] Passed 4 tests

A check of server-side resources used by bbPress - WPMktgEngine | Genoo Extension
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.00 ▼0.99
Dashboard /wp-admin3.31 ▲0.0051.58 ▼3.49
Posts /wp-admin/edit.php3.36 ▲0.0047.99 ▼5.31
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.83 ▼11.87
Media Library /wp-admin/upload.php3.23 ▲0.0038.43 ▲5.88

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for bbPress - WPMktgEngine | Genoo Extension
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.34 ▼0.062.00 ▲0.0841.40 ▼1.15
Dashboard /wp-admin2,198 ▲215.59 ▼0.0688.53 ▼3.9240.23 ▼0.23
Posts /wp-admin/edit.php2,100 ▼01.95 ▼0.0437.23 ▲1.2936.69 ▼4.59
Add New Post /wp-admin/post-new.php1,528 ▲123.62 ▲0.53707.82 ▼0.1253.14 ▼9.18
Media Library /wp-admin/upload.php1,403 ▲34.18 ▼0.00107.29 ▼10.3345.85 ▼0.74

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

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 everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wpmktgengine-extension-bbpress/wpmktgengine-bbpress.php:32

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: lead capture forms, marketing automation, email marketing

wpmktgengine-extension-bbpress/wpmktgengine-bbpress.php 92% from 13 tests

The main file in "bbPress - WPMktgEngine | Genoo Extension" v. 1.0.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("wpmktgengine-extension-bbpress.php" instead of "wpmktgengine-bbpress.php")

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
There were no executable files found in this plugin122 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12067122

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
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%
Functions6
▷ Named functions116.67%
▷ Anonymous functions583.33%
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 are no PNG files in this plugin