Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼9.27ms] Passed 4 tests
An overview of server-side resources used by Showcase Your Team
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 43.82 ▲2.21 |
Dashboard /wp-admin | 3.42 ▲0.08 | 50.42 ▼16.54 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 48.01 ▲2.54 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 83.25 ▼19.92 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 37.09 ▼2.84 |
Team Members /wp-admin/edit.php?post_type=teammember | 3.39 | 36.10 |
Add New /wp-admin/post-new.php?post_type=teammember | 6.08 | 78.37 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_tishonator-sytp-display-teammembers |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Showcase Your Team
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲149 | 13.39 ▼1.14 | 8.23 ▲6.49 | 42.36 ▼0.27 |
Dashboard /wp-admin | 2,216 ▲36 | 5.54 ▼0.12 | 91.33 ▼18.85 | 38.00 ▼8.92 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.03 ▲0.08 | 33.68 ▼2.90 | 34.51 ▼4.08 |
Add New Post /wp-admin/post-new.php | 6,226 ▲4,689 | 19.08 ▲0.69 | 961.76 ▲293.82 | 62.40 ▼12.25 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.08 ▼0.18 | 101.15 ▼5.70 | 42.99 ▲1.00 |
Team Members /wp-admin/edit.php?post_type=teammember | 1,087 | 1.97 | 31.60 | 30.52 |
Add New /wp-admin/post-new.php?post_type=teammember | 1,641 | 16.79 | 819.20 | 34.21 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_tishonator-sytp-display-teammembers
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/showcase-your-team/team-members-widget.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/showcase-your-team/team-members-widget.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/showcase-your-team/single-teammember.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: team members, showcase your team, meet the team, people, staff
showcase-your-team/showcase-your-team.php 92% from 13 tests
"Showcase Your Team" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,582 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 63 | 15 | 2,401 |
SVG | 1 | 0 | 0 | 655 |
PHP | 3 | 170 | 77 | 469 |
JavaScript | 2 | 19 | 0 | 57 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin