Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼7.28ms] Passed 4 tests
This is a short check of server-side resources used by WP Super Team
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.36 ▼1.69 |
Dashboard /wp-admin | 3.42 ▲0.11 | 46.99 ▼3.94 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 47.41 ▼2.50 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 84.92 ▼20.99 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.23 ▼1.19 |
Staffs /wp-admin/edit.php?post_type=wp_super_team | 3.38 | 43.00 |
Add New Staff /wp-admin/post-new.php?post_type=wp_super_team | 6.05 | 81.65 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Super Team
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.20 ▼1.41 | 1.69 ▲0.05 | 39.65 ▼1.02 |
Dashboard /wp-admin | 2,237 ▲52 | 4.84 ▼1.06 | 101.73 ▼4.58 | 42.01 ▲0.25 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.02 ▼0.03 | 39.72 ▼0.18 | 35.34 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 17.66 ▼0.41 | 674.19 ▲56.69 | 76.20 ▲31.41 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.21 ▼0.09 | 104.26 ▲1.06 | 42.85 ▼1.77 |
Staffs /wp-admin/edit.php?post_type=wp_super_team | 1,108 | 1.93 | 32.52 | 28.44 |
Options /wp-admin/super-team-options.php?post_type=wp_super_team | 26 | 0.44 | 0.24 | 14.00 |
Add New Staff /wp-admin/post-new.php?post_type=wp_super_team | 6,527 | 24.42 | 893.00 | 41.81 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/super-team-options.php?post_type=wp_super_team
- > Network (severe)
wp-admin/super-team-options.php?post_type=wp_super_team - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #5 is required in wp-super-team/assets to your readme.txt
wp-super-team/super-team.php 85% from 13 tests
This is the main PHP file of "WP Super Team" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-super-team.php" instead of "super-team.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
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
Everything looks great! No dangerous files found in this plugin3,662 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 0 | 12 | 2,834 |
SVG | 1 | 0 | 0 | 504 |
PHP | 1 | 4 | 120 | 300 |
JavaScript | 1 | 5 | 0 | 24 |
PHP code Passed 2 tests
Analyzing 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.66 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/default-user.png | 44.17KB | 31.61KB | ▼ 28.44% |