Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.36ms] Passed 4 tests
Server-side resources used by WooCommerce Teams
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.59 ▼9.20 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.05 ▼6.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.15 ▲0.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.32 ▼10.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.49 ▲5.88 |
Woo Teams /wp-admin/admin.php?page=woocommerce-teams/woocommerce-teams.php | 3.20 | 32.75 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Teams
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.37 ▼0.38 | 1.73 ▼0.14 | 41.48 ▼9.45 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▼0.09 | 91.65 ▼9.35 | 39.55 ▼6.85 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.05 ▲0.04 | 35.94 ▼3.54 | 32.40 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,531 ▼14 | 23.25 ▲0.02 | 663.43 ▲0.43 | 56.88 ▲3.82 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.23 ▼0.02 | 97.62 ▼7.64 | 45.48 ▼3.70 |
Woo Teams /wp-admin/admin.php?page=woocommerce-teams/woocommerce-teams.php | 853 | 2.01 | 26.91 | 25.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woocommerce-teams/woocommerce-teams.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: teams, woocommerce, fundraising, competition, non-profit...
woocommerce-teams/woocommerce-teams.php Passed 13 tests
The main file in "WooCommerce Teams" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
73 characters long description:
This plugin enables the creation of fundraising teams within WooCommerce.
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 plugin192 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 53 | 169 |
CSS | 1 | 5 | 4 | 23 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin