Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼10.00ms] Passed 4 tests
A check of server-side resources used by ST Members List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.80 ▲0.10 |
Dashboard /wp-admin | 3.36 ▲0.01 | 43.76 ▼16.17 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.03 ▼7.75 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 87.00 ▼16.19 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.55 ▲1.24 |
Add New Member /wp-admin/post-new.php?post_type=members_list | 3.87 | 55.48 |
All Members /wp-admin/edit.php?post_type=members_list | 3.32 | 41.03 |
Server storage [IO: ▲5.39MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 336 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
ST Members List: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲202 | 13.51 ▼1.23 | 8.79 ▲7.04 | 40.92 ▼3.36 |
Dashboard /wp-admin | 2,233 ▲53 | 5.57 ▼0.07 | 92.21 ▲5.67 | 42.50 ▲3.66 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.02 ▲0.05 | 36.01 ▼5.78 | 31.71 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.23 ▲0.14 | 622.39 ▼12.78 | 61.46 ▲3.15 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.25 ▲0.09 | 102.36 ▲0.88 | 41.72 ▼2.50 |
Add New Member /wp-admin/post-new.php?post_type=members_list | 2,620 | 9.06 | 196.96 | 71.86 |
All Members /wp-admin/edit.php?post_type=members_list | 1,108 | 1.96 | 39.45 | 32.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/st-members-list/index.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/st-members-list/metabox/init.php:119
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/st-members-list/metabox/tests/cmb-tests-base.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/st-members-list/single-member.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/st-members-list/metabox/tests/cmb-tests-base.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/st-members-list/metabox/custom.php:4
- > PHP Fatal error
require_once(): Failed opening required '/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/st-members-list/metabox/tests/bootstrap.php on line 24
- > PHP Warning
require_once(/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/st-members-list/metabox/tests/bootstrap.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/st-members-list/metabox/tests/cmb-tests-base.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/st-members-list/metabox/example-functions.php:68
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Contributors: Plugin contributors not specified
- Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== st-members-list ===
)
st-members-list/index.php 92% from 13 tests
The main PHP file in "ST Members List" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("st-members-list.php" instead of "index.php")
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 plugin89,456 lines of code in 182 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 2 | 0 | 0 | 47,741 |
PO File | 119 | 12,731 | 16,329 | 29,151 |
PHP | 24 | 1,448 | 2,314 | 4,873 |
CSS | 9 | 1,028 | 1,053 | 4,176 |
Sass | 11 | 168 | 23 | 1,116 |
JavaScript | 6 | 199 | 175 | 913 |
SVG | 1 | 0 | 0 | 655 |
Markdown | 4 | 172 | 0 | 487 |
YAML | 2 | 9 | 0 | 152 |
JSON | 3 | 0 | 0 | 121 |
Bourne Shell | 1 | 19 | 7 | 71 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 28.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 0 | 0.00% |
Methods | 325 | |
▷ Static methods | 23 | 7.08% |
▷ Public methods | 309 | 95.08% |
▷ Protected methods | 10 | 3.08% |
▷ Private methods | 6 | 1.85% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
metabox/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
metabox/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
metabox/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
metabox/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
css/grabbing.png | 0.11KB | 0.14KB | 0.00% |