89% boot-dashbaord

Code Review | Boot Dashboard

WordPress plugin Boot Dashboard scored 89% from 54 tests.

About plugin

  • Plugin page: boot-dashbaord
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.8.1
  • WordPress version: 6.3.1
  • First release: Jun 14, 2017
  • Latest release: Aug 23, 2017
  • Number of updates: 5
  • Update frequency: every 14.0 days
  • Top authors: dipto99 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 920 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▲0.76ms] Passed 4 tests

Analyzing server-side resources used by Boot Dashboard
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0047.41 ▲1.30
Dashboard /wp-admin3.32 ▲0.0159.73 ▲4.05
Posts /wp-admin/edit.php3.37 ▲0.0153.31 ▲5.07
Add New Post /wp-admin/post-new.php5.92 ▲0.0392.59 ▼6.38
Media Library /wp-admin/upload.php3.24 ▲0.0141.58 ▲4.07

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Boot Dashboard
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▼1713.25 ▼0.981.72 ▼0.6051.87 ▲3.55
Dashboard /wp-admin2,214 ▲85.88 ▲0.09113.55 ▼2.4572.40 ▲29.79
Posts /wp-admin/edit.php2,105 ▲162.07 ▲0.0742.95 ▲9.65139.08 ▲105.47
Add New Post /wp-admin/post-new.php1,526 ▼1623.34 ▲5.25703.68 ▲50.1971.56 ▲19.06
Media Library /wp-admin/upload.php1,393 ▲54.32 ▲0.1595.24 ▼5.5290.36 ▲46.58

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
The official readme.txt might help

boot-dashbaord/boot-dashboard.php 85% from 13 tests

The primary PHP file in "Boot Dashboard" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("boot-dashbaord.php" instead of "boot-dashboard.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 185 characters long)

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
There were no executable files found in this plugin628 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS310010601
JavaScript16316
PHP151311

PHP code Passed 2 tests

A short 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.17
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

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin