84% minimal-dashboard-by-wss

Code Review | Minimal Dashboard by WSS

WordPress plugin Minimal Dashboard by WSS scored84%from 54 tests.

About plugin

  • Plugin page: minimal-dashboard...
  • Plugin version: 1.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.0.2
  • WordPress version: 6.3.1
  • First release: Sep 28, 2022
  • Latest release: Sep 28, 2022
  • Number of updates: 2
  • Update frequency: every 10.5 days
  • Top authors: shubhwadekar (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /377 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

An overview of server-side resources used by Minimal Dashboard by WSS
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0132.29 ▼7.33
Dashboard /wp-admin3.32 ▲0.0147.79 ▼0.39
Posts /wp-admin/edit.php3.37 ▲0.0168.27 ▲20.51
Add New Post /wp-admin/post-new.php5.90 ▲0.01100.49 ▲12.30
Media Library /wp-admin/upload.php3.24 ▲0.0139.03 ▲2.30

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Minimal Dashboard by WSS
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲8514.40 ▼0.231.89 ▼0.0951.77 ▲1.64
Dashboard /wp-admin2,225 ▲405.85 ▲0.9897.03 ▼5.4871.30 ▲28.53
Posts /wp-admin/edit.php2,123 ▲342.01 ▼0.1339.97 ▲5.4657.68 ▲21.61
Add New Post /wp-admin/post-new.php1,547 ▲1223.11 ▼0.23663.97 ▼20.5065.29 ▼10.45
Media Library /wp-admin/upload.php1,410 ▲224.34 ▲0.1097.43 ▼12.0855.61 ▲6.91

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/minimal-dashboard-by-wss/wss-admin-panel.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: admin light theme, admin theme, clean dashboard, clean admin theme, minimal dashboard...

minimal-dashboard-by-wss/wss-admin-panel.php 92% from 13 tests

The main file in "Minimal Dashboard by WSS" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("minimal-dashboard-by-wss.php" instead of "wss-admin-panel.php")

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
Good job! No executable or dangerous file extensions detected167 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS1434111
PHP3153841
SVG10015

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Functions4
▷ Named functions4100.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
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-256x256.png1.63KB0.74KB▼ 54.53%
assets/banner-772x250.png42.46KB16.43KB▼ 61.31%
assets/weswitchedlogo.png13.38KB5.89KB▼ 55.99%