Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.38MB] [CPU: ▼2.02ms] Passed 4 tests
A check of server-side resources used by Team Showcase
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.38 | 36.28 ▼2.76 |
Dashboard /wp-admin | 3.68 ▲0.37 | 47.14 ▼1.39 |
Posts /wp-admin/edit.php | 3.80 ▲0.43 | 44.56 ▲0.06 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 95.59 ▼3.98 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 39.39 ▲9.58 |
Team Showcase Info /wp-admin/options-general.php?page=team-pro-features | 3.57 | 33.05 |
Team Groups /wp-admin/edit-tags.php?taxonomy=team_mfcategory&post_type=team_mf | 3.60 | 56.95 |
Create Shortcode /wp-admin/post-new.php?post_type=team_mf_team | 3.66 | 49.95 |
All Shortcodes /wp-admin/edit.php?post_type=team_mf_team | 3.61 | 35.63 |
All Team Members /wp-admin/edit.php?post_type=team_mf | 3.61 | 32.67 |
Add New Member /wp-admin/post-new.php?post_type=team_mf | 3.74 | 56.52 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
tpteamshowcase_installed |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Team Showcase
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲182 | 13.76 ▼0.80 | 9.36 ▲7.89 | 37.47 ▼2.45 |
Dashboard /wp-admin | 2,246 ▲65 | 5.65 ▼0.08 | 83.40 ▼18.49 | 39.92 ▼4.18 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.03 ▲0.03 | 36.78 ▲2.26 | 36.19 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,575 ▲47 | 23.26 ▲0.49 | 614.80 ▲29.41 | 50.19 ▼9.58 |
Media Library /wp-admin/upload.php | 1,445 ▲42 | 4.23 ▲0.04 | 96.63 ▼3.59 | 41.93 ▼2.24 |
Team Showcase Info /wp-admin/options-general.php?page=team-pro-features | 1,208 | 2.09 | 22.98 | 48.07 |
Team Groups /wp-admin/edit-tags.php?taxonomy=team_mfcategory&post_type=team_mf | 1,322 | 2.12 | 28.13 | 31.70 |
Create Shortcode /wp-admin/post-new.php?post_type=team_mf_team | 3,566 | 4.09 | 106.19 | 35.41 |
All Shortcodes /wp-admin/edit.php?post_type=team_mf_team | 1,183 | 2.51 | 35.63 | 29.11 |
All Team Members /wp-admin/edit.php?post_type=team_mf | 1,155 | 1.94 | 29.45 | 30.33 |
Add New Member /wp-admin/post-new.php?post_type=team_mf | 2,602 | 7.69 | 167.44 | 64.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- tpteamshowcase_installed
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=team_mf
- > Notice in wp-content/plugins/team-showcase/admin/team-manager-free-post-type.php+382
Undefined index: order
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 on the user side
Optimizations
Plugin configuration 83% 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:
- Tags: You are using too many tags: 18 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #14 (screenshot-14), #15 (screenshot-15)
team-showcase/team-manager-free.php 77% from 13 tests
"Team Showcase" version 2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("team-showcase.php" instead of "team-manager-free.php")
- Description: The description should be shorter than 140 characters (currently 198 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin7,964 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 258 | 158 | 3,049 |
CSS | 6 | 40 | 58 | 2,454 |
JavaScript | 7 | 406 | 292 | 1,895 |
SVG | 2 | 0 | 0 | 566 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 37 | |
▷ Named functions | 37 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icons.png | 0.71KB | 0.43KB | ▼ 39.64% |