84% advanced-team

Code Review | Advanced Team

WordPress plugin Advanced Team scored84%from 54 tests.

About plugin

  • Plugin page: advanced-team
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5.0-4.9.4
  • WordPress version: 6.3.1
  • First release: Mar 1, 2018
  • Latest release: Mar 20, 2018
  • Number of updates: 7
  • Update frequency: every 2.7 days
  • Top authors: codeincept (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /718 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼2.43ms] Passed 4 tests

Analyzing server-side resources used by Advanced Team
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1236.21 ▼4.22
Dashboard /wp-admin3.42 ▲0.1244.14 ▼5.70
Posts /wp-admin/edit.php3.53 ▲0.1848.54 ▼2.37
Add New Post /wp-admin/post-new.php6.02 ▲0.1493.71 ▲2.58
Media Library /wp-admin/upload.php3.34 ▲0.1135.74 ▲5.56
Add New /wp-admin/post-new.php?post_type=advanced_team3.4951.85
Category /wp-admin/edit-tags.php?taxonomy=team_category&post_type=advanced_team3.3435.33
All Items /wp-admin/edit.php?post_type=advanced_team3.3833.25

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Advanced Team
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,946 ▲20013.55 ▼0.835.01 ▲3.3438.15 ▼9.31
Dashboard /wp-admin2,241 ▲535.90 ▲1.01106.16 ▼10.5042.99 ▼2.74
Posts /wp-admin/edit.php2,127 ▲352.01 ▲0.0142.20 ▲3.9935.29 ▲3.55
Add New Post /wp-admin/post-new.php1,544 ▲1623.34 ▲5.27612.19 ▼22.9768.41 ▲13.20
Media Library /wp-admin/upload.php1,420 ▲384.20 ▼0.0999.38 ▲0.0841.52 ▼2.01
Add New /wp-admin/post-new.php?post_type=advanced_team2,7117.75177.3181.05
Category /wp-admin/edit-tags.php?taxonomy=team_category&post_type=advanced_team1,3002.1429.0627.38
All Items /wp-admin/edit.php?post_type=advanced_team1,1191.9330.3029.38

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/advanced-team/admin/partials/advanced-team-admin-display.php
    • > /wp-content/plugins/advanced-team/public/partials/advanced-team-public-display.php

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

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: codeincept, teams, team, team plugin, team member...

advanced-team/advanced-team.php Passed 13 tests

The main PHP file in "Advanced Team" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
43 characters long description:
Design awesome team members showcase easily

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected655 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP12122499390
CSS3415259
JavaScript24546

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity6.14
▷ Minimum class complexity1.00
▷ Maximum class complexity18.00
Average method complexity2.24
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods29
▷ Static methods26.90%
▷ Public methods2482.76%
▷ Protected methods00.00%
▷ Private methods517.24%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin