83% plexx-elementor-extension

Code Review | Plexx Elementor Extension

WordPress plugin Plexx Elementor Extension scored 83% from 54 tests.

About plugin

  • Plugin page: plexx-elementor-e...
  • Plugin version: 1.3.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Sep 13, 2020
  • Latest release: Mar 20, 2023
  • Number of updates: 22
  • Update frequency: every 41.9 days
  • Top authors: themeworm (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active / 3,597 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
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Plexx Elementor Extension
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0241.37 ▼1.30
Dashboard /wp-admin3.32 ▲0.0248.03 ▼4.06
Posts /wp-admin/edit.php3.37 ▲0.0149.84 ▲1.26
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.11 ▼13.77
Media Library /wp-admin/upload.php3.24 ▲0.0136.72 ▲5.90
Plexx Elementor /wp-admin/options-general.php?page=plexx-elementor-extension3.2132.09

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Plexx Elementor Extension
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.57 ▼0.801.77 ▼0.0843.58 ▼0.98
Dashboard /wp-admin2,210 ▲224.88 ▼0.01106.23 ▼8.2841.24 ▼6.56
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0038.70 ▲0.6234.65 ▲2.31
Add New Post /wp-admin/post-new.php1,522 ▲823.44 ▲5.90682.85 ▲10.8853.83 ▼2.27
Media Library /wp-admin/upload.php1,395 ▲44.19 ▼0.0695.53 ▼5.0341.76 ▼5.33
Plexx Elementor /wp-admin/options-general.php?page=plexx-elementor-extension8032.0526.9633.68

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 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 everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/plexx-elementor-extension/includes/page-settings.php:224

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: plexx, widget, elementor, page builder, themeforest

plexx-elementor-extension/elementor-plexx.php 85% from 13 tests

The main file in "Plexx Elementor Extension" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("plexx-elementor-extension.php" instead of "elementor-plexx.php")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin4,172 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP121,0062623,941
CSS23615195
SVG10136
JavaScript1010

PHP code 50% from 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
  • Method cyclomatic complexity has to be reduced to less than 100 (currently 107)
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity28.25
▷ Minimum class complexity1.00
▷ Maximum class complexity131.00
Average method complexity3.81
▷ Minimum method complexity1.00
▷ Maximum method complexity107.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes18.33%
Methods117
▷ Static methods10.85%
▷ Public methods7967.52%
▷ Protected methods3630.77%
▷ Private methods21.71%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants233.33%
▷ Class constants466.67%
▷ Public constants4100.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