89% uipress-lite

Code Review | UiPress lite | Effortless custom dashboards, admin themes and pages

WordPress plugin UiPress lite | Effortless custom dashboards, admin themes and pages scored89%from 54 tests.

About plugin

  • Plugin page: uipress-lite
  • Plugin version: 3.3.094
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.4
  • WordPress version: 6.3.1
  • First release: Nov 16, 2022
  • Latest release: Nov 28, 2023
  • Number of updates: 160
  • Update frequency: every 2.4 days
  • Top authors: admintwentytwenty (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

8,000+ active /78,320 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
Installer ran successfully

Server metrics [RAM: ▲0.87MB] [CPU: ▲3.00ms] Passed 4 tests

This is a short check of server-side resources used by UiPress lite | Effortless custom dashboards, admin themes and pages
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.37 ▲0.9149.05 ▲9.88
Dashboard /wp-admin4.18 ▲0.8461.05 ▼2.74
Posts /wp-admin/edit.php4.23 ▲0.8857.12 ▲8.40
Add New Post /wp-admin/post-new.php6.89 ▲1.0094.17 ▼3.56
Media Library /wp-admin/upload.php4.11 ▲0.8847.34 ▲13.14
uiBuilder /wp-admin/options-general.php?page=uip-ui-builder4.4955.65

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 462 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for UiPress lite | Effortless custom dashboards, admin themes and pages
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,798 ▲6214.27 ▲0.141.57 ▼0.5638.95 ▼6.64
Dashboard /wp-admin2,200 ▲255.56 ▼0.1597.12 ▼38.8543.25 ▼3.13
Posts /wp-admin/edit.php2,108 ▲81.96 ▼0.0439.92 ▲0.0935.16 ▲0.27
Add New Post /wp-admin/post-new.php1,532 ▲623.18 ▼0.16640.37 ▲8.8850.50 ▲0.86
Media Library /wp-admin/upload.php1,411 ▲144.30 ▲0.0996.05 ▼6.1442.92 ▼0.10
uiSettings /wp-admin/options-general.php?page=uip-ui-builder#/site-settings1,1735.2452.3260.14
uiBuilder /wp-admin/options-general.php?page=uip-ui-builder9394.4346.1930.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 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 detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
The official readme.txt is a good inspiration

uipress-lite/uipress-lite.php 92% from 13 tests

The principal PHP file in "UiPress lite | Effortless custom dashboards, admin themes and pages" v. 3.3.094 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 314 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin89,233 lines of code in 432 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript3628,3659,68862,005
JSON6007,832
Sass93521316,895
PO File32,5984,2296,656
PHP401,2952,2045,833
CSS100510
SVG2002

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity29.62
▷ Minimum class complexity1.00
▷ Maximum class complexity145.00
Average method complexity4.66
▷ Minimum method complexity1.00
▷ Maximum method complexity50.00
Code structure
Namespaces9
Interfaces0
Traits0
Classes34
▷ Abstract classes00.00%
▷ Concrete classes34100.00%
▷ Final classes00.00%
Methods268
▷ Static methods14754.85%
▷ Public methods21580.22%
▷ Protected methods00.00%
▷ Private methods5319.78%
Functions26
▷ Named functions00.00%
▷ Anonymous functions26100.00%
Constants11
▷ Global constants11100.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 images were found in this plugin