10% rbs-remote-dashboard-welcome-control

Code Review | RBS Remote Dashboard Welcome Control

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

About plugin

  • Plugin page: rbs-remote-dashbo...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 21, 2017
  • Latest release: Jan 22, 2022
  • Number of updates: 11
  • Update frequency: every 152.4 days
  • Top authors: rdiekstra (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /872 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > User deprecated in wp-includes/functions.php+5453
    Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.

Server metrics [RAM: ▲0.04MB] [CPU: ▼1.23ms] Passed 4 tests

Server-side resources used by RBS Remote Dashboard Welcome Control
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0336.87 ▼6.65
Dashboard /wp-admin3.35 ▲0.0452.94 ▲3.42
Posts /wp-admin/edit.php3.40 ▲0.0451.04 ▲4.30
Add New Post /wp-admin/post-new.php5.93 ▲0.0493.55 ▼4.90
Media Library /wp-admin/upload.php3.27 ▲0.0437.64 ▲3.21
Remote Dashboard Welcome Control /wp-admin/options-general.php?page=remote_dashboard_welcome_control3.2129.40

Server storage [IO: ▲0.04MB] [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: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for RBS Remote Dashboard Welcome Control
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲7213.15 ▼1.251.93 ▼0.0541.33 ▼3.45
Dashboard /wp-admin2,213 ▲285.86 ▲0.0598.37 ▼5.6740.47 ▼2.46
Posts /wp-admin/edit.php2,090 ▲12.04 ▲0.0040.30 ▲4.2534.87 ▼3.53
Add New Post /wp-admin/post-new.php1,545 ▲318.45 ▲0.31602.20 ▼33.5461.69 ▲0.21
Media Library /wp-admin/upload.php1,395 ▲104.21 ▼0.0696.88 ▼3.3342.69 ▼1.16
Remote Dashboard Welcome Control /wp-admin/options-general.php?page=remote_dashboard_welcome_control7822.0635.2026.25

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=remote_dashboard_welcome_control
    • > Notice in wp-content/plugins/rbs-remote-dashboard-welcome-control/rbs-remote-dashboard-welcome-control.php+148
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_footer() in wp-content/plugins/rbs-remote-dashboard-welcome-control/template/footer.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/rbs-remote-dashboard-welcome-control/template/header.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/rbs-remote-dashboard-welcome-control/template/header.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

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: central dashboard, dashboard, user information, welcome, user info...

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

The primary PHP file in "RBS Remote Dashboard Welcome Control" version 1.0.4 is used by WordPress to initiate all plugin functionality
81 characters long description:
Create a custom Remote Dashboard Welcome page for your users on your own website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin298 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP45520173
CSS10054
PO File1143051
JavaScript12120

PHP code Passed 2 tests

This is a short overview 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.21
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%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
No PNG files were detected