Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/tryst-member/includes/class-tryst-member.php+173
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.83MB] [CPU: ▼60.34ms] Passed 4 tests
A check of server-side resources used by Tryst Member
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 5.64 ▼37.22 |
Dashboard /wp-admin | 2.19 ▼1.15 | 7.45 ▼61.02 |
Posts /wp-admin/edit.php | 2.19 ▼1.16 | 6.36 ▼50.90 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 6.34 ▼92.22 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 6.87 ▼28.18 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 105 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
tryst_option |
widget_recent-comments |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tryst Member
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.23 ▼0.14 | 1.79 ▼0.29 | 38.92 ▼12.71 |
Dashboard /wp-admin | 2,202 ▲28 | 5.59 ▼0.07 | 88.30 ▼27.29 | 36.80 ▼10.61 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.02 ▲0.04 | 37.05 ▼16.83 | 34.05 ▼6.85 |
Add New Post /wp-admin/post-new.php | 45 ▼1,481 | 0.42 ▼22.73 | 0.09 ▼690.44 | 9.06 ▼50.67 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.23 ▲0.06 | 103.00 ▲5.87 | 69.59 ▲26.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/tryst-member/includes/class-tryst-member.php+173
Undefined index: form_country
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- tryst_option
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tryst-member/public/templates/pt_BR/fields/form-address-fields.php
- > /wp-content/plugins/tryst-member/public/templates/pt_BR/fields/base-fields.php
- > /wp-content/plugins/tryst-member/public/templates/en_US/fields/form-address-fields.php
- > /wp-content/plugins/tryst-member/public/templates/en_US/fields/form-billet-fields.php
- > /wp-content/plugins/tryst-member/admin/includes/Domain/pt_BR/form-user-profile.php
- > /wp-content/plugins/tryst-member/admin/includes/Domain/en_US/form-user-profile.php
- > /wp-content/plugins/tryst-member/public/templates/pt_BR/fields/form-billet-fields.php
- > /wp-content/plugins/tryst-member/admin/partials/tryst-member-admin-display.php
- > /wp-content/plugins/tryst-member/public/partials/tryst-member-public-display.php
- 33× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tryst-member/public/templates/en_US/print.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_page_link() in wp-content/plugins/tryst-member/public/templates/en_US/membership.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/tryst-member/public/templates/en_US/dashboard.php:5
- > PHP Warning
include(wp-content/plugins/tryst-member/public/templates/en_US/../include_scripts.php): failed to open stream: No such file or directory in wp-content/plugins/tryst-member/public/templates/en_US/membership.php on line 1
- > PHP Notice
Undefined variable: d in wp-content/plugins/tryst-member/admin/includes/Domain/en_US/form-user-profile.php on line 353
- > PHP Notice
Trying to get property 'civil_state' of non-object in wp-content/plugins/tryst-member/admin/includes/Domain/en_US/form-user-profile.php on line 354
- > PHP Notice
Trying to get property 'civil_state' of non-object in wp-content/plugins/tryst-member/admin/includes/Domain/pt_BR/form-user-profile.php on line 353
- > PHP Notice
Trying to get property 'civil_state' of non-object in wp-content/plugins/tryst-member/admin/includes/Domain/en_US/form-user-profile.php on line 355
- > PHP Notice
Undefined variable: d in wp-content/plugins/tryst-member/admin/includes/Domain/en_US/form-user-profile.php on line 352
- > PHP Notice
Undefined variable: d in wp-content/plugins/tryst-member/admin/includes/Domain/pt_BR/form-user-profile.php on line 353
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: member, meeting, calendar, tryst
tryst-member/tryst-member.php Passed 13 tests
The principal PHP file in "Tryst Member" v. 1.1.0 is loaded by WordPress automatically on each request
24 characters long description:
Member support for Tryst
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin10,835 lines of code in 89 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 42 | 345 | 1,160 | 7,297 |
PHP | 35 | 366 | 846 | 2,463 |
CSS | 7 | 83 | 13 | 576 |
HTML | 2 | 7 | 0 | 375 |
PO File | 1 | 43 | 50 | 101 |
JSON | 2 | 0 | 0 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 23 | 18.70% |
▷ Public methods | 116 | 94.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 5.69% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/jQuery-Validation-Engine-master/css/screenshot.png | 34.99KB | 10.34KB | ▼ 70.44% |