84% anywhere-elementor

Code Review | AnyWhere Elementor

WordPress plugin AnyWhere Elementor scored84%from 54 tests.

About plugin

  • Plugin page: anywhere-elementor
  • Plugin version: 1.2.9
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Nov 17, 2016
  • Latest release: Aug 1, 2023
  • Number of updates: 43
  • Update frequency: every 56.8 days
  • Top authors: wpvibes (74.42%)webtechstreet (27.91%)

Code review

54 tests

User reviews

98 reviews

Install metrics

90,000+ active /981,797 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼5.50ms] Passed 4 tests

Analyzing server-side resources used by AnyWhere Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0742.54 ▼0.01
Dashboard /wp-admin3.37 ▲0.0648.95 ▼2.81
Posts /wp-admin/edit.php3.48 ▲0.1246.40 ▼4.08
Add New Post /wp-admin/post-new.php5.95 ▲0.0689.20 ▼14.39
Media Library /wp-admin/upload.php3.29 ▲0.0636.66 ▼0.72
Add New /wp-admin/post-new.php?post_type=ae_global_templates3.4149.46
All AE Templates /wp-admin/edit.php?post_type=ae_global_templates3.3438.02

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

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

Browser metrics Passed 4 tests

AnyWhere Elementor: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲3514.35 ▲0.171.70 ▼0.0644.81 ▼1.20
Dashboard /wp-admin2,225 ▲485.51 ▼0.1687.59 ▼5.7140.09 ▼0.02
Posts /wp-admin/edit.php2,124 ▲241.96 ▼0.0635.05 ▼2.0835.11 ▼2.14
Add New Post /wp-admin/post-new.php1,549 ▲2323.58 ▲0.29675.20 ▼24.2655.95 ▼13.33
Media Library /wp-admin/upload.php1,427 ▲274.17 ▼0.0295.28 ▼8.1742.99 ▼2.93
Add New /wp-admin/post-new.php?post_type=ae_global_templates2,2247.62175.7663.46
All AE Templates /wp-admin/edit.php?post_type=ae_global_templates1,0991.9736.0631.67

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 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 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
  • 4× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WPV_AE\\add_action() in wp-content/plugins/anywhere-elementor/includes/post-type.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WPV_AE\\add_shortcode() in wp-content/plugins/anywhere-elementor/includes/shortcode.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WPV_AE\\add_action() in wp-content/plugins/anywhere-elementor/includes/meta-box.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WPV_AE\\add_action() in wp-content/plugins/anywhere-elementor/includes/bootstrap.php:19

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

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: elementor addon, page-builder, elementor

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

The primary PHP file in "AnyWhere Elementor" version 1.2.9 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Text Domain: The text domain should only use lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin173 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP56913173

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity3.50
▷ Minimum class complexity2.00
▷ Maximum class complexity6.00
Average method complexity1.56
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods18
▷ Static methods422.22%
▷ Public methods1372.22%
▷ Protected methods00.00%
▷ Private methods527.78%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
There were not PNG files found in your plugin