84% team-members-for-elementor

Code Review | Team Members for Elementor Page Builder

WordPress plugin Team Members for Elementor Page Builder scored 84% from 54 tests.

About plugin

  • Plugin page: team-members-for-...
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.3.2
  • WordPress version: 6.3.1
  • First release: Mar 7, 2018
  • Latest release: May 16, 2022
  • Number of updates: 18
  • Update frequency: every 85.1 days
  • Top authors: manikmist09 (66.67%)manzurahammed (38.89%)

Code review

54 tests

User reviews

3 reviews

Install metrics

300+ active / 6,157 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.04MB] [CPU: ▼2.85ms] Passed 4 tests

Analyzing server-side resources used by Team Members for Elementor Page Builder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0542.29 ▼9.36
Dashboard /wp-admin3.34 ▲0.0445.59 ▼3.63
Posts /wp-admin/edit.php3.46 ▲0.1050.31 ▲0.20
Add New Post /wp-admin/post-new.php5.92 ▲0.0498.70 ▲1.39
Media Library /wp-admin/upload.php3.27 ▲0.0434.92 ▲4.67

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Team Members for Elementor Page Builder
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼1.101.82 ▼0.0141.60 ▼3.35
Dashboard /wp-admin2,206 ▲245.85 ▲0.03105.79 ▼4.3541.51 ▼1.61
Posts /wp-admin/edit.php2,092 ▲32.01 ▲0.0038.46 ▼1.7637.25 ▲0.06
Add New Post /wp-admin/post-new.php1,530 ▲1023.37 ▲0.25657.23 ▲38.4765.89 ▲13.11
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.03101.31 ▼4.4241.66 ▼2.03

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

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)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/team-members-for-elementor/includes/widgets/ever-team-members.php:13

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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Donate link: Invalid URI ("")
You can take inspiration from this readme.txt

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

The primary PHP file in "Team Members for Elementor Page Builder" version 1.0.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin759 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP5141177683
Sass1153875
CSS1001
JavaScript1070

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity5.75
▷ Minimum class complexity3.00
▷ Maximum class complexity8.00
Average method complexity1.95
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods20
▷ Static methods210.00%
▷ Public methods1470.00%
▷ Protected methods210.00%
▷ Private methods420.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin