90% blog-page-editor-for-elementor

Code Review | Blog Page Editor For Elementor

WordPress plugin Blog Page Editor For Elementor scored90%from 54 tests.

About plugin

  • Plugin page: blog-page-editor-...
  • Plugin version: 0.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4
  • WordPress version: 6.3.1
  • First release: Feb 16, 2022
  • Latest release: Nov 1, 2023
  • Number of updates: 13
  • Update frequency: every 47.9 days
  • Top authors: giuse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,276 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.01MB] [CPU: ▼8.41ms] Passed 4 tests

A check of server-side resources used by Blog Page Editor For Elementor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.13 ▼3.76
Dashboard /wp-admin3.31 ▼0.0449.54 ▼15.37
Posts /wp-admin/edit.php3.36 ▲0.0045.82 ▼2.85
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.89 ▼11.65
Media Library /wp-admin/upload.php3.23 ▲0.0036.22 ▲1.92

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Blog Page Editor For Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲1814.22 ▼0.331.87 ▼0.0543.39 ▼1.83
Dashboard /wp-admin2,198 ▲185.56 ▼0.0099.46 ▲6.4542.17 ▼0.64
Posts /wp-admin/edit.php2,100 ▼01.97 ▲0.0035.64 ▼1.4732.34 ▼4.20
Add New Post /wp-admin/post-new.php1,531 ▲523.27 ▲0.08655.61 ▼31.9557.08 ▲6.25
Media Library /wp-admin/upload.php1,403 ▲94.25 ▲0.05103.73 ▲0.5943.85 ▲0.13

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
The SRP test was a success

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

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: elementor, editor, add-on

blog-page-editor-for-elementor/blog-page-editor-for-elementor.php 92% from 13 tests

"Blog Page Editor For Elementor" version 0.0.3'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:
  • Domain Path: The domain path points to an invalid folder, "/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected6 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP21206

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code2.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected