Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲2.00MB] [CPU: ▲11.67ms] Passed 4 tests
A check of server-side resources used by WP Team - Best Team Members Showcase Plugin for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.48 ▲2.01 | 53.42 ▲9.78 |
Dashboard /wp-admin | 5.30 ▲2.00 | 65.53 ▲12.62 |
Posts /wp-admin/edit.php | 5.35 ▲1.99 | 63.90 ▲17.05 |
Add New Post /wp-admin/post-new.php | 7.96 ▲2.07 | 98.40 ▲7.23 |
Media Library /wp-admin/upload.php | 5.23 ▲1.99 | 53.47 ▲17.85 |
Settings /wp-admin/edit.php?post_type=sptp_member&page=team_settings | 7.32 | 54.74 |
All Members /wp-admin/edit.php?post_type=sptp_member | 7.46 | 60.70 |
Tools /wp-admin/edit.php?post_type=sptp_member&page=team_tools | 7.32 | 51.44 |
Help /wp-admin/edit.php?post_type=sptp_member&page=team_help | 7.32 | 52.63 |
Add New /wp-admin/post-new.php?post_type=sptp_member | 7.53 | 82.67 |
Team Generator /wp-admin/edit.php?post_type=sptp_generator | 7.46 | 59.06 |
Server storage [IO: ▲2.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 201 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_recent-comments |
widget_wpteam_widget |
can_compress_scripts |
sp_wp_team_db_version |
_sptp_settings |
db_upgraded |
sp_wp_team_first_version |
sp_wpt_review_notice_dismiss |
sp_wp_team_version |
sp_wp_team_activation_date |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Team - Best Team Members Showcase Plugin for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲147 | 14.34 ▲0.22 | 1.63 ▼0.13 | 27.94 ▼16.11 |
Dashboard /wp-admin | 2,312 ▲134 | 5.61 ▲0.03 | 91.08 ▼28.91 | 37.45 ▼6.20 |
Posts /wp-admin/edit.php | 2,213 ▲116 | 2.00 ▲0.05 | 40.20 ▲4.00 | 37.39 ▲1.81 |
Add New Post /wp-admin/post-new.php | 6,247 ▲4,712 | 19.29 ▼5.85 | 840.90 ▲190.35 | 54.11 ▼22.04 |
Media Library /wp-admin/upload.php | 1,514 ▲117 | 4.20 ▼0.02 | 99.58 ▼5.19 | 44.64 ▲0.82 |
Settings /wp-admin/edit.php?post_type=sptp_member&page=team_settings | 1,517 | 3.69 | 66.25 | 48.41 |
All Members /wp-admin/edit.php?post_type=sptp_member | 1,384 | 3.89 | 57.01 | 32.78 |
Tools /wp-admin/edit.php?post_type=sptp_member&page=team_tools | 1,252 | 3.88 | 54.53 | 73.50 |
Help /wp-admin/edit.php?post_type=sptp_member&page=team_help | 2,012 | 12.25 | 305.35 | 142.27 |
Add New /wp-admin/post-new.php?post_type=sptp_member | 2,981 | 8.53 | 213.68 | 95.37 |
Team Generator /wp-admin/edit.php?post_type=sptp_generator | 1,416 | 4.16 | 58.35 | 31.74 |
Uninstaller [IO: ▲2.45MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attentionThis plugin did not uninstall successfully, leaving 14 options in the database
- The plugin did not uninstall gracefully
- > Compile error in wp-content/plugins/team-free/team-free.php+77
Cannot redeclare run_wp_team() (previously declared in wp-content/plugins/team-free/team-free.php:78)
- The plugin did not uninstall correctly, leaving 201 files (2.45MB) in the plugin directory
- (new file) src/Admin/Admin.php
- (new file) readme.txt
- (new file) index.php
- (new file) languages/team-free.pot
- (new file) src/Admin/Configs/Generator/SPTP_Image.php
- (new file) src/Admin/Configs/Generator.php
- (new file) src/Admin/Configs/Generator/SPTP_Display.php
- (new file) src/Admin/Configs/Generator/SPTP_General.php
- (new file) src/Admin/Configs/Generator/SPTP_Carousel.php
- (new file) src/Admin/Configs/Generator/SPTP_Layout.php
- ...
- recovery_mode_email_last_sent
- sp_wp_team_activation_date
- sp_wp_team_first_version
- sp_wp_team_db_version
- _sptp_settings
- widget_recent-comments
- widget_wpteam_widget
- sp_wpt_review_notice_dismiss
- widget_recent-posts
- sp_wp_team_version
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/team-free/src/Frontend/partials/dynamic-css-settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/team-free/src/Frontend/templates/member/description.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/team-free/src/Frontend/templates/sptp-single.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/team-free/src/Frontend/partials/dynamic-css-settings.php:10
- > PHP Notice
Undefined variable: link_detail in wp-content/plugins/team-free/src/Frontend/templates/member/image.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/team-free/src/Admin/updates/update-2.0.5.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/team-free/src/Admin/updates/update-2.2.15.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/team-free/src/Frontend/templates/member/job_title.php:14
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/team-free/src/Admin/ElementBlock_Deprecated/Shortcode_Widget_Deprecated.php:23
- > PHP Notice
Undefined variable: preloader in wp-content/plugins/team-free/src/Frontend/templates/preloader.php on line 12
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 35 tag instead of maximum 10
team-free/team-free.php 92% from 13 tests
This is the main PHP file of "WP Team - Best Team Members Showcase Plugin for WordPress" version 2.2.19, 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:
- Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected22,939 lines of code in 180 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 1,970 | 3,890 | 9,787 |
CSS | 18 | 1,154 | 593 | 6,351 |
JavaScript | 12 | 658 | 264 | 4,039 |
SVG | 40 | 0 | 1 | 2,754 |
JSON | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 16.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 72 | |
▷ Abstract classes | 2 | 2.78% |
▷ Concrete classes | 70 | 97.22% |
▷ Final classes | 0 | 0.00% |
Methods | 292 | |
▷ Static methods | 79 | 27.05% |
▷ Public methods | 277 | 94.86% |
▷ Protected methods | 4 | 1.37% |
▷ Private methods | 11 | 3.77% |
Functions | 19 | |
▷ Named functions | 17 | 89.47% |
▷ Anonymous functions | 2 | 10.53% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Frontend/img/Placeholder-Image.png | 2.58KB | 1.75KB | ▼ 32.22% |
src/Admin/img/checkerboard.png | 2.02KB | 2.54KB | 0.00% |