78% wp-responsive-meet-the-team

Code Review | WP Responsive Meet The Team

WordPress plugin WP Responsive Meet The Team scored 78% from 54 tests.

About plugin

  • Plugin page: wp-responsive-mee...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.6
  • WordPress version: 6.3.1
  • First release: May 25, 2016
  • Latest release: Aug 1, 2016
  • Number of updates: 39
  • Update frequency: every 1.7 days
  • Top authors: vobi (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 7,682 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.53MB] [CPU: ▲11.42ms] Passed 4 tests

This is a short check of server-side resources used by WP Responsive Meet The Team
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.98 ▲0.5254.29 ▲7.70
Dashboard /wp-admin3.88 ▲0.5765.56 ▲7.82
Posts /wp-admin/edit.php3.91 ▲0.5565.52 ▲13.64
Add New Post /wp-admin/post-new.php6.42 ▲0.53115.94 ▲22.88
Media Library /wp-admin/upload.php3.74 ▲0.5152.87 ▲16.51
Team Theme option /wp-admin/admin.php?page=wp_team_management_theme3.7250.19
Responsive WP Meet the Team /wp-admin/admin.php?page=wp_team_management3.7245.33
Team Layout /wp-admin/admin.php?page=wp_team_management_layout3.7268.66
All Teams /wp-admin/edit.php?post_type=team3.8252.06

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 83 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Responsive Meet The Team
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,869 ▲8013.77 ▼0.381.64 ▼0.4846.04 ▲1.22
Dashboard /wp-admin2,268 ▲625.03 ▲0.20106.32 ▼13.5238.98 ▼8.98
Posts /wp-admin/edit.php2,156 ▲672.51 ▲0.4741.15 ▲4.4535.07 ▲2.48
Add New Post /wp-admin/post-new.php1,564 ▲3023.33 ▲0.16651.76 ▼40.5336.40 ▼16.10
Media Library /wp-admin/upload.php1,450 ▲624.31 ▲0.10101.23 ▼12.7044.48 ▼1.86
Team Theme option /wp-admin/admin.php?page=wp_team_management_theme7691.6312.5323.86
Responsive WP Meet the Team /wp-admin/admin.php?page=wp_team_management7691.6311.5724.44
Team Layout /wp-admin/admin.php?page=wp_team_management_layout7691.6311.7628.13
All Teams /wp-admin/edit.php?post_type=team1,1262.2643.6129.41

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
    • > GET request to /wp-admin/admin.php?page=wp_team_management_theme
    • > Error in wp-admin/includes/template.php+1801
    Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/wp-responsive-meet-the-team/admin/settings.php on line 93 and exactly 2 expected in wp-admin/includes/template.php:1801
    Stack trace:
    #0 wp-content/plugins/wp-responsive-meet-the-team/admin/settings.php(93): do_settings_fields()
    #1 wp-content/plugins/wp-responsive-meet-the-team/settings.php(485): include('/var/www/wordpr...')
    #2 wp-includes/class-wp-hook.php(310): WP_team_management_Settings->wprm_settings_page()
    #3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #4 wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 wp-admin/admin.php(259): do_action()
    #6 {main}
    thrown
    • > GET request to /wp-admin/admin.php?page=wp_team_management
    • > Error in wp-admin/includes/template.php+1801
    Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/wp-responsive-meet-the-team/admin/settings.php on line 23 and exactly 2 expected in wp-admin/includes/template.php:1801
    Stack trace:
    #0 wp-content/plugins/wp-responsive-meet-the-team/admin/settings.php(23): do_settings_fields()
    #1 wp-content/plugins/wp-responsive-meet-the-team/settings.php(485): include('/var/www/wordpr...')
    #2 wp-includes/class-wp-hook.php(310): WP_team_management_Settings->wprm_settings_page()
    #3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #4 wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 wp-admin/admin.php(259): do_action()
    #6 {main}
    thrown
    • > GET request to /wp-admin/admin.php?page=wp_team_management_layout
    • > Error in wp-admin/includes/template.php+1801
    Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/wp-responsive-meet-the-team/admin/settings.php on line 42 and exactly 2 expected in wp-admin/includes/template.php:1801
    Stack trace:
    #0 wp-content/plugins/wp-responsive-meet-the-team/admin/settings.php(42): do_settings_fields()
    #1 wp-content/plugins/wp-responsive-meet-the-team/settings.php(485): include('/var/www/wordpr...')
    #2 wp-includes/class-wp-hook.php(310): WP_team_management_Settings->wprm_settings_page()
    #3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #4 wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 wp-admin/admin.php(259): do_action()
    #6 {main}
    thrown

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
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-responsive-meet-the-team/templates/team-manager-template.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
These attributes need to be fixed:
  • Donate link: Please fix this invalid url: ""
Please take inspiration from this readme.txt

wp-responsive-meet-the-team/index.php 92% from 13 tests

This is the main PHP file of "WP Responsive Meet The Team" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-responsive-meet-the-team.php" instead of "index.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
Good job! No executable or dangerous file extensions detected14,144 lines of code in 45 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript131,2791,1319,807
PHP124741,0421,994
CSS142511931,643
SVG100520
PO File54555180

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity64.75
▷ Minimum class complexity1.00
▷ Maximum class complexity247.00
Average method complexity3.71
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods94
▷ Static methods33.19%
▷ Public methods9398.94%
▷ Protected methods00.00%
▷ Private methods11.06%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
25 compressed PNG files occupy 4.73MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
meta-field/meta-field/images/add.png0.12KB0.12KB▼ 0.81%
assets/layouts/screenshot-5.png1,101.63KB349.60KB▼ 68.27%
meta-field/meta-field/images/move.png0.26KB0.26KB0.00%
meta-field/meta-field/js/jquery-ui/images/ui-icons_454545_256x240.png4.27KB4.11KB▼ 3.78%
meta-field/meta-field/js/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png0.11KB0.16KB0.00%