90% team

Code Review | Team Showcase

WordPress plugin Team Showcase scored90%from 54 tests.

About plugin

  • Plugin page: team
  • Plugin version: 1.22.23
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Sep 9, 2014
  • Latest release: Apr 15, 2023
  • Number of updates: 166
  • Update frequency: every 18.9 days
  • Top authors: pickplugins (53.01%)paratheme (31.33%)wpkids (16.87%)

Code review

54 tests

User reviews

52 reviews

Install metrics

3,000+ active /184,609 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.20MB] [CPU: ▼3.10ms] Passed 4 tests

An overview of server-side resources used by Team Showcase
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.2036.72 ▼8.65
Dashboard /wp-admin3.50 ▲0.1944.26 ▼5.03
Posts /wp-admin/edit.php3.62 ▲0.2650.67 ▼0.24
Add New Post /wp-admin/post-new.php6.10 ▲0.2296.82 ▲1.54
Media Library /wp-admin/upload.php3.42 ▲0.1936.57 ▲2.66
All Team Members /wp-admin/edit.php?post_type=team_member3.4738.17
All Team layouts /wp-admin/edit.php?post_type=team_layout3.5542.35
Settings /wp-admin/edit.php?post_type=team&page=team-settings3.4437.15
Add New /wp-admin/post-new.php?post_type=team_member3.6756.72
All Team /wp-admin/edit.php?post_type=team3.4738.32
Add New /wp-admin/post-new.php?post_type=team3.6653.72
Team Groups /wp-admin/edit-tags.php?taxonomy=team_group&post_type=team_member3.4135.56

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 70 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
team_plugin_info

Browser metrics Passed 4 tests

A check of browser resources used by Team Showcase
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,989 ▲23213.66 ▼1.094.87 ▲2.7637.11 ▼12.29
Dashboard /wp-admin2,279 ▲915.89 ▼0.02103.81 ▲4.2340.45 ▼1.88
Posts /wp-admin/edit.php2,169 ▲832.23 ▲0.1040.05 ▲4.2634.57 ▲3.10
Add New Post /wp-admin/post-new.php1,596 ▲8223.42 ▲5.78622.05 ▼56.1250.75 ▼11.71
Media Library /wp-admin/upload.php1,467 ▲824.21 ▲0.06100.04 ▼0.8840.96 ▼5.47
All Team Members /wp-admin/edit.php?post_type=team_member1,1492.1732.4726.86
All Team layouts /wp-admin/edit.php?post_type=team_layout2,1232.2134.7230.16
Settings /wp-admin/edit.php?post_type=team&page=team-settings2,0853.6955.8436.06
Add New /wp-admin/post-new.php?post_type=team_member2,8319.47240.5684.22
All Team /wp-admin/edit.php?post_type=team1,1412.1730.5329.38
Add New /wp-admin/post-new.php?post_type=team4,0147.48160.2438.74
Team Groups /wp-admin/edit-tags.php?taxonomy=team_group&post_type=team_member1,3482.4028.9528.05

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • team_plugin_info
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
There were no plugin tags found

team/team.php Passed 13 tests

The primary PHP file in "Team Showcase" version 1.22.23 is used by WordPress to initiate all plugin functionality
78 characters long description:
Fully responsive and mobile ready meet the team showcase plugin for wordpress.

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 detected22,606 lines of code in 39 files:
LanguageFilesBlank linesComment linesLines of code
SVG30129,026
PHP232,9822206,041
CSS21,625263,393
PO File36669481,564
XML216321,077
JSON1001,009
JavaScript5213125496

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity69.36
▷ Minimum class complexity1.00
▷ Maximum class complexity641.00
Average method complexity11.44
▷ Minimum method complexity1.00
▷ Maximum method complexity73.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods72
▷ Static methods00.00%
▷ Public methods72100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions68
▷ Named functions68100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/front/css/icons/googleplus.png7.27KB2.68KB▼ 63.13%
assets/front/css/icons/website.png5.73KB1.54KB▼ 73.11%
assets/front/css/icons/linkedin.png4.98KB1.58KB▼ 68.28%
assets/front/css/icons/vimeo.png20.23KB2.37KB▼ 88.30%
assets/front/css/icons/facebook.png4.21KB1.26KB▼ 70.08%