Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.55MB] [CPU: ▼136.80ms] Passed 4 tests
Server-side resources used by Ticketrilla: Client
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.12 | 33.89 ▼0.98 |
Dashboard /wp-admin | 3.77 ▲0.71 | 58.58 ▲4.54 |
Posts /wp-admin/edit.php | 3.82 ▲0.72 | 53.96 ▲8.25 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.63 | 99.10 ▼558.40 |
Media Library /wp-admin/upload.php | 3.72 ▲0.72 | 43.17 ▲7.66 |
Tickets /wp-admin/admin.php?page=ticketrilla-client | 3.74 | 50.53 |
Settings /wp-admin/admin.php?page=ticketrilla-client-settings | 3.65 | 52.73 |
Newsletters /wp-admin/admin.php?page=ticketrilla-client-newsletters | 3.66 | 43.19 |
Server storage [IO: ▲5.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 201 new files
Database: no new tables, 3 new options
New WordPress options |
---|
ttlc_standard_license_type |
ttlc_cleaning_date |
ttlc_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ticketrilla: Client
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲171 | 16.05 ▲0.12 | 9.05 ▲0.29 | 47.23 ▼4.48 |
Dashboard /wp-admin | 3,058 ▲124 | 6.24 ▲0.20 | 148.61 ▼12.83 | 106.75 ▼12.61 |
Posts /wp-admin/edit.php | 2,831 ▲92 | 2.90 ▲0.19 | 67.86 ▼6.29 | 86.81 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,562 ▼110 | 21.07 ▲2.35 | 388.08 ▼22.86 | 106.91 ▼0.97 |
Media Library /wp-admin/upload.php | 1,897 ▲90 | 5.11 ▲0.07 | 152.64 ▼2.02 | 113.65 ▼8.53 |
Tickets /wp-admin/admin.php?page=ticketrilla-client | 1,331 | 3.19 | 76.52 | 103.19 |
Settings /wp-admin/admin.php?page=ticketrilla-client-settings | 1,751 | 3.16 | 79.48 | 110.16 |
Newsletters /wp-admin/admin.php?page=ticketrilla-client-newsletters | 1,215 | 3.12 | 71.02 | 97.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 3 options in the database
- ttlc_version
- ttlc_cleaning_date
- ttlc_standard_license_type
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 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
8 plugin tags: license, ticket system, ticket, support, support center...
ticketrilla/ticketrilla-client.php 85% from 13 tests
The main PHP script in "Ticketrilla: Client" version 1.1.1 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("ticketrilla.php" instead of "ticketrilla-client.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected27,662 lines of code in 167 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 53 | 52 | 11,741 |
SVG | 4 | 0 | 3 | 6,052 |
PHP | 65 | 1,028 | 302 | 5,202 |
Markdown | 4 | 691 | 0 | 2,839 |
JavaScript | 82 | 123 | 422 | 1,828 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 14.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 1 | 3.12% |
▷ Concrete classes | 31 | 96.88% |
▷ Final classes | 1 | 3.23% |
Methods | 238 | |
▷ Static methods | 23 | 9.66% |
▷ Public methods | 191 | 80.25% |
▷ Protected methods | 32 | 13.45% |
▷ Private methods | 15 | 6.30% |
Functions | 13 | |
▷ Named functions | 1 | 7.69% |
▷ Anonymous functions | 12 | 92.31% |
Constants | 26 | |
▷ Global constants | 11 | 42.31% |
▷ Class constants | 15 | 57.69% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 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 |
assets/js/ckeditor/skins/moono-lisa/images/hidpi/close.png | 1.21KB | 0.47KB | ▼ 60.99% |
assets/js/ckeditor/plugins/icons_hidpi.png | 10.34KB | 5.18KB | ▼ 49.90% |
assets/js/ckeditor/skins/moono-lisa/icons.png | 3.37KB | 2.01KB | ▼ 40.52% |
assets/js/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png | 1.05KB | 0.40KB | ▼ 62.00% |
assets/js/ckeditor/skins/moono-lisa/images/hidpi/lock.png | 1.04KB | 0.40KB | ▼ 61.68% |