90% autologin-on-register-for-buddyboss

Code Review | Auto Login on Register for BuddyBoss

WordPress plugin Auto Login on Register for BuddyBoss scored90%from 54 tests.

About plugin

  • Plugin page: autologin-on-regi...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.6
  • WordPress version: 6.3.1
  • First release: Jan 13, 2021
  • Latest release: Jan 13, 2021
  • Number of updates: 7
  • Update frequency: every 0.1 days
  • Top authors: xavierdeveloper (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

300+ active /3,020 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼6.26ms] Passed 4 tests

Server-side resources used by Auto Login on Register for BuddyBoss
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.52 ▲0.02
Dashboard /wp-admin3.31 ▼0.0353.69 ▼12.92
Posts /wp-admin/edit.php3.36 ▲0.0151.18 ▲3.96
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.54 ▼11.02
Media Library /wp-admin/upload.php3.23 ▲0.0136.83 ▼1.12

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Auto Login on Register for BuddyBoss: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.23 ▼1.151.76 ▲0.0043.96 ▼1.29
Dashboard /wp-admin2,200 ▲115.81 ▲0.71103.23 ▼8.1539.77 ▼3.32
Posts /wp-admin/edit.php2,089 ▼02.06 ▲0.0134.97 ▼4.7533.34 ▼4.05
Add New Post /wp-admin/post-new.php1,542 ▲2818.04 ▲0.60599.24 ▼88.1451.88 ▼25.79
Media Library /wp-admin/upload.php1,391 ▼04.20 ▼0.0597.82 ▼6.6341.76 ▼4.46

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 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
2 plugin tags: buddyboss, autologin

autologin-on-register-for-buddyboss/autologin-on-register-for-buddyboss.php Passed 13 tests

This is the main PHP file of "Auto Login on Register for BuddyBoss" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
120 characters long description:
This plugin automatically logs in the user and redirects them to their profile when they register on BuddyBoss Platform.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin26 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP120926

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 are no PNG files in this plugin