78% awesome-team-showcase

Code Review | Awesome Team Showcase

WordPress plugin Awesome Team Showcase scored 78% from 54 tests.

About plugin

  • Plugin page: awesome-team-show...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-4.6
  • WordPress version: 6.3.1
  • First release: Aug 29, 2015
  • Latest release: Aug 20, 2016
  • Number of updates: 7
  • Update frequency: every 51.0 days
  • Top authors: NetAttingo Technologies (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

100+ active / 5,909 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.61MB] [CPU: ▼10.69ms] Passed 4 tests

This is a short check of server-side resources used by Awesome Team Showcase
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0944.80 ▼6.54
Dashboard /wp-admin3.39 ▲0.0851.19 ▲6.31
Posts /wp-admin/edit.php3.42 ▲0.0657.26 ▲8.73
Add New Post /wp-admin/post-new.php3.22 ▼2.6742.23 ▼51.27
Media Library /wp-admin/upload.php3.31 ▲0.0842.69 ▲9.35
About Us /wp-admin/edit.php?post_type=aw-team-member&page=about-us3.3040.37
Add New Member /wp-admin/post-new.php?post_type=aw-team-member3.2241.04
Member Categories /wp-admin/edit-tags.php?taxonomy=awts-team-category&post_type=aw-team-member3.3039.63
All Members /wp-admin/edit.php?post_type=aw-team-member3.3341.66

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Awesome Team Showcase
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲10713.17 ▼1.211.52 ▼0.6939.97 ▼18.79
Dashboard /wp-admin2,243 ▲524.87 ▼0.0695.12 ▼9.2638.70 ▼0.72
Posts /wp-admin/edit.php2,126 ▲372.05 ▲0.0637.48 ▲3.0535.73 ▼1.57
Add New Post /wp-admin/post-new.php1,564 ▲3023.49 ▲0.22695.40 ▲0.5756.25 ▼3.47
Media Library /wp-admin/upload.php1,428 ▲404.20 ▼0.1793.35 ▼11.3141.79 ▼7.20
About Us /wp-admin/edit.php?post_type=aw-team-member&page=about-us8352.0624.1427.79
Add New Member /wp-admin/post-new.php?post_type=aw-team-member2,4847.79167.2264.56
Member Categories /wp-admin/edit-tags.php?taxonomy=awts-team-category&post_type=aw-team-member1,2962.1428.2028.12
All Members /wp-admin/edit.php?post_type=aw-team-member1,0991.9830.3727.81

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=aw-team-member
    • > Notice in wp-content/plugins/awesome-team-showcase/awesome-team-showcase.php+300
    Undefined index: post_type
    • > GET request to /wp-admin/post-new.php?post_type=aw-team-member
    • > Notice in wp-content/plugins/awesome-team-showcase/awesome-team-showcase.php+153
    Undefined index: awts_member_role
    • > GET request to /wp-admin/post-new.php?post_type=aw-team-member
    • > Notice in wp-content/plugins/awesome-team-showcase/awesome-team-showcase.php+190
    Undefined index: awts_member_facebook
    • > GET request to /wp-admin/post-new.php?post_type=aw-team-member
    • > Notice in wp-content/plugins/awesome-team-showcase/awesome-team-showcase.php+229
    Undefined index: awts_member_twitter
    • > GET request to /wp-admin/post-new.php?post_type=aw-team-member
    • > Notice in wp-content/plugins/awesome-team-showcase/awesome-team-showcase.php+267
    Undefined index: awts_member_linkedin
    • > GET request to /wp-admin/post-new.php?post_type=aw-team-member
    • > Notice in wp-content/plugins/awesome-team-showcase/awesome-team-showcase.php+307
    Undefined index: awts_member_google

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 items
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/awesome-team-showcase/awesome-team-showcase.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/awesome-team-showcase/pages/about-us.php:3

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Screenshots: These screenshots require images: #1 (Back end add tab items), #2 (Front end all member listing look), #3 (Front end member listing by categorires look), #4 (Front end member detail pop up look)
Please take inspiration from this readme.txt

awesome-team-showcase/awesome-team-showcase.php Passed 13 tests

"Awesome Team Showcase" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
93 characters long description:
This plugin provides to show awesome team showcase to you post or pages just using shortcode.

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
Success! There were no dangerous files found in this plugin617 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP29931371
CSS2916246

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.28
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions25
▷ Named functions25100.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
9 PNG files occupy 0.42MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png138.71KB61.29KB▼ 55.82%
images/twi.png1.95KB1.04KB▼ 46.59%
images/g.png2.36KB1.36KB▼ 42.40%
images/delete-message-icon.png1.40KB0.80KB▼ 42.50%
images/in.png1.91KB1.15KB▼ 39.78%