94% wn-elementor-glassy

Code Review | WN Elementor Glassy Columns

WordPress plugin WN Elementor Glassy Columns scored 94% from 54 tests.

About plugin

  • Plugin page: wn-elementor-glassy
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.6
  • WordPress version: 5.8.1
  • First release: Feb 22, 2021
  • Latest release: Feb 22, 2021
  • Number of updates: 4
  • Update frequency: every 5.0 days
  • Top authors: yaidier (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active / 2,688 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by WN Elementor Glassy Columns
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1236.69 ▲13.30
Dashboard /wp-admin3.07 ▲0.0146.04 ▼2.62
Posts /wp-admin/edit.php3.12 ▲0.0150.10 ▲3.93
Add New Post /wp-admin/post-new.php5.43 ▲0.0097.61 ▼566.94
Media Library /wp-admin/upload.php3.01 ▲0.0036.21 ▼11.63

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for WN Elementor Glassy Columns
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.86 ▲0.328.98 ▼0.5446.26 ▼3.79
Dashboard /wp-admin2,973 ▲405.88 ▼0.04139.59 ▼11.15107.92 ▼8.99
Posts /wp-admin/edit.php2,739 ▼02.68 ▼0.0070.66 ▼0.8387.83 ▼0.00
Add New Post /wp-admin/post-new.php1,683 ▲18518.76 ▼0.05385.91 ▲2.83109.29 ▼6.72
Media Library /wp-admin/upload.php1,807 ▼05.02 ▼0.00145.88 ▼16.77130.66 ▼0.35

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wn-elementor-glassy/assets/elementor-widget/wn_elementor_glassy.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wn-elementor-glassy/assets/elementor-widget/my-widgets.php:33

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 93% from 29 tests

readme.txt 94% from 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
These attributes need to be fixed:
  • Tags: There are too many tags (11 tag instead of maximum 10)
You can look at the official readme.txt

wn-elementor-glassy/wn-elementor-glassy.php 92% from 13 tests

The entry point to "WN Elementor Glassy Columns" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 208 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin243 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP46039171
CSS40048
SVG20024

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity1.33
▷ Minimum class complexity1.00
▷ Maximum class complexity2.00
Average method complexity1.07
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods15
▷ Static methods16.67%
▷ Public methods1173.33%
▷ Protected methods426.67%
▷ Private methods00.00%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin