90% elementor-beta

Code Review | Elementor Beta (Developer Edition)

WordPress plugin Elementor Beta (Developer Edition) scored90%from 54 tests.

About plugin

  • Plugin page: elementor-beta
  • Plugin version: 1.1.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.4
  • WordPress version: 6.3.1
  • First release: Dec 17, 2020
  • Latest release: Nov 1, 2023
  • Number of updates: 16
  • Update frequency: every 65.6 days
  • Top authors: KingYes (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

100,000+ active /826,238 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
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼7.47ms] Passed 4 tests

An overview of server-side resources used by Elementor Beta (Developer Edition)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0239.21 ▼4.51
Dashboard /wp-admin3.34 ▲0.0350.22 ▼3.44
Posts /wp-admin/edit.php3.39 ▲0.0344.82 ▼4.86
Add New Post /wp-admin/post-new.php5.92 ▲0.0381.23 ▼16.89
Media Library /wp-admin/upload.php3.26 ▲0.0334.75 ▼3.61

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Elementor Beta (Developer Edition)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4314.28 ▼0.451.79 ▲0.0544.18 ▼1.65
Dashboard /wp-admin2,213 ▲395.62 ▲0.0487.10 ▼13.8139.36 ▼5.09
Posts /wp-admin/edit.php2,116 ▲162.15 ▲0.0534.48 ▼2.0635.88 ▲0.85
Add New Post /wp-admin/post-new.php1,541 ▲1323.31 ▲0.25622.65 ▼48.1952.54 ▲3.14
Media Library /wp-admin/upload.php1,415 ▲154.20 ▲0.0196.94 ▼6.6745.24 ▲1.72

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 7 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • elementor_enable_inspector
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: landing page, bleeding edge, beta, visual editor, elementor...

elementor-beta/elementor-beta.php 92% from 13 tests

This is the main PHP file of "Elementor Beta (Developer Edition)" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 326 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 plugin1,127 lines of code in 26 files:
LanguageFilesBlank linesComment linesLines of code
PHP242663631,061
CSS19050
JavaScript13016

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity5.31
▷ Minimum class complexity2.00
▷ Maximum class complexity15.00
Average method complexity1.88
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes13
▷ Abstract classes215.38%
▷ Concrete classes1184.62%
▷ Final classes00.00%
Methods60
▷ Static methods915.00%
▷ Public methods4066.67%
▷ Protected methods711.67%
▷ Private methods1321.67%
Functions13
▷ Named functions00.00%
▷ Anonymous functions13100.00%
Constants12
▷ Global constants650.00%
▷ Class constants650.00%
▷ Public constants6100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin