84% our-team-widget-for-elementor

Code Review | Our Team Widget for Elementor

WordPress plugin Our Team Widget for Elementor scored84%from 54 tests.

About plugin

  • Plugin page: our-team-widget-f...
  • Plugin version: 1.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.2.2
  • WordPress version: 6.3.1
  • First release: Apr 14, 2020
  • Latest release: Jun 8, 2023
  • Number of updates: 8
  • Update frequency: every 143.8 days
  • Top authors: shaikhaezaz80 (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /1,639 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.84ms] Passed 4 tests

A check of server-side resources used by Our Team Widget for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.75 ▲3.58
Dashboard /wp-admin3.34 ▼0.0145.83 ▼14.33
Posts /wp-admin/edit.php3.39 ▲0.0349.12 ▼0.04
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.88 ▼3.96
Media Library /wp-admin/upload.php3.26 ▲0.0333.10 ▼5.04

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Our Team Widget for Elementor
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲8213.34 ▼1.054.05 ▲2.3843.83 ▼2.12
Dashboard /wp-admin2,223 ▲344.87 ▼0.0199.86 ▼20.5339.12 ▼3.45
Posts /wp-admin/edit.php2,105 ▲162.00 ▼0.0540.86 ▼3.9636.28 ▼2.64
Add New Post /wp-admin/post-new.php1,554 ▲2618.42 ▲0.33585.88 ▼52.7451.13 ▼10.01
Media Library /wp-admin/upload.php1,405 ▲174.19 ▼0.0096.54 ▼7.0040.96 ▼3.80

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

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
Everything seems fine, however this is by no means 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 fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Elementor\\add_action() in wp-content/plugins/our-team-widget-for-elementor/includes/fdelementor-loader.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes: You can look at the official readme.txt

our-team-widget-for-elementor/our-team-widget-for-elementor.php 92% from 13 tests

The main PHP script in "Our Team Widget for Elementor" version 1.2 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin337 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP464164305
CSS15032

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity9.50
▷ Minimum class complexity2.00
▷ Maximum class complexity17.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods17
▷ Static methods15.88%
▷ Public methods1482.35%
▷ Protected methods317.65%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants240.00%
▷ Class constants360.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin