93% client-ui-by-redolance

Code Review | Client UI By Redolance

WordPress plugin Client UI By Redolance scored 93% from 54 tests.

About plugin

  • Plugin page: client-ui-by-redo...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.5.1
  • WordPress version: 5.8.1
  • First release: May 22, 2016
  • Latest release: May 22, 2016
  • Number of updates: 14
  • Update frequency: every 0.1 days
  • Top authors: redolance (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,308 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼138.61ms] Passed 4 tests

Server-side resources used by Client UI By Redolance
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1232.01 ▲11.53
Dashboard /wp-admin3.06 ▲0.0144.32 ▲4.42
Posts /wp-admin/edit.php3.12 ▲0.0141.89 ▼0.28
Add New Post /wp-admin/post-new.php5.42 ▼0.0187.14 ▼557.38
Media Library /wp-admin/upload.php3.01 ▲0.0031.81 ▼1.19

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Client UI By Redolance
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,701 ▲10515.73 ▲0.179.05 ▼0.4542.50 ▼3.71
Dashboard /wp-admin2,957 ▲265.88 ▼0.36134.03 ▼27.60125.45 ▲19.95
Posts /wp-admin/edit.php2,738 ▼12.70 ▲0.0065.40 ▼3.0298.87 ▲6.13
Add New Post /wp-admin/post-new.php1,614 ▼6921.82 ▲3.04275.07 ▼96.96104.95 ▼3.41
Media Library /wp-admin/upload.php1,812 ▲55.03 ▲0.01156.41 ▲4.74131.22 ▲11.22

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables

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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/client-ui-by-redolance/client-ui-by-redolance.php:36

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots require images: #1 (Dashboard), #2 (New Post Page), #3 (Edit pages), #4 (profile page)
  • Tags: You are using too many tags: 23 tag instead of maximum 10
You can look at the official readme.txt

client-ui-by-redolance/client-ui-by-redolance.php Passed 13 tests

This is the main PHP file of "Client UI By Redolance" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
102 characters long description:
Client ui admin by redolance - you can name it "clean and modern dashboard for developers and clients.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected346 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS16714334
PHP233112

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.93MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png288.75KB138.78KB▼ 51.94%
screenshot-4.png75.00KB29.54KB▼ 60.62%
assets/large_leather-e1462330587628.png4.89KB5.09KB0.00%
screenshot-1.png348.97KB154.49KB▼ 55.73%
screenshot-3.png232.32KB97.65KB▼ 57.97%