Benchmarks
Plugin footprint 81% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲11.17MB] [CPU: ▲64.60ms] 25% from 4 tests
Analyzing server-side resources used by ARMember - Membership Plugin, Content Restriction, Member Levels, User Profile & User signup
Please take the time to fix the following items
- RAM: You should keep total memory usage under 10MB (currently 14.37MB on /wp-admin/admin.php?page=arm_manage_plans)
- CPU: Total CPU usage should be kept under 500.00ms (currently 732.08ms on /wp-admin/admin.php?page=arm_feature_settings)
- Extra RAM: The extra memory usage must be under 5MB (currently 11.17MB on /wp-admin/admin.php?page=arm_manage_plans)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 14.58 ▲11.12 | 108.33 ▲61.62 |
Dashboard /wp-admin | 14.52 ▲11.17 | 130.86 ▲71.99 |
Posts /wp-admin/edit.php | 14.58 ▲11.22 | 111.56 ▲60.42 |
Add New Post /wp-admin/post-new.php | 17.33 ▲11.44 | 157.22 ▲64.37 |
Media Library /wp-admin/upload.php | 14.39 ▲11.16 | 114.16 ▲80.30 |
Modules /wp-admin/admin.php?page=arm_feature_settings | 14.60 | 732.08 |
Payment History /wp-admin/admin.php?page=arm_transactions | 14.43 | 118.74 |
Content Access Rules /wp-admin/admin.php?page=arm_access_rules | 14.43 | 120.53 |
Configure Plan + Signup Page /wp-admin/admin.php?page=arm_membership_setup | 14.59 | 119.14 |
Documentation /wp-admin/admin.php?page=arm_documentation | 14.28 | 111.24 |
Manage Members /wp-admin/admin.php?page=arm_manage_members | 14.45 | 99.68 |
Manage Subscriptions /wp-admin/admin.php?page=arm_manage_subscriptions | 14.49 | 113.44 |
Growth Plugins /wp-admin/admin.php?page=arm_growth_plugins | 14.34 | 122.71 |
Upgrade to Pro /wp-admin/admin.php?page=arm_upgrade_to_premium | 14.28 | 108.05 |
Manage Plans /wp-admin/admin.php?page=arm_manage_plans | 14.37 | 112.78 |
Server storage [IO: ▲13.88MB] [DB: ▲0.20MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 556 new files
Database: 14 new tables, 17 new options
New tables |
---|
wp_arm_member_templates |
wp_arm_membership_setup |
wp_arm_activity |
wp_arm_email_templates |
wp_arm_forms |
wp_arm_termmeta |
wp_arm_fail_attempts |
wp_arm_entries |
wp_arm_payment_log |
wp_arm_members |
... |
New WordPress options |
---|
arm_global_settings |
arm_redirection_settings |
armlite_version |
arm_show_document_video |
can_compress_scripts |
widget_recent-posts |
widget_arm_member_form_widget |
widget_arm_member_form_widget_latest_members |
widget_recent-comments |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for ARMember - Membership Plugin, Content Restriction, Member Levels, User Profile & User signup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,405 ▲643 | 14.44 ▲0.10 | 2.15 ▲0.40 | 46.22 ▲2.48 |
Dashboard /wp-admin | 2,771 ▲591 | 5.85 ▲0.20 | 103.72 ▲10.56 | 105.61 ▲59.96 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.02 ▲0.01 | 38.15 ▼3.05 | 32.84 ▼3.65 |
Add New Post /wp-admin/post-new.php | 3,811 ▲2,276 | 19.56 ▼5.66 | 895.76 ▲276.44 | 46.28 ▼17.80 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.18 ▼0.04 | 99.10 ▲0.19 | 66.47 ▲25.74 |
Modules /wp-admin/admin.php?page=arm_feature_settings | 3,079 | 21.88 | 557.36 | 137.92 |
Payment History /wp-admin/admin.php?page=arm_transactions | 2,231 | 10.97 | 633.18 | 89.26 |
Content Access Rules /wp-admin/admin.php?page=arm_access_rules | 2,859 | 25.80 | 602.38 | 112.22 |
Configure Plan + Signup Page /wp-admin/admin.php?page=arm_membership_setup | 3,014 | 24.26 | 567.30 | 91.56 |
Documentation /wp-admin/admin.php?page=arm_documentation | 1,679 | 1.38 | 11.99 | 66.95 |
Manage Members /wp-admin/admin.php?page=arm_manage_members | 2,220 | 11.10 | 608.27 | 82.32 |
Manage Subscriptions /wp-admin/admin.php?page=arm_manage_subscriptions | 2,220 | 11.04 | 576.81 | 68.61 |
Growth Plugins /wp-admin/admin.php?page=arm_growth_plugins | 1,893 | 9.70 | 552.52 | 126.97 |
Upgrade to Pro /wp-admin/admin.php?page=arm_upgrade_to_premium | 5,438 | 6.29 | 171.21 | 151.55 |
Manage Plans /wp-admin/admin.php?page=arm_manage_plans | 2,582 | 21.45 | 569.81 | 65.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- armember_lite_install_date
- db_upgraded
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/armember-membership/core/views/arm_growth_plugins.php
- > /wp-content/plugins/armember-membership/core/views/iframeupload.php
- 74× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/armember-membership/core/views/arm_membership_setup_preview.php:6
- > PHP Fatal error
Uncaught Error: Call to a member function arm_get_all_global_settings() on null in wp-content/plugins/armember-membership/core/views/arm_manage_payment_gateways.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/armember-membership/core/views/arm_font_awesome.php:1657
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/armember-membership/core/classes/class.arm_payment_gateways.php:11
- > PHP Fatal error
Uncaught Error: Call to a member function arm_get_all_roles() on null in wp-content/plugins/armember-membership/core/views/arm_member_add.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/armember-membership/core/widgets/class.arm_widgetloginwidget.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function arm_get_all_global_settings() on null in wp-content/plugins/armember-membership/core/views/arm_access_restriction_settings.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function arm_form_color_schemes() on null in wp-content/plugins/armember-membership/core/views/arm_form_editor.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function arm_get_all_member_templates() on null in wp-content/plugins/armember-membership/core/views/arm_profiles_directories.php:3
- > PHP Warning
array_map() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in wp-content/plugins/armember-membership/core/views/arm_membership_setup_add.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=arm_upgrade_to_premium
- > Javascript (severe) in unknown
https://www.armemberplugin.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=Armember_blackfriday_2023&utm_id=armember_1 3163 Access to script at 'https://embed.tawk.to/62be361b7b967b1179976ea1/1g6rg6nm5' from origin 'https://www.armemberplugin.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=arm_upgrade_to_premium
- > Network (severe)
https://embed.tawk.to/62be361b7b967b1179976ea1/1g6rg6nm5 - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: user profile, membership, content restriction, user registration, member
armember-membership/armember-membership.php 92% from 13 tests
"ARMember - Membership Plugin, Content Restriction, Member Levels, User Profile & User signup" version 4.0.18's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.0")
Code Analysis 0% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
These items require your attention
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/armember-membership/lib/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 70 | 7,100 | 4,734 | 69,558 |
SVG | 16 | 0 | 10 | 13,729 |
PO File | 1 | 2,326 | 7,214 | 4,677 |
CSS | 31 | 68 | 2 | 892 |
Pascal | 1 | 38 | 1,531 | 283 |
JavaScript | 31 | 1 | 0 | 32 |
PHP code 0% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,117)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 451)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 323.32 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 2,117.00 |
Average method complexity | 14.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 451.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 34 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 815 | |
▷ Static methods | 11 | 1.35% |
▷ Public methods | 815 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 32 | 96.97% |
▷ Anonymous functions | 1 | 3.03% |
Constants | 36 | |
▷ Global constants | 26 | 72.22% |
▷ Class constants | 10 | 27.78% |
▷ Public constants | 10 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
315 PNG files occupy 0.58MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/textarea_icon.png | 0.19KB | 0.16KB | ▼ 17.09% |
images/pay_par_post_icon.png | 1.51KB | 0.46KB | ▼ 69.66% |
images/social_icons/vk_6.png | 0.38KB | 0.40KB | 0.00% |
datatables/media/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.10KB | 0.10KB | 0.00% |
images/bootstrap_datepicker_hover.png | 0.36KB | 0.36KB | 0.00% |