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: ▼4.97ms] Passed 4 tests
An overview of server-side resources used by My Members Only - Membership for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.99 ▼6.59 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.65 ▼4.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.44 ▼2.17 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 94.70 ▼6.92 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 33.75 ▲0.54 |
Members Shortcode /wp-admin/edit.php?post_type=membersonly&page=my-members-only-shortcode | 3.27 | 27.27 |
Add New Post /wp-admin/post-new.php?post_type=membersonly | 6.02 | 83.43 |
Category /wp-admin/edit-tags.php?taxonomy=taxonomy&post_type=membersonly | 3.26 | 29.03 |
Members Only Posts /wp-admin/edit.php?post_type=membersonly | 3.31 | 33.31 |
Server storage [IO: ▲0.14MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for My Members Only - Membership for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.24 ▼1.41 | 1.97 ▲0.37 | 39.40 ▼1.80 |
Dashboard /wp-admin | 2,241 ▲49 | 4.85 ▼0.11 | 104.58 ▼4.44 | 40.57 ▼4.87 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.04 ▼0.02 | 39.49 ▼0.74 | 34.97 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.35 ▲0.19 | 607.60 ▼69.90 | 49.58 ▼10.41 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.29 ▲0.06 | 100.60 ▲0.29 | 46.43 ▲3.12 |
Members Shortcode /wp-admin/edit.php?post_type=membersonly&page=my-members-only-shortcode | 890 | 2.18 | 23.25 | 28.65 |
Add New Post /wp-admin/post-new.php?post_type=membersonly | 1,565 | 17.09 | 911.34 | 33.76 |
Category /wp-admin/edit-tags.php?taxonomy=taxonomy&post_type=membersonly | 1,294 | 2.14 | 27.71 | 29.91 |
Members Only Posts /wp-admin/edit.php?post_type=membersonly | 1,150 | 1.93 | 29.92 | 28.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/iceyi-members-only/includes/protected/membersonly.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/iceyi-members-only/includes/shortcode/membersonly.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/iceyi-members-only/includes/protected/protected-filter.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/iceyi-members-only/includes/admin/footer.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/iceyi-members-only/includes/admin/pages/my-members-only-admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/iceyi-members-only/includes/shortcode/qw_members.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/iceyi-members-only/includes/admin/head.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/iceyi-members-only/includes/protected/members-category.php:47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 73% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (...), #2 (..)
- Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
iceyi-members-only/iceyi-members-only-main.php 54% from 13 tests
The entry point to "My Members Only - Membership for WordPress" version 6.8.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires PHP: Please use periods and digits for the required version (ex. "7.0" instead of "5.4+")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 273 characters long)
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("iceyi-members-only.php" instead of "iceyi-members-only-main.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
No dangerous file extensions were detected327 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 48 | 142 | 327 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 3.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 9 | 81.82% |
▷ Anonymous functions | 2 | 18.18% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin