Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/yast-yet-another-support-tool/yast.php+19
Methods with the same name as their class will not be constructors in a future version of PHP; YAST_class has a deprecated constructor
Server metrics [RAM: ▼1.53MB] [CPU: ▼62.59ms] Passed 4 tests
Server-side resources used by YAST : Yet Another Support Tool
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.46 ▼1.00 | 6.17 ▼36.50 |
Dashboard /wp-admin | 2.49 ▼0.86 | 7.20 ▼63.03 |
Posts /wp-admin/edit.php | 2.49 ▼0.87 | 7.81 ▼45.12 |
Add New Post /wp-admin/post-new.php | 2.49 ▼3.40 | 7.56 ▼105.70 |
Media Library /wp-admin/upload.php | 2.49 ▼0.74 | 8.11 ▼27.42 |
Support Tickets /wp-admin/admin.php?page=yast_list | 2.49 | 8.37 |
Ticket types /wp-admin/edit-tags.php?taxonomy=ticket_type | 2.49 | 8.47 |
Options /wp-admin/admin.php?page=yast_options | 2.49 | 6.06 |
Server storage [IO: ▲0.33MB] [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: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for YAST : Yet Another Support Tool
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,479 ▲718 | 13.90 ▼0.35 | 10.52 ▲8.64 | 44.23 ▲0.33 |
Dashboard /wp-admin | 2,453 ▲255 | 4.94 ▼0.15 | 105.43 ▼6.90 | 42.07 ▼3.54 |
Posts /wp-admin/edit.php | 2,343 ▲243 | 2.21 ▲0.16 | 44.69 ▲3.93 | 36.22 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,744 ▲189 | 23.35 ▲5.12 | 678.52 ▲51.79 | 71.68 ▲21.07 |
Media Library /wp-admin/upload.php | 1,646 ▲249 | 4.57 ▲0.31 | 104.60 ▼5.25 | 50.57 ▲3.41 |
Support Tickets /wp-admin/admin.php?page=yast_list | 1,259 | 2.14 | 40.84 | 30.74 |
Ticket types /wp-admin/edit-tags.php?taxonomy=ticket_type | 1,533 | 1.90 | 34.12 | 32.85 |
Options /wp-admin/admin.php?page=yast_options | 1,197 | 2.21 | 28.77 | 28.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/yast-yet-another-support-tool/yast.php+19
Methods with the same name as their class will not be constructors in a future version of PHP; YAST_class has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=yast_options
- > Deprecated in wp-content/plugins/yast-yet-another-support-tool/yast.php+19
Methods with the same name as their class will not be constructors in a future version of PHP; YAST_class has a deprecated constructor
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=yast_options
- > Deprecated in wp-content/plugins/yast-yet-another-support-tool/front.php+5
Methods with the same name as their class will not be constructors in a future version of PHP; YAST_front has a deprecated constructor
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=yast_options
- > Deprecated in wp-content/plugins/yast-yet-another-support-tool/tools.php+4
Methods with the same name as their class will not be constructors in a future version of PHP; YAST_tools has a deprecated constructor
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=yast_options
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- > GET request to /wp-admin/admin.php?page=yast_options
- > Warning in wp-content/plugins/yast-yet-another-support-tool/inc/view.options.php+9
in_array() expects parameter 2 to be array, string given
- > GET request to /wp-admin/admin.php?page=yast_options
- > Warning in wp-content/plugins/yast-yet-another-support-tool/inc/view.options.php+63
implode(): Invalid arguments passed
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/yast-yet-another-support-tool/yast.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/yast-yet-another-support-tool/inc/assign.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/yast-yet-another-support-tool/inc/get_conf_param.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/yast-yet-another-support-tool/inc/view.single.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/yast-yet-another-support-tool/archive-yast.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/yast-yet-another-support-tool/inc/view.box.info.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/yast-yet-another-support-tool/inc/form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/yast-yet-another-support-tool/inc/reply.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/yast-yet-another-support-tool/inc/form-js.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function register_post_status() in wp-content/plugins/yast-yet-another-support-tool/inc/register.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: wphelp, tickets, ticket, support, assistance...
yast-yet-another-support-tool/yast.php 85% from 13 tests
The main file in "YAST : Yet Another Support Tool" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("yast-yet-another-support-tool.php" instead of "yast.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
Good job! No executable or dangerous file extensions detected3,548 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 198 | 373 | 2,536 |
PO File | 1 | 196 | 235 | 461 |
CSS | 4 | 32 | 57 | 335 |
JavaScript | 4 | 22 | 6 | 188 |
SVG | 1 | 0 | 0 | 28 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 75.33 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin