10% flexible-elementor-panel

Code Review | Flexible Elementor Panel

WordPress plugin Flexible Elementor Panel scored10%from 54 tests.

About plugin

  • Plugin page: flexible-elemento...
  • Plugin version: 2.3.9
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.1.1
  • WordPress version: 6.3.1
  • First release: Jan 15, 2018
  • Latest release: Feb 3, 2023
  • Number of updates: 138
  • Update frequency: every 13.4 days
  • Top authors: webmatpro (71.01%)alexshram (29.71%)

Code review

54 tests

User reviews

70 reviews

Install metrics

30,000+ active /390,030 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Warning in wp-content/plugins/flexible-elementor-panel/flexible-elementor-panel.php+261
    Use of undefined constant ELEMENTOR_VERSION - assumed 'ELEMENTOR_VERSION' (this will throw an Error in a future version of PHP)

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

A check of server-side resources used by Flexible Elementor Panel
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0144.67 ▲5.69
Dashboard /wp-admin3.31 ▲0.0151.58 ▼3.57
Posts /wp-admin/edit.php3.36 ▲0.0145.26 ▼7.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0185.77 ▼12.97
Media Library /wp-admin/upload.php3.24 ▲0.0130.41 ▼6.72

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Flexible Elementor Panel
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲2014.21 ▼0.421.79 ▼0.1843.25 ▲1.16
Dashboard /wp-admin2,212 ▲345.65 ▲0.0499.13 ▼15.3644.73 ▼0.68
Posts /wp-admin/edit.php2,117 ▲172.04 ▲0.0335.38 ▼5.7735.00 ▼1.67
Add New Post /wp-admin/post-new.php1,540 ▲1123.03 ▼0.59686.23 ▼8.5755.09 ▲3.93
Media Library /wp-admin/upload.php1,417 ▲234.21 ▲0.0398.76 ▼2.2539.66 ▼5.16

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

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: elementor, fep, elementor addons

flexible-elementor-panel/flexible-elementor-panel.php 92% from 13 tests

The main PHP script in "Flexible Elementor Panel" version 2.3.9 is automatically included on every request by WordPress
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)

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 detected3,891 lines of code in 28 files:
LanguageFilesBlank linesComment linesLines of code
PHP125565201,469
JavaScript5452210893
PO File7345562849
CSS4161161680

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity14.36
▷ Minimum class complexity1.00
▷ Maximum class complexity72.00
Average method complexity2.71
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes19.09%
Methods86
▷ Static methods1416.28%
▷ Public methods7991.86%
▷ Protected methods33.49%
▷ Private methods44.65%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants9
▷ Global constants555.56%
▷ Class constants444.44%
▷ Public constants4100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/assets/images/review-fep-thanks.png44.81KB12.62KB▼ 71.84%