84% ele-blog

Code Review | Eleblog - Elementor Blog And Magazine Addons

WordPress plugin Eleblog - Elementor Blog And Magazine Addons scored84%from 54 tests.

About plugin

  • Plugin page: ele-blog
  • Plugin version: 1.8
  • PHP compatiblity: 5.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.1-6.3.1
  • WordPress version: 6.3.1
  • First release: Apr 16, 2021
  • Latest release: Sep 20, 2023
  • Number of updates: 92
  • Update frequency: every 9.7 days
  • Top authors: smarettheme (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

3,000+ active /24,750 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 gracefully, with no errors

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

Server-side resources used by Eleblog - Elementor Blog And Magazine Addons
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.81 ▼2.24
Dashboard /wp-admin3.33 ▼0.0248.12 ▼15.90
Posts /wp-admin/edit.php3.44 ▲0.0946.59 ▼5.84
Add New Post /wp-admin/post-new.php5.91 ▲0.0283.92 ▼19.65
Media Library /wp-admin/upload.php3.25 ▲0.0241.91 ▲4.71

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Eleblog - Elementor Blog And Magazine Addons
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,949 ▲18813.58 ▼1.1511.10 ▲9.4553.52 ▲10.39
Dashboard /wp-admin2,227 ▲555.56 ▼0.1087.43 ▼14.6642.64 ▲0.07
Posts /wp-admin/edit.php2,132 ▲292.16 ▲0.1834.97 ▼4.7935.52 ▼0.38
Add New Post /wp-admin/post-new.php1,551 ▲2323.16 ▲0.21680.28 ▲14.2258.37 ▼8.49
Media Library /wp-admin/upload.php1,435 ▲354.22 ▲0.03103.55 ▲2.7752.25 ▲6.88

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
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • eleblog_active_date
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-post-slider.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-grid-view.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ele-blog/inc/class-ele-blog-init.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-what-is-new.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-profile-widget.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-post-selector-two.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-category-image.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-post-selector.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-video-grid.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-blog/elementor/widgets/class-ele-blog-style-ads.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: elementor post slider, elementor magazine, post grid, post carousel

ele-blog/ele-blog.php 92% from 13 tests

"Eleblog - Elementor Blog And Magazine Addons" version 1.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 158 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected15,192 lines of code in 40 files:
LanguageFilesBlank linesComment linesLines of code
SVG30129,026
PHP261,3701,3676,090
JavaScript4171555
CSS721021

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity7.52
▷ Minimum class complexity1.00
▷ Maximum class complexity33.00
Average method complexity2.02
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes23
▷ Abstract classes00.00%
▷ Concrete classes23100.00%
▷ Final classes14.35%
Methods147
▷ Static methods32.04%
▷ Public methods10772.79%
▷ Protected methods3825.85%
▷ Private methods21.36%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants770.00%
▷ Class constants330.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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