78% dazzlersoft-teams

Code Review | Team Members Showcase

WordPress plugin Team Members Showcase scored78%from 54 tests.

About plugin

  • Plugin page: dazzlersoft-teams
  • Plugin version: 1.3.4
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Apr 19, 2017
  • Latest release: Jun 19, 2023
  • Number of updates: 21
  • Update frequency: every 107.8 days
  • Top authors: dazzlersoft (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

1,000+ active /30,932 total downloads


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.09MB] [CPU: ▼3.11ms] Passed 4 tests

An overview of server-side resources used by Team Members Showcase
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0838.03 ▼5.02
Dashboard /wp-admin3.40 ▲0.1045.92 ▼4.62
Posts /wp-admin/edit.php3.52 ▲0.1650.33 ▲1.82
Add New Post /wp-admin/post-new.php5.99 ▲0.1086.96 ▼0.35
Media Library /wp-admin/upload.php3.33 ▲0.1032.62 ▼2.46
Team Free Vs Pro /wp-admin/edit.php?post_type=team_member&page=dazz_team_b_fvp_page3.3232.48
All Teams /wp-admin/edit.php?post_type=team_member3.3736.25
Add New Teams /wp-admin/post-new.php?post_type=team_member3.4647.28

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 8 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Team Members Showcase
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲7713.28 ▼1.021.70 ▼0.3638.96 ▼3.98
Dashboard /wp-admin2,234 ▲494.85 ▼1.0398.02 ▼19.1939.24 ▼7.51
Posts /wp-admin/edit.php2,114 ▲252.01 ▼0.1139.10 ▲3.1234.60 ▼0.84
Add New Post /wp-admin/post-new.php1,537 ▲2317.63 ▲0.06693.80 ▼2.0962.00 ▲0.39
Media Library /wp-admin/upload.php1,410 ▲254.27 ▲0.0199.25 ▼11.7043.27 ▼5.74
Team Free Vs Pro /wp-admin/edit.php?post_type=team_member&page=dazz_team_b_fvp_page1,2222.0225.6936.41
All Teams /wp-admin/edit.php?post_type=team_member1,0941.9330.9030.32
Add New Teams /wp-admin/post-new.php?post_type=team_member3,9545.22150.78170.41

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 8 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • Team_M_default_Settings
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • dazz_team_b_review

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/dazzlersoft-teams/ink/admin/fvp.php:18

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
    • > GET request to /wp-admin/post-new.php?post_type=team_member
    • > Javascript (severe) in unknown
    /wp-content/plugins/dazzlersoft-teams/assets/js/bootstrap.js?ver=6.3.1 14:10 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3


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
Attributes that need to be fixed:
  • Tags: There are too many tags (53 tag instead of maximum 10)
The official readme.txt is a good inspiration

dazzlersoft-teams/teams.php 92% from 13 tests

The main PHP script in "Team Members Showcase" version 1.3.4 is automatically included on every request by WordPress
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dazzlersoft-teams.php" instead of "teams.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin14,873 lines of code in 31 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity1.54
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods17.69%
▷ Public methods1292.31%
▷ Protected methods00.00%
▷ Private methods17.69%
▷ Named functions12100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
25 PNG files occupy 0.71MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/css/images/ui-icons_469bdd_256x240.png4.44KB4.17KB▼ 6.02%
assets/css/images/ui-bg_inset-hard_100_f5f8f9_1x100.png0.33KB0.13KB▼ 60.36%
assets/tooltip/img/member-desig.png27.32KB20.58KB▼ 24.67%
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png0.21KB0.08KB▼ 58.96%
assets/css/images/ui-icons_217bc0_256x240.png4.44KB4.17KB▼ 6.02%