Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.14MB] [CPU: ▼138.49ms] Passed 4 tests
A check of server-side resources used by Team Members Showcase
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.80 | 47.86 ▲10.18 |
Dashboard /wp-admin | 4.37 ▲1.32 | 64.91 ▲18.53 |
Posts /wp-admin/edit.php | 4.40 ▲1.29 | 58.83 ▲7.47 |
Add New Post /wp-admin/post-new.php | 6.66 ▲1.22 | 103.45 ▼578.97 |
Media Library /wp-admin/upload.php | 4.25 ▲1.25 | 44.60 ▲7.37 |
Categories /wp-admin/edit-tags.php?taxonomy=extp_cat&post_type=ex_team | 4.26 | 43.40 |
Members /wp-admin/edit.php?post_type=ex_team | 4.36 | 45.78 |
/wp-admin/edit.php?post_type=ex_team&page=extp_js_css_file_options | 4.52 | 42.80 |
Shortcodes builder /wp-admin/edit.php?post_type=team_scbd | 4.36 | 39.06 |
Add New Member /wp-admin/post-new.php?post_type=ex_team | 4.81 | 66.72 |
Settings /wp-admin/edit.php?post_type=ex_team&page=extp_options | 4.58 | 53.13 |
Help /wp-admin/edit.php?post_type=ex_team&page=extp_helps | 4.23 | 41.53 |
/wp-admin/edit.php?post_type=ex_team&page=extp_custom_code_options | 4.52 | 41.80 |
Server storage [IO: ▲5.74MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 401 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_extp-widget |
Browser metrics Passed 4 tests
Team Members Showcase: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,913 ▲317 | 16.70 ▲0.82 | 15.71 ▲7.06 | 55.06 ▲4.39 |
Dashboard /wp-admin | 3,048 ▲114 | 6.23 ▲0.24 | 145.40 ▼12.04 | 114.09 ▼6.48 |
Posts /wp-admin/edit.php | 2,818 ▲79 | 2.75 ▲0.07 | 72.71 ▼4.77 | 92.97 ▲3.49 |
Add New Post /wp-admin/post-new.php | 1,553 ▼38 | 18.39 ▼0.36 | 379.03 ▼8.90 | 117.78 ▼9.88 |
Media Library /wp-admin/upload.php | 1,889 ▲82 | 5.10 ▲0.09 | 151.77 ▼7.36 | 126.72 ▲2.23 |
Categories /wp-admin/edit-tags.php?taxonomy=extp_cat&post_type=ex_team | 1,832 | 2.58 | 70.27 | 84.94 |
Members /wp-admin/edit.php?post_type=ex_team | 1,548 | 2.79 | 74.33 | 86.24 |
/wp-admin/edit.php?post_type=ex_team&page=extp_js_css_file_options | 1,215 | 2.36 | 62.84 | 80.04 |
Shortcodes builder /wp-admin/edit.php?post_type=team_scbd | 1,502 | 2.65 | 66.03 | 82.73 |
Add New Member /wp-admin/post-new.php?post_type=ex_team | 4,402 | 9.43 | 254.33 | 169.63 |
Settings /wp-admin/edit.php?post_type=ex_team&page=extp_options | 2,405 | 3.59 | 96.59 | 85.42 |
Help /wp-admin/edit.php?post_type=ex_team&page=extp_helps | 1,570 | 2.37 | 60.20 | 135.94 |
/wp-admin/edit.php?post_type=ex_team&page=extp_custom_code_options | 1,408 | 4.82 | 111.82 | 90.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- widget_extp-widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/teampresslite/admin/extp-help.php
- 57× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/teampresslite/admin/inc/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/teampresslite/admin/inc/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/teampresslite/admin/inc/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/teampresslite/admin/inc/cmb2/init.php:127
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/teampresslite/admin/inc/cmb2/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/teampresslite/inc/widgets/teampress.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function ex_teampress_customlink() in wp-content/plugins/teampresslite/templates/content-shortcodes/content-grid-6.php:2
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/teampresslite/admin/inc/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/teampresslite/admin/inc/cmb2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/teampresslite/admin/inc/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
teampresslite/teampress.php 92% from 13 tests
"Team Members Showcase" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 ("teampresslite.php" instead of "teampress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin58,011 lines of code in 241 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,097 | 18,541 | 32,262 |
PHP | 74 | 2,062 | 5,808 | 9,360 |
CSS | 21 | 1,236 | 1,181 | 5,875 |
SVG | 4 | 1 | 12 | 4,219 |
JavaScript | 13 | 1,162 | 509 | 3,922 |
XML | 1 | 9 | 16 | 1,343 |
Markdown | 3 | 209 | 0 | 612 |
Sass | 2 | 27 | 5 | 260 |
LESS | 1 | 13 | 5 | 150 |
Ruby | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 18.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 8 | 11.43% |
▷ Concrete classes | 62 | 88.57% |
▷ Final classes | 0 | 0.00% |
Methods | 538 | |
▷ Static methods | 86 | 15.99% |
▷ Public methods | 446 | 82.90% |
▷ Protected methods | 89 | 16.54% |
▷ Private methods | 3 | 0.56% |
Functions | 60 | |
▷ Named functions | 59 | 98.33% |
▷ Anonymous functions | 1 | 1.67% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.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
15 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/inc/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
admin/inc/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
admin/inc/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/inc/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
admin/inc/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |