83% bloglentor-for-elementor

Code Review | BlogLentor - Blog Designer Pack for Elementor

WordPress plugin BlogLentor - Blog Designer Pack for Elementor scored83%from 54 tests.

About plugin

  • Plugin page: bloglentor-for-el...
  • Plugin version: 1.0.8
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.2
  • WordPress version: 6.3.1
  • First release: Aug 4, 2020
  • Latest release: Apr 2, 2023
  • Number of updates: 13
  • Update frequency: every 74.8 days
  • Top authors: pinkuchanda (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

5,000+ active /21,025 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
This plugin's installer ran successfully

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

A check of server-side resources used by BlogLentor - Blog Designer Pack for Elementor
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0749.58 ▲10.91
Dashboard /wp-admin3.38 ▲0.0351.40 ▼13.64
Posts /wp-admin/edit.php3.50 ▲0.1447.22 ▼1.01
Add New Post /wp-admin/post-new.php5.97 ▲0.0783.09 ▼16.99
Media Library /wp-admin/upload.php3.31 ▲0.0740.98 ▲2.48

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

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

Browser metrics Passed 4 tests

BlogLentor - Blog Designer Pack for Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.35 ▲0.001.83 ▲0.2843.23 ▲2.29
Dashboard /wp-admin2,200 ▲205.59 ▼0.0293.50 ▲7.3042.96 ▲3.37
Posts /wp-admin/edit.php2,108 ▲82.09 ▲0.0836.55 ▲1.9834.75 ▼3.28
Add New Post /wp-admin/post-new.php1,534 ▲823.19 ▼0.47662.94 ▼27.5556.73 ▲1.63
Media Library /wp-admin/upload.php1,408 ▲84.12 ▼0.09111.88 ▲5.9348.12 ▼0.13

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/bloglentor-for-elementor/bloglentor-for-elementor.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Requires php: Version format is invalid
The official readme.txt is a good inspiration

bloglentor-for-elementor/bloglentor-for-elementor.php 92% from 13 tests

"BlogLentor - Blog Designer Pack for Elementor" version 1.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 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 plugin10,450 lines of code in 55 files:
LanguageFilesBlank linesComment linesLines of code
PHP471,9537079,929
CSS4444273
Markdown1410128
JavaScript2170107
SVG11013

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity9.02
▷ Minimum class complexity1.00
▷ Maximum class complexity152.00
Average method complexity2.11
▷ Minimum method complexity1.00
▷ Maximum method complexity44.00
Code structure
Namespaces17
Interfaces0
Traits0
Classes45
▷ Abstract classes1226.67%
▷ Concrete classes3373.33%
▷ Final classes00.00%
Methods327
▷ Static methods113.36%
▷ Public methods26781.65%
▷ Protected methods5617.13%
▷ Private methods41.22%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants360.00%
▷ Class constants240.00%
▷ Public constants2100.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
No PNG images were found in this plugin