Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/tryst/includes/class-tryst.php+349
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.71MB] [CPU: ▼55.38ms] Passed 4 tests
This is a short check of server-side resources used by Tryst
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.17 | 6.73 ▼34.45 |
Dashboard /wp-admin | 2.31 ▼1.03 | 7.66 ▼59.13 |
Posts /wp-admin/edit.php | 2.31 ▼1.04 | 6.36 ▼40.72 |
Add New Post /wp-admin/post-new.php | 2.31 ▼3.58 | 7.55 ▼87.20 |
Media Library /wp-admin/upload.php | 2.31 ▼0.92 | 7.18 ▼27.54 |
All meetings /wp-admin/edit.php?post_type=tryst | 2.31 | 7.89 |
New /wp-admin/post-new.php?post_type=tryst | 2.31 | 7.63 |
Tryst /wp-admin/options-general.php?page=tryst-setting-admin | 2.31 | 6.86 |
Agenda /wp-admin/edit-tags.php?taxonomy=agenda&post_type=tryst | 2.31 | 8.13 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 114 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
category_children |
tryst_option |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Tryst
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲144 | 13.24 ▼1.18 | 14.74 ▲13.08 | 41.19 ▼2.79 |
Dashboard /wp-admin | 2,245 ▲60 | 5.79 ▼0.02 | 104.01 ▼2.90 | 38.68 ▼1.62 |
Posts /wp-admin/edit.php | 2,146 ▲54 | 2.06 ▼0.08 | 37.58 ▼1.88 | 32.42 ▼4.12 |
Add New Post /wp-admin/post-new.php | 1,550 ▲36 | 22.78 ▲5.26 | 688.20 ▲59.95 | 63.31 ▲4.37 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.15 ▼0.09 | 96.87 ▼1.32 | 43.67 ▼1.09 |
All meetings /wp-admin/edit.php?post_type=tryst | 1,101 | 1.97 | 35.67 | 36.51 |
New /wp-admin/post-new.php?post_type=tryst | 1,696 | 2.77 | 53.21 | 57.91 |
Tryst /wp-admin/options-general.php?page=tryst-setting-admin | 893 | 2.06 | 28.93 | 27.16 |
Agenda /wp-admin/edit-tags.php?taxonomy=agenda&post_type=tryst | 1,380 | 2.14 | 26.86 | 32.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/tryst/includes/class-tryst.php+349
Illegal string offset 'form_country'
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- category_children
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- tryst_option
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=agenda&post_type=tryst
- > Warning in wp-content/plugins/tryst/includes/class-tryst.php+349
Illegal string offset 'form_country'
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=agenda&post_type=tryst
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- > GET request to /wp-admin/post-new.php?post_type=tryst
- > Notice in wp-content/plugins/tryst/includes/class-tryst-i18n.php+266
Undefined index: a
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 take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/tryst/public/partials/tryst-public-display.php
- > /wp-content/plugins/tryst/admin/partials/tryst-admin-display.php
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: agenda in wp-content/plugins/tryst/public/templates/form-meeting.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tryst/public/templates/modal-form-meeting.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tryst/public/templates/pt-BR/fields.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tryst/public/templates/en-US/fields.php:1
- > PHP Fatal error
Uncaught Error: Call to a member function getPreviousMonthLink() on null in wp-content/plugins/tryst/public/templates/calendar.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function Tryst\\is_admin() in wp-content/plugins/tryst/includes/class-tryst-settings.php:287
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tryst/public/templates/en-US/Domain/fields.php:1
- > PHP Notice
Undefined variable: agenda in wp-content/plugins/tryst/public/templates/calendar.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tryst/public/templates/pt-BR/Domain/fields.php:1
- > PHP Fatal error
Uncaught Error: Call to a member function getOptions() on null in wp-content/plugins/tryst/public/templates/form-meeting.php:4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: member, meeting, tryst, calendar
tryst/tryst.php 92% from 13 tests
The entry point to "Tryst" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Make the plugin description longer than 10 characters (currently 8 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected16,206 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 44 | 342 | 1,171 | 7,374 |
JSON | 3 | 0 | 0 | 5,745 |
PHP | 35 | 445 | 957 | 2,210 |
CSS | 8 | 77 | 16 | 542 |
PO File | 1 | 72 | 75 | 157 |
HTML | 1 | 8 | 0 | 126 |
Sass | 1 | 9 | 0 | 52 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 175 | |
▷ Static methods | 23 | 13.14% |
▷ Public methods | 161 | 92.00% |
▷ Protected methods | 1 | 0.57% |
▷ Private methods | 13 | 7.43% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/calendar-1.png | 17.68KB | 8.33KB | ▼ 52.87% |
public/img/keys-small.png | 4.60KB | 2.35KB | ▼ 48.89% |
public/jQuery-Validation-Engine-master/css/screenshot.png | 34.99KB | 10.34KB | ▼ 70.44% |
public/img/calendar-1-small.png | 1.04KB | 0.70KB | ▼ 32.49% |
public/img/debut_light.png | 19.00KB | 19.63KB | 0.00% |