77% get-out-dashboard

Code Review | get_out_dashboard

WordPress plugin get_out_dashboard scored77%from 54 tests.

About plugin

  • Plugin page: get-out-dashboard
  • Plugin version: 1.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.1.1
  • WordPress version: 6.3.1
  • First release: Jun 19, 2019
  • Latest release: Feb 15, 2023
  • Number of updates: 25
  • Update frequency: every 54.4 days
  • Top authors: creativestudiollc (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /608 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: ▼0.13ms] Passed 4 tests

This is a short check of server-side resources used by get_out_dashboard
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.94 ▼0.63
Dashboard /wp-admin3.31 ▲0.0043.83 ▼0.84
Posts /wp-admin/edit.php3.36 ▲0.0045.71 ▼4.26
Add New Post /wp-admin/post-new.php5.89 ▲0.00126.38 ▲30.14
Media Library /wp-admin/upload.php3.23 ▲0.0036.40 ▲5.21

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

get_out_dashboard: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.53 ▼0.904.40 ▲2.7944.25 ▲0.97
Dashboard /wp-admin2,203 ▲155.82 ▲0.7597.82 ▼6.8039.28 ▼1.45
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0534.13 ▼6.8334.65 ▼3.59
Add New Post /wp-admin/post-new.php1,534 ▲123.27 ▲0.02594.01 ▼4.4954.29 ▲5.90
Media Library /wp-admin/upload.php1,388 ▲34.15 ▼0.1493.60 ▼8.8040.09 ▼1.66

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/get-out-dashboard/sample2.php
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/get-out-dashboard/get_out_dashboard.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Screenshots: Please add an image for screenshot #2 (Individual page/post setting)
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === get-out-dashboard === )
The official readme.txt is a good inspiration

get-out-dashboard/get_out_dashboard.php 85% from 13 tests

"get_out_dashboard" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("get-out-dashboard.php" instead of "get_out_dashboard.php")
  • Text Domain: The text domain should only use lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected16 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP221216

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions1
▷ Named functions1100.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
No PNG files were detected