Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.11MB] [CPU: ▲6.89ms] Passed 4 tests
A check of server-side resources used by LSX Team
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.82 | 47.70 ▲6.22 |
Dashboard /wp-admin | 4.54 ▲1.24 | 61.41 ▲7.52 |
Posts /wp-admin/edit.php | 4.56 ▲1.20 | 65.18 ▲17.77 |
Add New Post /wp-admin/post-new.php | 7.17 ▲1.29 | 100.54 ▼1.49 |
Media Library /wp-admin/upload.php | 4.40 ▲1.17 | 51.15 ▲15.31 |
Settings /wp-admin/edit.php?post_type=team&page=lsx_team_options | 4.84 | 58.02 |
Roles /wp-admin/edit-tags.php?taxonomy=team_role&post_type=team | 4.40 | 48.58 |
All Team Members /wp-admin/edit.php?post_type=team | 4.51 | 50.81 |
Add New /wp-admin/post-new.php?post_type=team | 5.85 | 56.37 |
Server storage [IO: ▲3.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 428 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
lsx_team_scporder_install |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
widget_lsx_team_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for LSX Team
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 13.50 ▼0.86 | 8.00 ▲6.35 | 39.13 ▼6.20 |
Dashboard /wp-admin | 2,245 ▲71 | 5.74 ▲0.08 | 87.76 ▼1.93 | 39.87 ▼2.40 |
Posts /wp-admin/edit.php | 2,167 ▲67 | 2.30 ▲0.27 | 39.91 ▼1.16 | 33.93 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,568 ▲31 | 23.31 ▲5.09 | 643.95 ▲6.46 | 60.91 ▼13.20 |
Media Library /wp-admin/upload.php | 1,460 ▲63 | 4.31 ▲0.08 | 107.80 ▲10.19 | 41.76 ▼1.97 |
Settings /wp-admin/edit.php?post_type=team&page=lsx_team_options | 1,255 | 3.33 | 50.16 | 30.50 |
Roles /wp-admin/edit-tags.php?taxonomy=team_role&post_type=team | 1,360 | 2.35 | 38.09 | 29.68 |
All Team Members /wp-admin/edit.php?post_type=team | 1,159 | 2.45 | 38.92 | 27.58 |
Add New /wp-admin/post-new.php?post_type=team | 6,444 | 19.46 | 850.73 | 41.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- lsx_team_scporder_install
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_lsx_team_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/lsx-team/includes/functions.php+107
Trying to get property 'id' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/lsx-team/includes/functions.php+108
Trying to access array offset on value of type bool
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 fix the following
- 54× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/lsx-team/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function team_get_option() in wp-content/plugins/lsx-team/templates/content-archive-team-careers-cta.php:7
- > PHP Warning
Use of undefined constant LSX_TEAM_PATH - assumed 'LSX_TEAM_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/lsx-team/classes/class-lsx-team-admin.php on line 35
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/lsx-team/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/lsx-team/vendor/CMB2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lsx-team/classes/class-lsx-team-widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/lsx-team/vendor/CMB2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/lsx-team/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/lsx-team/vendor/CMB2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Call to a member function get_thumbnail() on null in wp-content/plugins/lsx-team/templates/content-single-team.php:10
- > 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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: team members, team, lsx, our team, block editor support
lsx-team/lsx-team.php Passed 13 tests
The main PHP script in "LSX Team" version 1.3.5 is automatically included on every request by WordPress
124 characters long description:
The LSX Team extension provides a custom post type that allows you to easily show off the people that make up your business.
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
Good job! No executable or dangerous file extensions detected52,182 lines of code in 268 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,414 | 18,604 | 32,540 |
PHP | 72 | 2,561 | 6,567 | 9,122 |
CSS | 21 | 537 | 1,197 | 4,859 |
Sass | 23 | 493 | 356 | 2,352 |
JavaScript | 17 | 430 | 733 | 1,826 |
Markdown | 4 | 306 | 0 | 826 |
XML | 6 | 13 | 9 | 472 |
YAML | 4 | 5 | 0 | 185 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 20.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 9 | 11.54% |
▷ Concrete classes | 69 | 88.46% |
▷ Final classes | 0 | 0.00% |
Methods | 627 | |
▷ Static methods | 94 | 14.99% |
▷ Public methods | 533 | 85.01% |
▷ Protected methods | 89 | 14.19% |
▷ Private methods | 5 | 0.80% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 7 | 50.00% |
▷ Class constants | 7 | 50.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/CMB2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/CMB2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/CMB2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
vendor/CMB2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |