Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.90ms] Passed 4 tests
Analyzing server-side resources used by WP Team Members
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.86 ▼6.79 |
Dashboard /wp-admin | 3.35 ▲0.04 | 51.14 ▼3.66 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.17 ▼0.12 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.54 ▼5.04 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.06 ▲0.78 |
Team Members /wp-admin/edit.php?post_type=cb-team-member | 3.32 | 38.14 |
Add New /wp-admin/post-new.php?post_type=cb-team-member | 3.40 | 49.51 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Team Members
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,157 ▲411 | 13.96 ▼0.69 | 13.45 ▲11.74 | 58.47 ▲12.98 |
Dashboard /wp-admin | 2,230 ▲42 | 4.84 ▼0.97 | 98.96 ▼8.68 | 40.52 ▼2.15 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.02 ▲0.00 | 40.30 ▲4.60 | 35.58 ▲2.14 |
Add New Post /wp-admin/post-new.php | 1,565 ▲46 | 18.69 ▼4.35 | 649.90 ▼11.13 | 60.89 ▲5.31 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.21 ▼0.02 | 94.38 ▼11.62 | 45.42 ▼0.16 |
Team Members /wp-admin/edit.php?post_type=cb-team-member | 1,086 | 1.95 | 32.07 | 28.28 |
Add New /wp-admin/post-new.php?post_type=cb-team-member | 2,359 | 7.90 | 168.29 | 70.26 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-team-members/index.php:24
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #2 (screenshot-2) image missing
wp-team-members/index.php 92% from 13 tests
Analyzing the main PHP file in "WP Team Members" version 1.2
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-team-members.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,199 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 287 | 510 | 609 |
CSS | 3 | 102 | 17 | 491 |
PHP | 1 | 43 | 13 | 99 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin