93% bloglentor-for-elementor

Code Review | BlogLentor - Blog Designer Pack for Elementor

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

About plugin

  • Plugin page: bloglentor-for-el...
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.8
  • WordPress version: 5.8.1
  • First release: Aug 4, 2020
  • Latest release: Jul 24, 2021
  • Number of updates: 10
  • Update frequency: every 35.5 days
  • Top authors: pinkuchanda (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

2,000+ active / 7,007 total downloads

Benchmarks

Plugin footprint Passed 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.07MB] [CPU: ▼147.39ms] 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 /2.91 ▲0.0734.02 ▼0.09
Dashboard /wp-admin3.13 ▲0.0835.70 ▼17.08
Posts /wp-admin/edit.php3.24 ▲0.1438.32 ▼7.15
Add New Post /wp-admin/post-new.php5.49 ▲0.0686.88 ▼565.23
Media Library /wp-admin/upload.php3.08 ▲0.0733.82 ▲2.15

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, no new options

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 /3,688 ▲9215.75 ▲0.148.20 ▼0.4444.42 ▼26.16
Dashboard /wp-admin2,980 ▲495.91 ▼0.02131.94 ▼23.49109.34 ▼15.26
Posts /wp-admin/edit.php2,749 ▲102.69 ▲0.0062.89 ▼2.6489.68 ▼1.41
Add New Post /wp-admin/post-new.php1,684 ▲18418.83 ▲0.28356.55 ▼6.32103.00 ▼4.54
Media Library /wp-admin/upload.php1,817 ▲105.01 ▲0.02145.16 ▼2.91118.23 ▼2.96

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

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:
  • Requires php: Version format is invalid
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
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.6'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,460 lines of code in 55 files:
LanguageFilesBlank linesComment linesLines of code
PHP471,9547109,939
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