84% elementify-visual-widgets

Code Review | Elementify Visual Widgets

WordPress plugin Elementify Visual Widgets scored84%from 54 tests.

About plugin

  • Plugin page: elementify-visual...
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 16, 2021
  • Latest release: Jul 22, 2022
  • Number of updates: 6
  • Update frequency: every 67.2 days
  • Top authors: Astoundify (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /4,396 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.00MB] [CPU: ▼6.53ms] Passed 4 tests

This is a short check of server-side resources used by Elementify Visual Widgets
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.34 ▼2.84
Dashboard /wp-admin3.31 ▲0.0149.09 ▼6.41
Posts /wp-admin/edit.php3.36 ▲0.0048.87 ▼2.38
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.67 ▼14.48
Media Library /wp-admin/upload.php3.23 ▲0.0045.15 ▲8.35

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Elementify Visual Widgets
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲2913.38 ▼1.211.86 ▼0.2037.95 ▼5.51
Dashboard /wp-admin2,221 ▲204.85 ▼0.05107.03 ▼4.6142.33 ▼1.06
Posts /wp-admin/edit.php2,097 ▼32.01 ▼0.0339.78 ▼1.7937.50 ▼0.09
Add New Post /wp-admin/post-new.php1,550 ▲423.33 ▼0.23662.76 ▲46.5858.36 ▼7.95
Media Library /wp-admin/upload.php1,403 ▲64.25 ▲0.02101.55 ▲2.8945.61 ▼4.06

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

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)
Even though everything seems fine, this is not an exhaustive test

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 take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/elementify-visual-widgets/includes/elementor-elements/features-output.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Tested up to: Version format is invalid
  • Requires at least: Version format is invalid
The official readme.txt is a good inspiration

elementify-visual-widgets/elementify-visual-widgets.php Passed 13 tests

Analyzing the main PHP file in "Elementify Visual Widgets" version 1.0.2
101 characters long description:
The Elementify Visual Widgets plugin you install after Elementor! Packed with stunning free elements.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin294 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP34382294

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods466.67%
▷ Protected methods233.33%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/banner-772x250.png60.68KB22.01KB▼ 63.72%