Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.15ms] Passed 4 tests
Analyzing server-side resources used by Team Members
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.33 ▼2.38 |
Dashboard /wp-admin | 3.33 ▲0.03 | 52.02 ▼3.12 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 51.53 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 97.31 ▲2.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.46 ▼5.26 |
All Teams /wp-admin/edit.php?post_type=tmm | 3.30 | 35.99 |
Add New /wp-admin/post-new.php?post_type=tmm | 3.37 | 50.45 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Team Members: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.27 ▼1.16 | 4.45 ▲2.56 | 41.57 ▼4.29 |
Dashboard /wp-admin | 2,230 ▲42 | 4.86 ▼0.04 | 105.94 ▼0.85 | 43.31 ▼0.29 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.05 ▲0.04 | 40.90 ▲5.27 | 36.40 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,553 ▲33 | 23.27 ▲0.22 | 632.60 ▼62.41 | 53.08 ▼6.26 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.20 ▼0.11 | 95.01 ▼13.03 | 41.18 ▼7.31 |
All Teams /wp-admin/edit.php?post_type=tmm | 1,100 | 2.38 | 52.89 | 28.73 |
Add New /wp-admin/post-new.php?post_type=tmm | 3,141 | 7.82 | 181.44 | 50.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-metaboxes-pro.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-admin-scripts.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-post-type.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-metaboxes-members.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-shortcode-column.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-save-metaboxes.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/team-members/tmm.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-metaboxes-help.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/team-members/inc/tmm-shortcode.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-members/inc/tmm-front-scripts.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Screenshot #6 (Finding the shortcode (admin view)) image missing
- Screenshots: Add a description for screenshot #5 in team-members/assets to your readme.txt
team-members/tmm.php 85% from 13 tests
The entry point to "Team Members" version 5.3.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 414 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("team-members.php" instead of "tmm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,003 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 243 | 95 | 1,040 |
CSS | 4 | 130 | 35 | 593 |
JavaScript | 2 | 168 | 80 | 370 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
17 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/links/pinterest.png | 3.39KB | 0.59KB | ▼ 82.67% |
inc/img/links/tumblr.png | 3.03KB | 0.33KB | ▼ 89.15% |
inc/img/links/messenger.png | 2.28KB | 1.77KB | ▼ 22.27% |
inc/img/links/customlink.png | 3.36KB | 0.85KB | ▼ 74.61% |
inc/img/links/whatsapp.png | 3.49KB | 0.66KB | ▼ 81.07% |