Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲5.76MB] [CPU: ▲33.62ms] 50% from 4 tests
A check of server-side resources used by Team Members - A WordPress Team Plugin with Gallery, Grid, Carousel, Slider, Table, List, and More
Please fix the following
- CPU: The total CPU usage must kept under 500.00ms (currently 712.68ms on /wp-admin/edit.php?post_type=gs_team&page=gs-team-plugins-lite)
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.76MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.29 ▲5.83 | 72.70 ▲33.22 |
Dashboard /wp-admin | 9.27 ▲5.96 | 84.57 ▲34.29 |
Posts /wp-admin/edit.php | 9.27 ▲5.91 | 92.93 ▲47.55 |
Add New Post /wp-admin/post-new.php | 11.24 ▲5.36 | 113.90 ▲21.23 |
Media Library /wp-admin/upload.php | 9.27 ▲6.04 | 78.58 ▲45.72 |
GS Plugins Pro /wp-admin/edit.php?post_type=gs_team&page=gs-team-plugins-premium | 9.27 | 687.51 |
GS Plugins Lite /wp-admin/edit.php?post_type=gs_team&page=gs-team-plugins-lite | 9.27 | 712.68 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.27 | 64.39 |
Server storage [IO: ▲6.57MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 367 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_gs_team |
New WordPress options |
---|
wp_gs_team_db_version |
fs_active_plugins |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
GS_Team_plugin_permalinks_flushed |
fs_accounts |
can_compress_scripts |
theysaidso_admin_options |
gs_team_plugin_version |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Team Members - A WordPress Team Plugin with Gallery, Grid, Carousel, Slider, Table, List, and More
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲121 | 14.79 ▲0.43 | 1.79 ▼0.02 | 34.94 ▼10.66 |
Dashboard /wp-admin | 2,270 ▲90 | 5.58 ▼0.03 | 92.86 ▼6.84 | 82.72 ▲36.24 |
Posts /wp-admin/edit.php | 2,194 ▲94 | 1.96 ▲0.01 | 40.66 ▼0.16 | 36.03 ▼3.03 |
Add New Post /wp-admin/post-new.php | 1,643 ▲107 | 22.63 ▼0.53 | 673.01 ▲73.43 | 34.34 ▼20.01 |
Media Library /wp-admin/upload.php | 1,484 ▲90 | 4.14 ▼0.08 | 101.90 ▲2.57 | 84.86 ▲42.89 |
GS Plugins Pro /wp-admin/edit.php?post_type=gs_team&page=gs-team-plugins-premium | 2,164 | 2.05 | 25.66 | 89.34 |
GS Plugins Lite /wp-admin/edit.php?post_type=gs_team&page=gs-team-plugins-lite | 2,559 | 2.05 | 28.76 | 78.01 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,123 | 1.65 | 24.18 | 28.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/gs-team-members/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 1 table
- wp_gs_team
- This plugin does not fully uninstall, leaving 12 options in the database
- wp_gs_team_db_version
- db_upgraded
- fs_accounts
- fs_debug_mode
- widget_recent-posts
- widget_recent-comments
- fs_active_plugins
- gs_team_plugin_version
- widget_theysaidso_widget
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gs-team-members/includes/integrations/beaver/includes/frontend.php
- 213× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function GSTEAM\\plugin() in wp-content/plugins/gs-team-members/templates/gs-team-layout-list-2.php:16
- > PHP Notice
Undefined variable: gs_team_cols in wp-content/plugins/gs-team-members/templates/gs-team-horizontal-four.php on line 20
- > PHP Notice
Undefined variable: _carousel_enabled in wp-content/plugins/gs-team-members/templates/gs-team-flip-five.php on line 19
- > PHP Notice
Undefined variable: _carousel_enabled in wp-content/plugins/gs-team-members/templates/gs-team-horizontal-one.php on line 25
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/gs-team-members/templates/gs-team-layout-greyscale.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function GSTEAM\\esc_attr() in wp-content/plugins/gs-team-members/templates/panels/gs-team-panel-style-two.php:3
- > PHP Notice
Undefined variable: gs_teammembers_pop_clm in wp-content/plugins/gs-team-members/templates/popups/gs-team-popup-default.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/gs-team-members/includes/integrations/beaver/includes/frontend.php on line 3
- > PHP Notice
Undefined variable: _carousel_enabled in wp-content/plugins/gs-team-members/templates/gs-grid-style-one.php on line 20
- > PHP Notice
Undefined variable: _filter_enabled in wp-content/plugins/gs-team-members/templates/gs-team-circle-one.php on line 40
- > PHP Fatal error
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 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
gs-team-members/gs-team.php 77% from 13 tests
The primary PHP file in "Team Members - A WordPress Team Plugin with Gallery, Grid, Carousel, Slider, Table, List, and More" version 2.2.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 323 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("gs-team-members.php" instead of "gs-team.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected47,007 lines of code in 299 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 247 | 13,661 | 18,561 | 46,589 |
JavaScript | 20 | 75 | 86 | 381 |
CSS | 27 | 1 | 11 | 32 |
SVG | 4 | 0 | 0 | 4 |
JSON | 1 | 0 | 0 | 1 |
PHP code 0% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 207)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 66.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 207.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 80 | |
▷ Abstract classes | 3 | 3.75% |
▷ Concrete classes | 77 | 96.25% |
▷ Final classes | 6 | 7.79% |
Methods | 1,610 | |
▷ Static methods | 226 | 14.04% |
▷ Public methods | 1,191 | 73.98% |
▷ Protected methods | 32 | 1.99% |
▷ Private methods | 387 | 24.04% |
Functions | 180 | |
▷ Named functions | 154 | 85.56% |
▷ Anonymous functions | 26 | 14.44% |
Constants | 150 | |
▷ Global constants | 103 | 68.67% |
▷ Class constants | 47 | 31.33% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/gs-team-members.png | 9.63KB | 4.85KB | ▼ 49.69% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |