Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.76MB] [CPU: ▲2.79ms] Passed 4 tests
An overview of server-side resources used by WebSitter Pro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.87 ▲1.41 | 36.81 ▼4.23 |
Dashboard /wp-admin | 5.20 ▲1.89 | 61.39 ▲8.23 |
Posts /wp-admin/edit.php | 5.26 ▲1.91 | 63.20 ▲12.13 |
Add New Post /wp-admin/post-new.php | 8.30 ▲2.42 | 103.34 ▼4.99 |
Media Library /wp-admin/upload.php | 5.06 ▲1.83 | 54.52 ▲17.59 |
Settings /wp-admin/admin.php?page=triage-trak-main-settings | 5.03 | 68.35 |
Import /wp-admin/admin.php?page=triage-trak-import | 5.02 | 53.66 |
Authentication /wp-admin/admin.php?page=triage-trak | 5.03 | 45.98 |
Server storage [IO: ▲16.52MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 701 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
triage-trak-main-settings |
db_upgraded |
widget_tt_search_bar |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics 75% from 4 tests
This is an overview of browser requirements for WebSitter Pro
You may want to improve the following
- Nodes: Try to keep the DOM nodes under 25,000 (currently 43,799 on /wp-admin/admin.php?page=triage-trak-main-settings)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲149 | 13.41 ▼0.94 | 8.46 ▲6.76 | 37.28 ▼5.50 |
Dashboard /wp-admin | 2,218 ▲40 | 5.64 ▼0.10 | 94.34 ▼15.67 | 71.42 ▲26.92 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.03 ▲0.03 | 39.21 ▼2.69 | 36.72 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,580 ▲49 | 23.37 ▲0.27 | 705.98 ▲43.18 | 54.20 ▲1.25 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.17 ▼0.20 | 99.59 ▼11.60 | 85.07 ▲36.60 |
Settings /wp-admin/admin.php?page=triage-trak-main-settings | 43,799 | 5.27 | 291.91 | 114.53 |
Import /wp-admin/admin.php?page=triage-trak-import | 861 | 2.04 | 27.66 | 29.26 |
Authentication /wp-admin/admin.php?page=triage-trak | 846 | 2.16 | 27.91 | 32.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- triage-trak-main-settings
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_tt_search_bar
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctors-dynamic-styles.php+28
Undefined index: doc_photo
- 25916 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctor-buttons-dynamic-styles.php+55
Trying to access array offset on value of type null
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctors-dynamic-styles.php+32
Undefined index: doc_photo_border
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctors-dynamic-styles.php+41
Undefined index: doc_card_info_border_radius
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctors-dynamic-styles.php+48
Undefined index: doc_card_info_border
- 418 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctor-cards-dynamic-styles.php+19
Undefined index: card_border_radius
- 418 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctor-cards-dynamic-styles.php+26
Undefined index: card_border
- 418 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctor-buttons-dynamic-styles.php+21
Undefined index: doc_btn_radius
- 418 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctor-buttons-dynamic-styles.php+28
Undefined index: doc_btn_border
- 418 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctor-buttons-dynamic-styles.php+42
Undefined index: doc_filter_btn_radius
- 418 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/doctors/doctor-buttons-dynamic-styles.php+49
Undefined index: doc_filter_btn_border
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/locations-dynamic-styles.php+30
Undefined index: loc_photo
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/locations-dynamic-styles.php+34
Undefined index: loc_photo_border
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/locations-dynamic-styles.php+43
Undefined index: loc_card_info_border_radius
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/locations-dynamic-styles.php+50
Undefined index: loc_card_info_border
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/location-cards-dynamic-styles.php+16
Undefined index: loc_card_border_radius
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/location-cards-dynamic-styles.php+23
Undefined index: loc_card_border
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/location-buttons-dynamic-styles.php+21
Undefined index: loc_btn_radius
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/location-buttons-dynamic-styles.php+28
Undefined index: loc_btn_border
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/location-buttons-dynamic-styles.php+42
Undefined index: loc_filter_btn_radius
- 209 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Notice in wp-content/plugins/triagetrak/admin/custom-styles/locations/location-buttons-dynamic-styles.php+49
Undefined index: loc_filter_btn_border
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
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/triagetrak/admin/view/admin/triage-trak-admin-display.php
- > /wp-content/plugins/triagetrak/admin/view/locations/location-card-template.php
- > /wp-content/plugins/triagetrak/admin/view/admin/triage-trak-import-display.php
- > /wp-content/plugins/triagetrak/admin/view/doctors/doctor-card-template.php
- > /wp-content/plugins/triagetrak/includes/class-triage-trak-ajax.php
- > /wp-content/plugins/triagetrak/admin/view/departments/department-card-template.php
- 85× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/triagetrak/admin/shortcodes/departments-list/templates/departments-list-template.php:2
- > PHP Warning
Use of undefined constant TRIAGE_TRAK_BASE_DIR - assumed 'TRIAGE_TRAK_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/triagetrak/admin/shortcodes/lib/load.php on line 2
- > PHP Warning
Use of undefined constant TRIAGE_TRAK_BASE_DIR - assumed 'TRIAGE_TRAK_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/triagetrak/admin/shortcodes/doctors-slider/load.php on line 2
- > PHP Warning
Use of undefined constant TRIAGE_TRAK_BASE_DIR - assumed 'TRIAGE_TRAK_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/triagetrak/admin/controller/class-doctors-triage-trak.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/triagetrak/admin/view/modals/doctors-slider-shortcode-form.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/triagetrak/admin/widgets/search-bar/search.php:2
- > PHP Warning
Use of undefined constant TRIAGE_TRAK_BASE_DIR - assumed 'TRIAGE_TRAK_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/triagetrak/admin/shortcodes/departments-list/load.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Triage_Trak_Locations' not found in wp-content/plugins/triagetrak/admin/view/locations/templates/locations-list.php:13
- > PHP Warning
require_once(TRIAGE_TRAK_BASE_DIRadmin/controller/class-doctors-triage-trak.php): failed to open stream: No such file or directory in wp-content/plugins/triagetrak/admin/controller/class-import-changes-triage-trak.php on line 15
- > PHP Fatal error
Uncaught Error: Interface 'TriageTrak\\Modules\\Shortcodes\\Lib\\ShortcodeInterface' not found in wp-content/plugins/triagetrak/admin/shortcodes/departments-list/departments-list.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=triage-trak-main-settings
- > Network (severe)
http://fonts.googleapis.com/css?family=%20: - Failed to load resource: the server responded with a status of 400 (Bad Request)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Donate link: Please fix this invalid URI: "None"
- Plugin Name: Please specify the plugin name on the first line (
=== WebSitter Pro ===
)
triagetrak/triage-trak.php 85% from 13 tests
Analyzing the main PHP file in "WebSitter Pro" version 4.0.11
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("triagetrak.php" instead of "triage-trak.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 185 characters long)
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
Good job! No executable or dangerous file extensions detected59,977 lines of code in 610 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 19,667 |
JavaScript | 428 | 2,841 | 8,945 | 13,219 |
PHP | 134 | 3,049 | 2,875 | 12,419 |
CSS | 22 | 445 | 312 | 8,422 |
Sass | 16 | 464 | 18 | 2,895 |
SVG | 8 | 0 | 0 | 2,678 |
PO File | 1 | 294 | 626 | 677 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 15.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 1 | 1.47% |
▷ Concrete classes | 67 | 98.53% |
▷ Final classes | 0 | 0.00% |
Methods | 325 | |
▷ Static methods | 44 | 13.54% |
▷ Public methods | 288 | 88.62% |
▷ Protected methods | 15 | 4.62% |
▷ Private methods | 22 | 6.77% |
Functions | 64 | |
▷ Named functions | 60 | 93.75% |
▷ Anonymous functions | 4 | 6.25% |
Constants | 16 | |
▷ Global constants | 6 | 37.50% |
▷ Class constants | 10 | 62.50% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
24 PNG files occupy 0.16MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/exopite-simple-options/assets/images/ui-bg_flat_0_888888_40x100.png | 0.17KB | 0.08KB | ▼ 51.40% |
admin/exopite-simple-options/assets/images/ui-bg_glass_25_e1f0f5_1x400.png | 0.11KB | 0.11KB | 0.00% |
admin/img/MenuIcon.png | 5.64KB | 0.71KB | ▼ 87.39% |
admin/img/tt_icon.png | 4.47KB | 1.74KB | ▼ 61.10% |
admin/exopite-simple-options/assets/images/ui-icons_bf3030_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |