Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.64MB] [CPU: ▲5.03ms] Passed 4 tests
A check of server-side resources used by Ticketrilla: Server
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.10 ▲1.64 | 48.81 ▼5.74 |
Dashboard /wp-admin | 4.94 ▲1.63 | 58.30 ▲13.30 |
Posts /wp-admin/edit.php | 4.99 ▲1.64 | 62.83 ▲13.86 |
Add New Post /wp-admin/post-new.php | 7.55 ▲1.66 | 98.79 ▼1.01 |
Media Library /wp-admin/upload.php | 4.86 ▲1.63 | 50.96 ▲13.55 |
Product settings /wp-admin/admin.php?page=ticketrilla-server-product-settings | 4.87 | 48.78 |
General settings /wp-admin/admin.php?page=ticketrilla-server-general-settings | 5.00 | 58.04 |
Tickets /wp-admin/admin.php?page=ticketrilla-server-tickets | 4.96 | 48.92 |
Dashboard /wp-admin/admin.php?page=ticketrilla-server | 4.88 | 52.84 |
Users /wp-admin/admin.php?page=ticketrilla-server-users | 4.96 | 49.99 |
Licenses /wp-admin/admin.php?page=ticketrilla-server-licences | 4.95 | 49.30 |
Server storage [IO: ▲5.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 208 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ttls_upgraded_version |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Ticketrilla: Server: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲132 | 13.65 ▼0.69 | 4.16 ▲2.36 | 37.13 ▼10.19 |
Dashboard /wp-admin | 2,281 ▲90 | 5.90 ▲1.00 | 109.45 ▲2.68 | 43.82 ▼1.50 |
Posts /wp-admin/edit.php | 2,167 ▲78 | 2.17 ▲0.17 | 41.44 ▲0.48 | 39.09 ▲2.82 |
Add New Post /wp-admin/post-new.php | 1,592 ▲78 | 23.21 ▲5.76 | 675.56 ▲19.13 | 63.03 ▲9.11 |
Media Library /wp-admin/upload.php | 1,469 ▲84 | 4.25 ▼0.03 | 102.12 ▼1.86 | 46.99 ▲5.52 |
Product settings /wp-admin/admin.php?page=ticketrilla-server-product-settings | 1,095 | 4.24 | 65.83 | 47.29 |
General settings /wp-admin/admin.php?page=ticketrilla-server-general-settings | 1,960 | 4.18 | 63.94 | 55.62 |
Tickets /wp-admin/admin.php?page=ticketrilla-server-tickets | 1,162 | 4.26 | 50.05 | 32.88 |
Dashboard /wp-admin/admin.php?page=ticketrilla-server | 1,151 | 4.28 | 55.62 | 38.53 |
Users /wp-admin/admin.php?page=ticketrilla-server-users | 1,632 | 4.34 | 53.41 | 37.89 |
Licenses /wp-admin/admin.php?page=ticketrilla-server-licences | 1,395 | 4.30 | 59.24 | 37.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- ttls_upgraded_version
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 27× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: paged in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-users-clients.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-tickets.php:15
- > PHP Fatal error
Uncaught Error: Class 'TTLS\\Helpers\\FormErrors' not found in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-save-product.php:3
- > PHP Fatal error
Uncaught Error: Class 'TTLS_Attachments' not found in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-tickets-single.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-general-settings.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-product-settings-modal.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-add-ticket-form.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-addons.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ticketrilla-server/includes/core/ttls-actions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function TTLS() in wp-content/plugins/ticketrilla-server/includes/admin/templates/page/ticketrilla-server-add-ticket.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in ticketrilla-server/assets to your readme.txt
ticketrilla-server/ticketrilla-server.php 92% from 13 tests
The main file in "Ticketrilla: Server" v. 1.1.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: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin32,915 lines of code in 161 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 40 | 51 | 13,036 |
PHP | 58 | 1,359 | 760 | 10,092 |
SVG | 6 | 0 | 3 | 6,341 |
JavaScript | 83 | 181 | 490 | 2,372 |
PO File | 1 | 488 | 712 | 1,038 |
Markdown | 1 | 10 | 0 | 36 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 26.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 1 | 2.70% |
Methods | 265 | |
▷ Static methods | 47 | 17.74% |
▷ Public methods | 234 | 88.30% |
▷ Protected methods | 14 | 5.28% |
▷ Private methods | 17 | 6.42% |
Functions | 48 | |
▷ Named functions | 42 | 87.50% |
▷ Anonymous functions | 6 | 12.50% |
Constants | 12 | |
▷ Global constants | 5 | 41.67% |
▷ Class constants | 7 | 58.33% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
21 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/assets/js/ckeditor/skins/moono-lisa/images/refresh.png | 0.74KB | 0.33KB | ▼ 56.01% |
includes/admin/assets/img/bootstrap-colorpicker/alpha.png | 0.48KB | 1.68KB | 0.00% |
includes/admin/assets/js/ckeditor/plugins/icons.png | 3.37KB | 2.01KB | ▼ 40.52% |
includes/admin/assets/js/ckeditor/plugins/icons_hidpi.png | 10.34KB | 5.18KB | ▼ 49.90% |
includes/admin/assets/js/ckeditor/skins/moono-lisa/images/hidpi/close.png | 1.21KB | 0.47KB | ▼ 60.99% |