Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.64MB] [CPU: ▼20.26ms] Passed 4 tests
This is a short check of server-side resources used by Pro Teams
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.91 ▼6.61 |
Dashboard /wp-admin | 3.36 ▲0.01 | 48.50 ▼16.88 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.24 ▼0.93 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 39.10 ▼56.63 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.57 ▲3.45 |
Add New /wp-admin/post-new.php?post_type=proteams | 3.14 | 35.28 |
Pro Team /wp-admin/edit.php?post_type=proteams | 3.32 | 34.24 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Pro Teams: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.37 ▲0.07 | 1.81 ▼0.16 | 39.89 ▼16.26 |
Dashboard /wp-admin | 2,222 ▲45 | 5.53 ▼0.17 | 85.82 ▼11.90 | 39.38 ▼6.59 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.01 ▼0.04 | 37.10 ▼1.00 | 35.67 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 23.34 ▲5.51 | 675.10 ▲58.85 | 55.73 ▲3.67 |
Media Library /wp-admin/upload.php | 1,421 ▲18 | 4.22 ▲0.03 | 100.31 ▲4.20 | 43.75 ▼0.79 |
Add New /wp-admin/post-new.php?post_type=proteams | 2,311 | 7.66 | 178.59 | 67.92 |
Pro Team /wp-admin/edit.php?post_type=proteams | 1,100 | 1.99 | 34.55 | 32.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=proteams
- > Notice in wp-content/plugins/pro-teams/pro-teams.php+335
Undefined index: post_type
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 items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/pro-teams/templates/single-proteams.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/pro-teams/templates/archive-proteams.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/pro-teams/addSingle.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #1 in pro-teams/assets to your readme.txt
pro-teams/pro-teams.php Passed 13 tests
The primary PHP file in "Pro Teams" version 1.0 is used by WordPress to initiate all plugin functionality
36 characters long description:
Show your team members on your page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin624 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 39 | 39 | 409 |
CSS | 1 | 36 | 11 | 179 |
PO File | 1 | 10 | 10 | 36 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 11 | |
▷ Named functions | 11 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/noimage.png | 26.12KB | 6.80KB | ▼ 73.98% |