Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.92MB] [CPU: ▼3.05ms] Passed 4 tests
Server-side resources used by WordPress Team Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.35 ▲0.88 | 50.47 ▲9.71 |
Dashboard /wp-admin | 4.24 ▲0.89 | 54.14 ▼12.59 |
Posts /wp-admin/edit.php | 4.32 ▲0.96 | 60.46 ▲5.86 |
Add New Post /wp-admin/post-new.php | 7.00 ▲1.11 | 98.60 ▼11.48 |
Media Library /wp-admin/upload.php | 4.16 ▲0.93 | 44.26 ▲6.00 |
Add New Member /wp-admin/post-new.php?post_type=team_manager | 7.47 | 100.51 |
Settings /wp-admin/edit.php?post_type=team_manager&page=team_manager | 4.14 | 45.00 |
Shortcode Generator /wp-admin/edit.php?post_type=team_manager&page=team-manager-shortcode-generator | 4.14 | 41.95 |
Team Designation /wp-admin/edit-tags.php?taxonomy=team_designation&post_type=team_manager | 4.16 | 43.64 |
Team Department /wp-admin/edit-tags.php?taxonomy=team_department&post_type=team_manager | 4.16 | 40.67 |
Team /wp-admin/edit.php?post_type=team_manager | 4.21 | 44.36 |
Team Groups /wp-admin/edit-tags.php?taxonomy=team_groups&post_type=team_manager | 4.16 | 41.39 |
Server storage [IO: ▲6.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 391 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
wp_team_manager_version |
db_upgraded |
widget_theysaidso_widget |
wp_team_manager_isntalled |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Team Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲90 | 14.31 ▲0.02 | 1.97 ▲0.18 | 43.30 ▲4.82 |
Dashboard /wp-admin | 2,253 ▲79 | 5.73 ▲0.08 | 96.51 ▲7.11 | 41.77 ▼2.27 |
Posts /wp-admin/edit.php | 2,161 ▲79 | 2.04 ▲0.01 | 42.49 ▲3.74 | 37.37 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,571 ▲41 | 23.12 ▲0.09 | 665.70 ▼34.81 | 57.47 ▼7.52 |
Media Library /wp-admin/upload.php | 1,458 ▲61 | 4.24 ▲0.08 | 102.12 ▼2.28 | 43.16 ▼3.67 |
Add New Member /wp-admin/post-new.php?post_type=team_manager | 6,587 | 19.51 | 868.42 | 39.27 |
Settings /wp-admin/edit.php?post_type=team_manager&page=team_manager | 937 | 2.22 | 26.22 | 29.98 |
Shortcode Generator /wp-admin/edit.php?post_type=team_manager&page=team-manager-shortcode-generator | 1,607 | 2.53 | 53.97 | 46.89 |
Team Designation /wp-admin/edit-tags.php?taxonomy=team_designation&post_type=team_manager | 1,330 | 2.20 | 29.01 | 31.07 |
Team Department /wp-admin/edit-tags.php?taxonomy=team_department&post_type=team_manager | 1,336 | 2.23 | 31.34 | 31.77 |
Team /wp-admin/edit.php?post_type=team_manager | 1,171 | 2.00 | 34.50 | 31.24 |
Team Groups /wp-admin/edit-tags.php?taxonomy=team_groups&post_type=team_manager | 1,330 | 2.32 | 28.23 | 30.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- wp_team_manager_isntalled
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- wp_team_manager_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 44× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-team-manager/public/templates/single-team_manager.php:8
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/CMB2_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/wp-team-manager/lib/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: my team, team slider, teams, team showcase, team...
wp-team-manager/wp-team-manager.php Passed 13 tests
Analyzing the main PHP file in "WordPress Team Manager" version 2.0.13
100 characters long description:
This plugin allows you to manage the members of your team or staff and display them using shortcode.
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 detected67,900 lines of code in 230 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 21 | 4,469 | 1,238 | 15,226 |
SVG | 4 | 1 | 0 | 9,565 |
PHP | 72 | 2,456 | 6,761 | 8,447 |
JavaScript | 10 | 397 | 591 | 1,571 |
Markdown | 3 | 249 | 0 | 768 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 18.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 9 | 11.69% |
▷ Concrete classes | 68 | 88.31% |
▷ Final classes | 1 | 1.47% |
Methods | 573 | |
▷ Static methods | 96 | 16.75% |
▷ Public methods | 480 | 83.77% |
▷ Protected methods | 89 | 15.53% |
▷ Private methods | 4 | 0.70% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 9 | 56.25% |
▷ Class constants | 7 | 43.75% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
lib/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
lib/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
lib/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lib/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |