Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/custom-team-manager/inc/functions.php+277
Undefined index: post_type
Server metrics [RAM: ▼0.59MB] [CPU: ▼16.29ms] Passed 4 tests
Analyzing server-side resources used by Custom Team Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 47.15 ▲3.83 |
Dashboard /wp-admin | 3.48 ▲0.18 | 54.42 ▼4.40 |
Posts /wp-admin/edit.php | 3.20 ▼0.16 | 33.35 ▼12.92 |
Add New Post /wp-admin/post-new.php | 3.33 ▼2.56 | 43.93 ▼51.65 |
Media Library /wp-admin/upload.php | 3.41 ▲0.17 | 42.61 ▲9.67 |
Add New Member /wp-admin/post-new.php?post_type=cmt-management-team | 3.33 | 40.69 |
All Members /wp-admin/edit.php?post_type=cmt-management-team | 3.43 | 43.20 |
Settings /wp-admin/edit.php?post_type=cmt-management-team&page=cmt-settings-page | 3.39 | 38.89 |
Member Categories /wp-admin/edit-tags.php?taxonomy=cmt-team-category&post_type=cmt-management-team | 3.40 | 37.96 |
Server storage [IO: ▲0.72MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 12 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
cmt_show_gridview |
hide_ajax_notification |
theysaidso_admin_options |
cmt_ajax_load |
cmt_mem_pro_page_slug |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Team Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲134 | 13.23 ▼1.52 | 2.06 ▲0.15 | 45.84 ▼0.98 |
Dashboard /wp-admin | 2,248 ▲59 | 5.91 ▲0.97 | 97.88 ▼24.07 | 40.27 ▼5.69 |
Posts /wp-admin/edit.php | 2,128 ▲42 | 2.07 ▲0.07 | 35.62 ▼4.16 | 33.46 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 18.15 ▼4.94 | 664.93 ▼62.12 | 52.63 ▼1.23 |
Media Library /wp-admin/upload.php | 1,430 ▲45 | 4.30 ▲0.07 | 99.04 ▼1.61 | 47.18 ▲3.61 |
Add New Member /wp-admin/post-new.php?post_type=cmt-management-team | 2,485 | 7.73 | 178.73 | 68.85 |
All Members /wp-admin/edit.php?post_type=cmt-management-team | 1,111 | 2.00 | 32.51 | 30.45 |
Settings /wp-admin/edit.php?post_type=cmt-management-team&page=cmt-settings-page | 1,053 | 1.93 | 29.18 | 38.26 |
Member Categories /wp-admin/edit-tags.php?taxonomy=cmt-team-category&post_type=cmt-management-team | 1,298 | 2.43 | 28.44 | 30.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 11 options
- cmt_profile_page
- cmt_show_gridview
- db_upgraded
- widget_theysaidso_widget
- cmt_ajax_load
- theysaidso_admin_options
- can_compress_scripts
- cmt_mem_pro_page_slug
- cmt_single_page
- widget_recent-comments
- ...
Smoke tests 50% 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
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cmt-management-team
- > Notice in wp-content/plugins/custom-team-manager/inc/functions.php+391
Undefined index: post_type
- > GET request to /wp-admin/post-new.php?post_type=cmt-management-team
- > Notice in wp-content/plugins/custom-team-manager/inc/functions.php+284
Undefined index: cmt_member_role
- > GET request to /wp-admin/post-new.php?post_type=cmt-management-team
- > Notice in wp-content/plugins/custom-team-manager/inc/functions.php+321
Undefined index: cmt_member_facebook
- > GET request to /wp-admin/post-new.php?post_type=cmt-management-team
- > Notice in wp-content/plugins/custom-team-manager/inc/functions.php+360
Undefined index: cmt_member_twitter
- > GET request to /wp-admin/post-new.php?post_type=cmt-management-team
- > Notice in wp-content/plugins/custom-team-manager/inc/functions.php+398
Undefined index: cmt_member_linkedin
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-team-manager/inc/functions.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-team-manager/inc/shortcodes.php:165
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-team-manager/inc/functions.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Team Members page view.), #2 (Team Members Profile page view.), #3 (Settings Page view.)
custom-team-manager/custom-team-manager.php 92% from 13 tests
"Custom Team Manager" version 2.4.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 201 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected548 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 73 | 42 | 294 |
CSS | 2 | 14 | 10 | 171 |
JavaScript | 2 | 22 | 27 | 83 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.68MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/linkedin.png | 4.00KB | 1.58KB | ▼ 60.42% |
screenshot-2.png | 165.85KB | 61.30KB | ▼ 63.04% |
screenshot-3.png | 48.47KB | 29.97KB | ▼ 38.18% |
images/facebook.png | 95.41KB | 43.30KB | ▼ 54.62% |
images/twitter.png | 39.93KB | 17.21KB | ▼ 56.90% |