84% fd-elementor-imagebox

Code Review | Elementor ImageBox

WordPress plugin Elementor ImageBox scored84%from 54 tests.

About plugin

  • Plugin page: fd-elementor-imag...
  • Plugin version: 1.2.6
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.2.2
  • WordPress version: 6.3.1
  • First release: Dec 30, 2017
  • Latest release: Jun 8, 2023
  • Number of updates: 26
  • Update frequency: every 76.4 days
  • Top authors: flickdevs (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

500+ active /11,891 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.44ms] Passed 4 tests

A check of server-side resources used by Elementor ImageBox
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0241.21 ▲1.39
Dashboard /wp-admin3.33 ▲0.0348.31 ▼5.48
Posts /wp-admin/edit.php3.38 ▲0.0249.96 ▲0.68
Add New Post /wp-admin/post-new.php5.91 ▲0.0288.84 ▼6.33
Media Library /wp-admin/upload.php3.25 ▲0.0237.27 ▲2.42

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Elementor ImageBox
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲5514.47 ▲0.251.84 ▼0.1745.88 ▼1.04
Dashboard /wp-admin2,248 ▲455.90 ▼0.00110.60 ▼10.0440.53 ▼4.93
Posts /wp-admin/edit.php2,127 ▲272.15 ▲0.1640.50 ▲1.9738.74 ▲3.77
Add New Post /wp-admin/post-new.php1,564 ▲3823.11 ▲5.68623.89 ▼82.2762.66 ▼19.19
Media Library /wp-admin/upload.php1,424 ▲244.23 ▼0.04121.49 ▲11.2149.20 ▲0.21

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Elementor\\add_action() in wp-content/plugins/fd-elementor-imagebox/inc/elementor-helper.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were 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
No plugin tags provided

fd-elementor-imagebox/fd-elementor-imagebox.php 92% from 13 tests

The entry point to "Elementor ImageBox" version 1.2.6 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • 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 Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin675 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP39357602
CSS16073

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods450.00%
▷ Protected methods337.50%
▷ Private methods112.50%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
No PNG images were found in this plugin