84% rife-elementor-extensions

Code Review | Rife Elementor Extensions & Templates

WordPress plugin Rife Elementor Extensions & Templates scored84%from 54 tests.

About plugin

  • Plugin page: rife-elementor-ex...
  • Plugin version: 1.2.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: Jul 28, 2018
  • Latest release: Sep 4, 2023
  • Number of updates: 22
  • Update frequency: every 84.7 days
  • Top authors: apollo13themes (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

30,000+ active /361,163 total downloads

Benchmarks

Plugin footprint 83% 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.01MB] [CPU: ▼3.92ms] Passed 4 tests

Server-side resources used by Rife Elementor Extensions & Templates
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0241.86 ▼1.14
Dashboard /wp-admin3.33 ▼0.0155.00 ▼8.17
Posts /wp-admin/edit.php3.38 ▲0.0251.70 ▲2.20
Add New Post /wp-admin/post-new.php5.93 ▲0.0497.63 ▼7.44
Media Library /wp-admin/upload.php3.25 ▲0.0241.44 ▲1.07
Rife Elementor Extensions & Templates /wp-admin/admin.php?page=rife-templates3.2235.78

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Rife Elementor Extensions & Templates
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.26 ▼0.754.89 ▲3.1344.47 ▲2.25
Dashboard /wp-admin2,221 ▲184.88 ▲0.02125.67 ▲18.5943.86 ▲1.15
Posts /wp-admin/edit.php2,100 ▼32.02 ▲0.0537.47 ▼1.3133.69 ▼0.65
Add New Post /wp-admin/post-new.php1,545 ▲1323.22 ▼0.15652.10 ▲16.8061.40 ▼2.41
Media Library /wp-admin/upload.php1,403 ▲34.23 ▲0.03112.53 ▲1.6950.18 ▲1.27
Rife Elementor Extensions & Templates /wp-admin/admin.php?page=rife-templates7532.0629.2130.17

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rife-elementor-extensions/rife-elementor-extensions.php:25

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

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: elementor addons, elementor widgets, writing effect, drag-and-drop, rife...

rife-elementor-extensions/rife-elementor-extensions.php 92% from 13 tests

This is the main PHP file of "Rife Elementor Extensions & Templates" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 151 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,258 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP7189546711
JavaScript4127172431
CSS1216111
JSON5005

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity7.17
▷ Minimum class complexity1.00
▷ Maximum class complexity23.00
Average method complexity1.95
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes116.67%
Methods39
▷ Static methods410.26%
▷ Public methods3076.92%
▷ Protected methods410.26%
▷ Private methods512.82%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants685.71%
▷ Class constants114.29%
▷ Public constants1100.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
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/instructions/elementor-add-templates.png7.29KB4.14KB▼ 43.22%
assets/images/instructions/elementor-insert-templates.png34.36KB15.71KB▼ 54.27%