83% columns-and-sections-link-for-elementor

Code Review | Sections and Columns Link for Elementor

WordPress plugin Sections and Columns Link for Elementor scored83%from 54 tests.

About plugin

  • Plugin page: columns-and-secti...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0.1
  • WordPress version: 6.3.1
  • First release: Aug 19, 2022
  • Latest release: Aug 20, 2022
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: gualtio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /971 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

Server-side resources used by Sections and Columns Link for Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0246.11 ▲1.19
Dashboard /wp-admin3.32 ▲0.0153.42 ▼3.14
Posts /wp-admin/edit.php3.37 ▲0.0149.12 ▲0.44
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.42 ▼11.43
Media Library /wp-admin/upload.php3.24 ▲0.0138.72 ▲3.24

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Sections and Columns Link for Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,872 ▲11113.36 ▼1.389.21 ▲7.5344.78 ▼5.08
Dashboard /wp-admin2,195 ▲155.62 ▲0.0494.16 ▲2.1943.36 ▲3.88
Posts /wp-admin/edit.php2,100 ▼32.03 ▲0.0434.66 ▼2.4635.85 ▼2.70
Add New Post /wp-admin/post-new.php1,526 ▼1123.62 ▲5.33673.84 ▲31.6463.45 ▲1.62
Media Library /wp-admin/upload.php1,400 ▼04.14 ▲0.0099.28 ▼0.7442.29 ▼5.30

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 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 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
Almost there! Just fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Undefined constant 'ECSL_PATH' in wp-content/plugins/columns-and-sections-link-for-elementor/inc/main_core.php:86
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/columns-and-sections-link-for-elementor/elementor-columns-and-sections-link.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: elementor addon, column link, elementor, section link, wordpress page builder...

columns-and-sections-link-for-elementor/elementor-columns-and-sections-link.php 77% from 13 tests

"Sections and Columns Link for Elementor" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("columns-and-sections-link-for-elementor.php" instead of "elementor-columns-and-sections-link.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Description: Please keep the plugin description shorter than 140 characters (currently 218 characters long)

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 plugin262 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP58325226
JavaScript25132
CSS2104

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity5.75
▷ Minimum class complexity1.00
▷ Maximum class complexity11.00
Average method complexity2.58
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods12
▷ Static methods216.67%
▷ Public methods1083.33%
▷ Protected methods00.00%
▷ Private methods216.67%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants583.33%
▷ Class constants116.67%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin