10% rbs-remote-dashboard-welcome

Code Review | RBS Remote Dashboard Welcome

WordPress plugin RBS Remote Dashboard Welcome scored10%from 54 tests.

About plugin

  • Plugin page: rbs-remote-dashbo...
  • Plugin version: 1.1.4
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 21, 2017
  • Latest release: Sep 7, 2023
  • Number of updates: 19
  • Update frequency: every 119.4 days
  • Top authors: rdiekstra (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,152 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • Install procedure had errors
    • > Notice in wp-content/plugins/rbs-remote-dashboard-welcome/rbs-remote-dashboard-welcome.php+70
    Trying to access array offset on value of type bool

Server metrics [RAM: ▼1.92MB] [CPU: ▼52.38ms] Passed 4 tests

This is a short check of server-side resources used by RBS Remote Dashboard Welcome
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.07 ▼1.405.44 ▼36.12
Dashboard /wp-admin2.09 ▼1.225.98 ▼46.03
Posts /wp-admin/edit.php2.09 ▼1.276.77 ▼41.91
Add New Post /wp-admin/post-new.php2.09 ▼3.807.82 ▼85.44
Media Library /wp-admin/upload.php2.09 ▼1.146.15 ▼30.45
Remote Dashboard Welcome /wp-admin/options-general.php?page=remote_dashboard_welcome2.096.87

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

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

Browser metrics Passed 4 tests

RBS Remote Dashboard Welcome: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.74 ▲0.151.80 ▲0.2041.82 ▼3.71
Dashboard /wp-admin2,201 ▲305.49 ▼0.0389.42 ▼2.2738.25 ▼5.64
Posts /wp-admin/edit.php2,106 ▲62.01 ▲0.0335.71 ▼4.9039.37 ▲3.93
Add New Post /wp-admin/post-new.php1,531 ▲323.01 ▼0.10668.08 ▼42.9552.21 ▼0.26
Media Library /wp-admin/upload.php1,406 ▲64.24 ▲0.04109.44 ▼2.6747.34 ▲0.02
Remote Dashboard Welcome /wp-admin/options-general.php?page=remote_dashboard_welcome7722.0025.4623.97

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
    • > Notice in wp-content/plugins/rbs-remote-dashboard-welcome/rbs-remote-dashboard-welcome.php+70
    Trying to access array offset on value of type bool
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=remote_dashboard_welcome
    • > Notice in wp-content/plugins/rbs-remote-dashboard-welcome/rbs-remote-dashboard-welcome.php+113
    Trying to access array offset on value of type bool

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: user info, welcome, user information, centralized, central...

rbs-remote-dashboard-welcome/rbs-remote-dashboard-welcome.php Passed 13 tests

The main file in "RBS Remote Dashboard Welcome" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
102 characters long description:
Load a Remote Dashboard Welcome page from a central server to show to your users on their own website.

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 detected178 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP14519107
PO File181146
JavaScript16225

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
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