Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.79ms] Passed 4 tests
This is a short check of server-side resources used by Our Team Members - Team Members WordPress Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.05 ▲0.32 |
Dashboard /wp-admin | 3.41 ▲0.11 | 45.84 ▼6.02 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 45.22 ▼3.20 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 94.81 ▲1.75 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.87 ▲2.89 |
Team Category /wp-admin/edit-tags.php?taxonomy=wpb_team_member_category&post_type=wpb_team_members | 3.33 | 33.91 |
Add New Team Member /wp-admin/post-new.php?post_type=wpb_team_members | 3.46 | 48.42 |
All Team Members /wp-admin/edit.php?post_type=wpb_team_members | 3.38 | 35.79 |
Shortcode Generator /wp-admin/edit.php?post_type=wpb_otm_shortcode | 3.38 | 34.60 |
Server storage [IO: ▲4.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 297 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Our Team Members - Team Members WordPress Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲116 | 13.23 ▼0.70 | 2.00 ▲0.03 | 43.20 ▲2.16 |
Dashboard /wp-admin | 2,248 ▲57 | 5.86 ▼0.04 | 98.30 ▼5.58 | 38.34 ▼4.02 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.14 ▲0.14 | 36.42 ▼4.32 | 35.14 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,622 ▲108 | 21.94 ▲4.33 | 616.84 ▼64.34 | 31.40 ▼38.37 |
Media Library /wp-admin/upload.php | 1,434 ▲49 | 4.23 ▲0.01 | 98.13 ▼2.16 | 42.84 ▲0.31 |
Team Category /wp-admin/edit-tags.php?taxonomy=wpb_team_member_category&post_type=wpb_team_members | 1,313 | 2.26 | 26.33 | 27.98 |
Add New Team Member /wp-admin/post-new.php?post_type=wpb_team_members | 2,961 | 8.08 | 209.79 | 68.86 |
All Team Members /wp-admin/edit.php?post_type=wpb_team_members | 1,141 | 2.00 | 30.41 | 31.39 |
Shortcode Generator /wp-admin/edit.php?post_type=wpb_otm_shortcode | 1,110 | 1.95 | 30.90 | 29.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpb_team_members
- > Notice in wp-content/plugins/our-team-members/admin/framework/classes/metabox.php+79
Trying to access array offset on value of type bool
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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/our-team-members/admin/framework/templates/settings/modern/footer.php
- > /wp-content/plugins/our-team-members/admin/framework/templates/settings/global/footer.php
- > /wp-content/plugins/our-team-members/admin/framework/templates/settings/global/header.php
- 27× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: class in wp-content/plugins/our-team-members/admin/framework/templates/settings/modern/body.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function is_sticky_header() on null in wp-content/plugins/our-team-members/admin/framework/templates/settings/modern/header.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wpb_otm_get_post_meta() in wp-content/plugins/our-team-members/templates/skin-default.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/our-team-members/templates/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/our-team-members/inc/wpb_scripts.php:24
- > PHP Notice
Undefined variable: title in wp-content/plugins/our-team-members/admin/framework/templates/settings/simple/header.php on line 1
- > PHP Notice
Undefined variable: theme in wp-content/plugins/our-team-members/admin/framework/templates/settings/global/header.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function get_settings_buttons() on null in wp-content/plugins/our-team-members/admin/framework/templates/settings/simple/footer.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function html_content() on null in wp-content/plugins/our-team-members/admin/framework/templates/settings/simple/body.php:1
- > PHP Fatal error
Uncaught Error: Call to a member function html_nav_bar() on null in wp-content/plugins/our-team-members/admin/framework/templates/settings/simple/header.php:3
- > PHP Notice
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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: Too many tags (30 tag instead of maximum 10); only the first 5 tags are used in your directory listing
our-team-members/main.php 92% from 13 tests
The entry point to "Our Team Members - Team Members WordPress Plugin" version 1.0.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("our-team-members.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin28,118 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 21 | 2,311 | 251 | 11,045 |
JavaScript | 27 | 1,983 | 579 | 7,365 |
PHP | 71 | 1,011 | 968 | 4,504 |
SVG | 2 | 0 | 3 | 2,758 |
Sass | 6 | 349 | 0 | 1,739 |
PO File | 7 | 306 | 334 | 705 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 16.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 4.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 2 | 5.00% |
▷ Concrete classes | 38 | 95.00% |
▷ Final classes | 0 | 0.00% |
Methods | 186 | |
▷ Static methods | 3 | 1.61% |
▷ Public methods | 162 | 87.10% |
▷ Protected methods | 4 | 2.15% |
▷ Private methods | 20 | 10.75% |
Functions | 66 | |
▷ Named functions | 66 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
135 PNG files occupy 0.33MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/framework/assets/vendors/icheck/themes/square-red.png | 2.14KB | 1.83KB | ▼ 14.52% |
admin/framework/assets/css/themes/square-green.png | 2.14KB | 1.83KB | ▼ 14.55% |
admin/framework/assets/css/themes/square-purple@2x.png | 4.40KB | 3.06KB | ▼ 30.39% |
admin/framework/assets/css/themes/polaris@2x.png | 16.37KB | 6.77KB | ▼ 58.66% |
admin/framework/assets/css/themes/flat-flat@2x.png | 3.14KB | 2.83KB | ▼ 10.04% |