77% user-frontend-for-elementor

Code Review | User Frontend for Elementor - Frontend Admin Panel, Profile, Login, Registration & Content Submission for Elementor

WordPress plugin User Frontend for Elementor - Frontend Admin Panel, Profile, Login, Registration & Content Submission for Elementor scored77%from 54 tests.

About plugin

  • Plugin page: user-frontend-for...
  • Plugin version: 2.0.0.5
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.2.2
  • WordPress version: 6.3.1
  • First release: Nov 29, 2019
  • Latest release: Jun 6, 2023
  • Number of updates: 35
  • Update frequency: every 36.9 days
  • Top authors: mithublue (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

100+ active /9,970 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.69MB] [CPU: ▲5.18ms] 75% from 4 tests

An overview of server-side resources used by User Frontend for Elementor - Frontend Admin Panel, Profile, Login, Registration & Content Submission for Elementor
Please take the time to fix the following items
  • CPU: Total CPU usage must kept under 500.00ms (currently 975.52ms on /wp-admin/edit.php?post_type=fael_form&page=fael-help)
PageMemory (MB)CPU Time (ms)
Home /4.16 ▲0.7050.35 ▲9.47
Dashboard /wp-admin4.03 ▲0.7253.59 ▲2.11
Posts /wp-admin/edit.php4.02 ▲0.671,337.71 ▲1,292.28
Add New Post /wp-admin/post-new.php6.60 ▲0.7190.83 ▲3.74
Media Library /wp-admin/upload.php3.92 ▲0.7040.37 ▲5.39
Settings /wp-admin/edit.php?post_type=fael_form&page=fael-settings3.93996.00
News /wp-admin/edit.php?post_type=fael_form&page=user-frontend-for-elementor/news.php3.93996.52
Go Pro /wp-admin/edit.php?post_type=fael_form&page=fael-go-pro3.931,192.40
All Forms /wp-admin/edit.php?post_type=fael_form4.00988.48
Help /wp-admin/edit.php?post_type=fael_form&page=fael-help3.93975.52
Add New /wp-admin/post-new.php?post_type=fael_form4.0556.13

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 80 new files
Database: no new tables, 10 new options
New WordPress options
elementor_cpt_support
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments
fael_frontend_posting
fael_general
widget_theysaidso_widget
fael_login_reg

Browser metrics Passed 4 tests

An overview of browser requirements for User Frontend for Elementor - Frontend Admin Panel, Profile, Login, Registration & Content Submission for Elementor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,397 ▲66217.36 ▲2.9833.45 ▲31.6535.22 ▼9.28
Dashboard /wp-admin2,460 ▲2696.64 ▲1.74125.29 ▲18.6196.59 ▲50.26
Posts /wp-admin/edit.php2,381 ▲2953.74 ▲1.7149.92 ▲13.4468.18 ▲31.69
Add New Post /wp-admin/post-new.php1,633 ▲10023.32 ▲0.18645.66 ▼5.8636.65 ▼18.26
Media Library /wp-admin/upload.php1,520 ▲1354.31 ▲0.1890.70 ▼6.8493.77 ▲50.66
Settings /wp-admin/edit.php?post_type=fael_form&page=fael-settings1,3583.4549.2074.35
News /wp-admin/edit.php?post_type=fael_form&page=user-frontend-for-elementor/news.php1,0653.2638.6372.30
Go Pro /wp-admin/edit.php?post_type=fael_form&page=fael-go-pro1,1773.2940.1868.43
All Forms /wp-admin/edit.php?post_type=fael_form1,3543.5947.3374.83
Help /wp-admin/edit.php?post_type=fael_form&page=fael-help1,1763.2638.5686.63
Add New /wp-admin/post-new.php?post_type=fael_form2,2287.86163.06133.47

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 10 options in the database
    • db_upgraded
    • fael_login_reg
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • fael_general
    • fael_frontend_posting
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • elementor_cpt_support

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=fael_form&page=fael-help
    • > Notice in wp-content/plugins/user-frontend-for-elementor/news.php+96
    Trying to access array offset on value of type null

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 items
  • 46× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/textarea/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/user-list/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/number/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/email/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/menu/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/checkbox/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/radio-group/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/widgets/submit/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/promo-widgets/settings-field/index.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'FAEL_Widget_Base' not found in wp-content/plugins/user-frontend-for-elementor/promo-widgets/post-excerpt/index.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

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
These attributes need your attention:
  • Screenshots: These screenshots lack descriptions #10, #11, #12, #13, #14, #6, #7, #8, #9 in user-frontend-for-elementor/assets to your readme.txt
  • Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
You can look at the official readme.txt

user-frontend-for-elementor/ufel.php 85% from 13 tests

Analyzing the main PHP file in "User Frontend for Elementor - Frontend Admin Panel, Profile, Login, Registration & Content Submission for Elementor" version 2.0.0.5
It is important to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("user-frontend-for-elementor.php" instead of "ufel.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
Success! There were no dangerous files found in this plugin32,730 lines of code in 74 files:
LanguageFilesBlank linesComment linesLines of code
JSON30011,656
JavaScript61,6252,23711,089
PHP571,3393,0028,170
PO File26361,1561,564
Markdown1670147
CSS30076
LESS20028

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
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 complexity12.00
▷ Minimum class complexity1.00
▷ Maximum class complexity135.00
Average method complexity2.58
▷ Minimum method complexity1.00
▷ Maximum method complexity52.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes51
▷ Abstract classes00.00%
▷ Concrete classes51100.00%
▷ Final classes47.84%
Methods355
▷ Static methods226.20%
▷ Public methods28780.85%
▷ Protected methods6819.15%
▷ Private methods00.00%
Functions43
▷ Named functions2558.14%
▷ Anonymous functions1841.86%
Constants12
▷ Global constants975.00%
▷ Class constants325.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin