Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼289.10ms] Passed 4 tests
Analyzing server-side resources used by Total Team Lite - Responsive Team Manager / Showcase Plugin for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.18 | 53.79 ▲2.65 |
Dashboard /wp-admin | 3.56 ▲0.16 | 38.63 ▲6.96 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 42.90 ▲3.81 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.04 | 98.32 ▼1,157.81 |
Media Library /wp-admin/upload.php | 3.50 ▲0.19 | 25.97 ▼5.04 |
Team Members /wp-admin/edit.php?post_type=totalteam | 3.56 | 37.49 |
How To Use /wp-admin/edit.php?post_type=totalteam&page=totalteam-how-to | 3.50 | 27.06 |
More WorPress Stuffs /wp-admin/edit.php?post_type=totalteam&page=totalteam-about-us | 3.50 | 28.25 |
Add New Member /wp-admin/post-new.php?post_type=totalteam | 3.85 | 45.55 |
Shortcode Generator /wp-admin/edit.php?post_type=totalteam&page=totalteam-shortcode-generator | 3.50 | 31.08 |
Team Category /wp-admin/edit-tags.php?taxonomy=totalteam_taxonomy&post_type=totalteam | 3.57 | 31.34 |
Server storage [IO: ▲4.82MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 104 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_ttp_custom_design_template_table |
New WordPress options |
---|
ttp_typography |
widget_totalteam_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Total Team Lite - Responsive Team Manager / Showcase Plugin for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 5,888 ▲2,166 | 18.71 ▲2.92 | 11.96 ▲6.35 | 2.49 ▲0.33 |
Dashboard /wp-admin | 4,559 ▲1,698 | 7.86 ▲1.66 | 154.83 ▲21.24 | 173.54 ▲10.08 |
Posts /wp-admin/edit.php | 4,388 ▲1,694 | 5.45 ▲2.22 | 87.86 ▲24.20 | 164.09 ▲27.88 |
Add New Post /wp-admin/post-new.php | 2,691 ▲931 | 18.13 ▲1.10 | 344.41 ▼116.96 | 186.41 ▲26.73 |
Media Library /wp-admin/upload.php | 3,173 ▲1,475 | 6.42 ▲0.90 | 113.14 ▼27.42 | 192.50 ▼2.88 |
Team Members /wp-admin/edit.php?post_type=totalteam | 3,115 | 5.29 | 86.02 | 120.13 |
How To Use /wp-admin/edit.php?post_type=totalteam&page=totalteam-how-to | 2,959 | 5.27 | 79.76 | 125.33 |
More WorPress Stuffs /wp-admin/edit.php?post_type=totalteam&page=totalteam-about-us | 3,120 | 9.47 | 151.38 | 174.76 |
Add New Member /wp-admin/post-new.php?post_type=totalteam | 4,753 | 10.43 | 200.17 | 214.38 |
Shortcode Generator /wp-admin/edit.php?post_type=totalteam&page=totalteam-shortcode-generator | 4,063 | 5.24 | 79.36 | 144.67 |
Team Category /wp-admin/edit-tags.php?taxonomy=totalteam_taxonomy&post_type=totalteam | 3,337 | 5.27 | 83.32 | 123.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_ttp_custom_design_template_table
- Zombie WordPress options were found after uninstall: 2 options
- widget_totalteam_widget
- ttp_typography
Smoke tests 25% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 32× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/total-team-lite/inc/frontend/custom/custom-list-layout-design.php
- > /wp-content/plugins/total-team-lite/inc/frontend/totalteam-widget-frontend.php
- > /wp-content/plugins/total-team-lite/inc/backend/setting-fields/meta-ind-setting/totalteam-skills-settings.php
- > /wp-content/plugins/total-team-lite/inc/backend/setting-fields/shortcode-generator-secondary.php
- > /wp-content/plugins/total-team-lite/inc/backend/setting-fields/about.php
- > /wp-content/plugins/total-team-lite/inc/backend/includes/header.php
- > /wp-content/plugins/total-team-lite/inc/backend/setting-fields/meta-ind-setting/totalteam-grid-thumbnail-settings.php
- > /wp-content/plugins/total-team-lite/inc/frontend/custom/popup-slide-out-custom.php
- > /wp-content/plugins/total-team-lite/inc/backend/includes/totalteam-widget.php
- > /wp-content/plugins/total-team-lite/inc/frontend/carousal-layout-template.php
- 25× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/total-team-lite/inc/backend/setting-fields/shortcode-ind-setting/totalteam-shortcode-field-list.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/total-team-lite/inc/backend/setting-fields/shortcode-ind-setting/totalteam-shortcode-field-general.php:6
- > PHP Warning
include(): Failed opening 'TOTAL_TEAM_PRO_FILE_ROOT_DIRinc/frontend/custom/popup-slide-out-custom.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/total-team-lite/inc/frontend/custom/custom-list-layout-design.php on line 334
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/total-team-lite/inc/tt-block/tt-block-init.php:20
- > PHP Warning
include(TOTAL_TEAM_PRO_FILE_ROOT_DIRinc/frontend/custom/popup-slide-out-custom.php): failed to open stream: No such file or directory in wp-content/plugins/total-team-lite/inc/frontend/custom/custom-layout-design.php on line 581
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/total-team-lite/inc/backend/setting-fields/shortcode-ind-setting/totalteam-shortcode-field-grid.php:3
- > PHP Warning
include(TOTAL_TEAM_PRO_FILE_ROOT_DIRinc/frontend/custom/popup-slide-out-custom.php): failed to open stream: No such file or directory in wp-content/plugins/total-team-lite/inc/frontend/custom/custom-carous-flip-layout-design.php on line 358
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/total-team-lite/inc/backend/setting-fields/shortcode-ind-setting/totalteam-shortcode-field-carousal.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/total-team-lite/inc/frontend/content/popup.php:2
- > PHP Warning
include(TOTAL_TEAM_PRO_FILE_ROOT_DIRinc/frontend/custom/popup-slide-out-custom.php): failed to open stream: No such file or directory in wp-content/plugins/total-team-lite/inc/frontend/custom/custom-list-layout-design.php on line 334
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=totalteam_taxonomy&post_type=totalteam
- > Javascript (severe) in unknown
/wp-content/plugins/total-team-lite/assets/js/wp-color-picker-alpha.js?ver=1.1.2 23:16 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
total-team-lite/total-team-lite.php 92% from 13 tests
This is the main PHP file of "Total Team Lite - Responsive Team Manager / Showcase Plugin for WordPress" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
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
Everything looks great! No dangerous files found in this plugin30,887 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 2,879 | 529 | 19,588 |
PHP | 42 | 205 | 652 | 4,970 |
JavaScript | 11 | 715 | 1,016 | 3,658 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 93.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 4.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 1.40MB with 0.72MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/total-team-lite-logo.png | 12.09KB | 4.57KB | ▼ 62.24% |
assets/css/images/controls.png | 1.23KB | 1.28KB | 0.00% |
assets/images/logo.png | 5.79KB | 4.02KB | ▼ 30.51% |
assets/images/total-team-upgrade-to-pro-feature.png | 775.25KB | 25.50KB | ▼ 96.71% |
assets/images/theme.png | 52.01KB | 17.38KB | ▼ 66.59% |