Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼8.10ms] Passed 4 tests
This is a short check of server-side resources used by Metaphor Members
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 45.80 ▲11.15 |
Dashboard /wp-admin | 3.58 ▲0.23 | 45.05 ▼13.55 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 44.61 ▼5.00 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 82.71 ▼16.99 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 37.12 ▲3.16 |
Categories /wp-admin/edit-tags.php?taxonomy=mtphr_member_category&post_type=mtphr_member | 3.50 | 34.29 |
Settings /wp-admin/edit.php?post_type=mtphr_member&page=mtphr_members_settings_menu | 3.51 | 37.31 |
Members /wp-admin/edit.php?post_type=mtphr_member | 3.55 | 33.09 |
Add New /wp-admin/post-new.php?post_type=mtphr_member | 3.66 | 51.33 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
mtphr_members_settings |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Metaphor Members
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲178 | 13.48 ▼1.25 | 10.03 ▲8.48 | 51.40 ▲7.47 |
Dashboard /wp-admin | 2,237 ▲60 | 5.62 ▲0.02 | 91.09 ▲6.36 | 39.92 ▲4.49 |
Posts /wp-admin/edit.php | 2,139 ▲36 | 2.05 ▲0.03 | 33.52 ▼10.25 | 33.83 ▼5.13 |
Add New Post /wp-admin/post-new.php | 1,568 ▲37 | 23.06 ▲0.38 | 674.57 ▲88.89 | 60.64 ▲11.87 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.21 ▲0.06 | 101.72 ▼1.56 | 43.86 ▼5.40 |
Categories /wp-admin/edit-tags.php?taxonomy=mtphr_member_category&post_type=mtphr_member | 1,310 | 2.16 | 27.44 | 29.11 |
Settings /wp-admin/edit.php?post_type=mtphr_member&page=mtphr_members_settings_menu | 1,117 | 3.27 | 38.12 | 53.34 |
Members /wp-admin/edit.php?post_type=mtphr_member | 1,111 | 1.92 | 30.76 | 28.18 |
Add New /wp-admin/post-new.php?post_type=mtphr_member | 2,482 | 7.97 | 165.55 | 71.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- mtphr_members_settings
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- 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
The smoke test was a success, however most plugin functionality was not tested
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
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mtphr-members/includes/admin/meta-boxes.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mtphr-members/includes/shortcode-gen.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mtphr-members/includes/admin/shortcode-gen.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mtphr-members/includes/admin/generators/archive.php:142
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mtphr-members/includes/filters.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mtphr-members/includes/scripts.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mtphr-members/includes/admin/generators/title.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mtphr-members/includes/admin/settings.php:83
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mtphr-members/mtphr-members.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mtphr-members/includes/shortcodes.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (Coming soon.) image required
mtphr-members/mtphr-members.php Passed 13 tests
"Metaphor Members" version 1.1.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
115 characters long description:
Adds a custom post type to easily create a collection of members. Add a member archive to any page with shortcodes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3,059 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 573 | 352 | 1,824 |
PO File | 2 | 227 | 523 | 565 |
CSS | 2 | 28 | 58 | 411 |
JavaScript | 3 | 99 | 54 | 251 |
XML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 80 | |
▷ Named functions | 80 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-32.png | 2.82KB | 1.64KB | ▼ 41.96% |
assets/images/icon-16.png | 2.24KB | 1.41KB | ▼ 37.03% |
assets/images/icons-social.png | 34.54KB | 17.20KB | ▼ 50.20% |
assets/images/layout-icons/sidebar-left.png | 1.04KB | 0.12KB | ▼ 88.91% |
assets/images/layout-icons/full-width.png | 1.03KB | 0.10KB | ▼ 90.03% |