78% meet-my-team

Code Review | Meet My Team

WordPress plugin Meet My Team scored 78% from 54 tests.

About plugin

  • Plugin page: meet-my-team
  • Plugin version: 2.0.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Mar 6, 2014
  • Latest release: Nov 4, 2022
  • Number of updates: 35
  • Update frequency: every 90.5 days
  • Top authors: fullworks (57.14%)Buooy (45.71%)

Code review

54 tests

User reviews

12 reviews

Install metrics

600+ active / 26,501 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.35MB] [CPU: ▲0.41ms] Passed 4 tests

Server-side resources used by Meet My Team
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0437.70 ▼2.50
Dashboard /wp-admin3.80 ▲0.5051.67 ▲5.72
Posts /wp-admin/edit.php3.86 ▲0.5052.30 ▲4.92
Add New Post /wp-admin/post-new.php6.32 ▲0.4496.05 ▼5.23
Media Library /wp-admin/upload.php3.64 ▲0.4137.43 ▲4.46
All Members /wp-admin/edit.php?post_type=team_members3.7847.16
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=team_members3.7345.34
Add New /wp-admin/post-new.php?post_type=team_members3.9957.35
Help this plugin /wp-admin/edit.php?post_type=team_members&page=meet-my-team-settings3.6442.34

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 141 new files
Database: no new tables, 9 new options
New WordPress options
meet-my-team_donate
widget_recent-posts
db_upgraded
widget_recent-comments
theysaidso_admin_options
meet-my-team_review
widget_theysaidso_widget
can_compress_scripts
category_children

Browser metrics Passed 4 tests

This is an overview of browser requirements for Meet My Team
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,082 ▲34715.10 ▲0.545.61 ▲3.8640.11 ▼0.42
Dashboard /wp-admin2,380 ▲1926.47 ▲1.58133.79 ▲36.0541.36 ▼2.89
Posts /wp-admin/edit.php2,284 ▲1953.30 ▲1.2854.66 ▲20.5336.18 ▲2.38
Add New Post /wp-admin/post-new.php1,577 ▲4323.30 ▲0.08632.35 ▼22.4236.43 ▼18.97
Media Library /wp-admin/upload.php1,420 ▲384.20 ▼0.0578.73 ▼25.9442.92 ▼2.87
All Members /wp-admin/edit.php?post_type=team_members1,2833.3741.8226.47
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=team_members1,6383.0244.7733.70
Add New /wp-admin/post-new.php?post_type=team_members2,3927.63160.3770.61
Help this plugin /wp-admin/edit.php?post_type=team_members&page=meet-my-team-settings1,3103.1739.3669.70

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
  • Zombie WordPress options were found after uninstall: 9 options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • meet-my-team_review
    • category_children
    • widget_theysaidso_widget
    • meet-my-team_donate
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% 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
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/meet-my-team/public/views/public.php
    • > /wp-content/plugins/meet-my-team/public/views/admin.php
  • 42× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/meet-my-team/admin/views/admin.php:18
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\Test\\TestCase' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/meet-my-team/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php:8

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: grid, members, meet, gallery, my...

meet-my-team/meet-my-team.php 92% from 13 tests

Analyzing the main PHP file in "Meet My Team" version 2.0.5
The following require your attention:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 265 characters long)

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
No dangerous file extensions were detected6,055 lines of code in 90 files:
LanguageFilesBlank linesComment linesLines of code
PHP699582,0144,158
CSS66647717
JavaScript8127140556
JSON200278
PO File24448176
Markdown1350146
XML12023
SVG1001

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity10.39
▷ Minimum class complexity1.00
▷ Maximum class complexity177.00
Average method complexity3.11
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces5
Interfaces0
Traits0
Classes54
▷ Abstract classes23.70%
▷ Concrete classes5296.30%
▷ Final classes00.00%
Methods244
▷ Static methods12350.41%
▷ Public methods21286.89%
▷ Protected methods93.69%
▷ Private methods239.43%
Functions13
▷ Named functions969.23%
▷ Anonymous functions430.77%
Constants3
▷ Global constants133.33%
▷ Class constants266.67%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
30 compressed PNG files occupy 0.18MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/includes/Custom-Metaboxes-and-Fields/images/ui-bg_glass_95_fef1ec_1x400.png0.12KB0.14KB0.00%
admin/includes/Custom-Metaboxes-and-Fields/images/ui-bg_highlight-soft_75_cccccc_1x100.png0.10KB0.17KB0.00%
admin/includes/Custom-Metaboxes-and-Fields/images/ui-bg_glass_55_fbf9ee_1x400.png0.12KB0.14KB0.00%
admin/includes/Custom-Metaboxes-and-Fields/images/ui-icons_454545_256x240.png4.27KB4.11KB▼ 3.78%
vendor/alanef/plugindonation_lib/images/logos/translate.png32.90KB12.18KB▼ 62.98%