83% exclusive-team-for-elementor

Code Review | Exclusive Team for Elementor

WordPress plugin Exclusive Team for Elementor scored83%from 54 tests.

About plugin

  • Plugin page: exclusive-team-fo...
  • Plugin version: 1.2.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.8.3
  • WordPress version: 6.3.1
  • First release: Jan 9, 2019
  • Latest release: Jan 19, 2022
  • Number of updates: 18
  • Update frequency: every 61.4 days
  • Top authors: devscred (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

1,000+ active /15,342 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.23MB] [CPU: ▼5.76ms] Passed 4 tests

An overview of server-side resources used by Exclusive Team for Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.68 ▲0.2237.68 ▼6.04
Dashboard /wp-admin3.58 ▲0.2747.08 ▼3.18
Posts /wp-admin/edit.php3.63 ▲0.2748.28 ▲1.99
Add New Post /wp-admin/post-new.php6.10 ▲0.2188.98 ▼15.82
Media Library /wp-admin/upload.php3.44 ▲0.2138.06 ▲3.21

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Exclusive Team for Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,910 ▲17514.05 ▼0.325.11 ▲2.7437.14 ▼10.58
Dashboard /wp-admin2,237 ▲494.99 ▲0.10108.98 ▲1.6040.15 ▼2.94
Posts /wp-admin/edit.php2,119 ▲272.17 ▲0.1237.28 ▼1.3533.98 ▲2.88
Add New Post /wp-admin/post-new.php1,557 ▲1523.21 ▲4.77627.65 ▲8.6062.17 ▲9.50
Media Library /wp-admin/upload.php1,413 ▲314.27 ▲0.1398.72 ▲2.5043.29 ▲0.11

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
  • 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/exclusive-team-for-elementor/elements/team-member/team-member.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/exclusive-team-for-elementor/elements/team-carousel/team-carousel.php:4

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

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 14 tag instead of maximum 10
The official readme.txt might help

exclusive-team-for-elementor/exclusive-team-elementor.php 85% from 13 tests

The main PHP file in "Exclusive Team for Elementor" ver. 1.2.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and 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
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("exclusive-team-for-elementor.php" instead of "exclusive-team-elementor.php")

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
Good job! No executable or dangerous file extensions detected3,067 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP85336392,382
CSS411613501
Markdown1560138
JavaScript314345
SVG1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity27.71
▷ Minimum class complexity5.00
▷ Maximum class complexity65.00
Average method complexity2.76
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods106
▷ Static methods21.89%
▷ Public methods6561.32%
▷ Protected methods1211.32%
▷ Private methods2927.36%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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