Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.57MB] [CPU: ▲7.13ms] 75% from 4 tests
An overview of server-side resources used by Team Showcase - Team Members & Staff Profiles Showcase
Please fix the following
- RAM: Total memory usage must be kept under 10MB (currently 11.21MB on /wp-admin/post-new.php?post_type=team-awesome)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.30 ▲1.84 | 60.81 ▲16.43 |
Dashboard /wp-admin | 5.15 ▲1.84 | 70.31 ▲15.23 |
Posts /wp-admin/edit.php | 5.19 ▲1.84 | 68.86 ▲20.95 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.78 | 69.98 ▼24.08 |
Media Library /wp-admin/upload.php | 5.05 ▲1.82 | 55.86 ▲21.03 |
All Teams /wp-admin/edit.php?post_type=team-awesome | 5.12 | 54.14 |
Add New /wp-admin/post-new.php?post_type=team-awesome | 11.21 | 121.29 |
Server storage [IO: ▲10.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 522 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Team Showcase - Team Members & Staff Profiles Showcase
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,114 ▲379 | 18.61 ▲4.03 | 1.83 ▼0.04 | 42.68 ▼6.74 |
Dashboard /wp-admin | 2,530 ▲339 | 9.14 ▲4.24 | 172.14 ▲53.02 | 38.61 ▼6.40 |
Posts /wp-admin/edit.php | 2,460 ▲371 | 6.32 ▲4.28 | 88.64 ▲54.08 | 34.75 ▲0.17 |
Add New Post /wp-admin/post-new.php | 6,544 ▲5,011 | 25.60 ▲2.44 | 965.32 ▲275.07 | 46.73 ▼10.44 |
Media Library /wp-admin/upload.php | 1,609 ▲224 | 6.68 ▲2.50 | 108.47 ▼4.03 | 42.76 ▼5.75 |
All Teams /wp-admin/edit.php?post_type=team-awesome | 1,425 | 6.14 | 84.05 | 30.70 |
Add New /wp-admin/post-new.php?post_type=team-awesome | 9,223 | 11.64 | 327.46 | 42.61 |
Uninstaller [IO: ▲0.00MB] [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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 136× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/core/Field/Select_Field.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/User_Capability_Condition.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Pimple\\ServiceProviderInterface' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/core/Provider/Container_Condition_Provider.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Field_Icon\\Providers\\Icon_Provider_Interface' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-field-icon/core/Providers/Dashicons_Provider.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/team-showcase-awesome/gutenberg-blocks/team-block.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Holder_Interface' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/core/Field/Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/core/Service/Meta_Query_Service.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/core/Service/REST_API_Service.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\User_Capability_Condition' not found in wp-content/plugins/team-showcase-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Current_User_Capability_Condition.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function carbon_get_post_meta() in wp-content/plugins/team-showcase-awesome/public/team-styles/team-style-5.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #3, #4, #5, #6, #7, #8, #9 in team-showcase-awesome/assets to your readme.txt
team-showcase-awesome/team-awesome.php 85% from 13 tests
The main PHP file in "Team Showcase - Team Members & Staff Profiles Showcase" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("team-showcase-awesome.php" instead of "team-awesome.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin43,361 lines of code in 453 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 2,831 | 1,737 | 15,103 |
JavaScript | 179 | 5,286 | 8,681 | 13,373 |
PHP | 176 | 2,826 | 7,160 | 10,592 |
Sass | 49 | 365 | 0 | 1,922 |
PO File | 21 | 614 | 783 | 1,673 |
JSON | 8 | 0 | 0 | 509 |
Markdown | 4 | 45 | 0 | 146 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 25 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 132 | |
▷ Abstract classes | 11 | 8.33% |
▷ Concrete classes | 121 | 91.67% |
▷ Final classes | 1 | 0.83% |
Methods | 938 | |
▷ Static methods | 95 | 10.13% |
▷ Public methods | 760 | 81.02% |
▷ Protected methods | 169 | 18.02% |
▷ Private methods | 9 | 0.96% |
Functions | 128 | |
▷ Named functions | 40 | 31.25% |
▷ Anonymous functions | 88 | 68.75% |
Constants | 37 | |
▷ Global constants | 12 | 32.43% |
▷ Class constants | 25 | 67.57% |
▷ Public constants | 25 | 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
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/date-icon-vertical.png | 0.95KB | 0.17KB | ▼ 82.60% |
public/img/timeline-bg.png | 0.08KB | 0.10KB | 0.00% |
public/img/date-icon.png | 0.14KB | 0.18KB | 0.00% |
public/img/timeline-vertical-bg.png | 0.91KB | 0.10KB | ▼ 89.19% |