Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.37ms] Passed 4 tests
Server-side resources used by Support Ticket System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.05 ▼9.29 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.94 ▲1.84 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.10 ▼3.06 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 95.10 ▼6.95 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.71 ▲6.22 |
Users /wp-admin/admin.php?page=users-unique-identifier | 3.29 | 34.34 |
General /wp-admin/admin.php?page=general-unique-identifier | 3.30 | 39.03 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 47 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_sts_options |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Support Ticket System
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.31 ▼0.07 | 1.80 ▼0.18 | 40.25 ▼3.49 |
Dashboard /wp-admin | 2,221 ▲50 | 5.67 ▲0.05 | 89.57 ▼11.26 | 38.53 ▼5.39 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.99 ▼0.02 | 34.76 ▼1.86 | 34.03 ▼1.88 |
Add New Post /wp-admin/post-new.php | 1,574 ▲29 | 23.03 ▼0.01 | 656.01 ▲52.68 | 54.73 ▲11.81 |
Media Library /wp-admin/upload.php | 1,423 ▲29 | 4.31 ▲0.06 | 96.22 ▼1.10 | 45.31 ▲2.25 |
Users /wp-admin/admin.php?page=users-unique-identifier | 897 | 2.03 | 22.76 | 31.42 |
General /wp-admin/admin.php?page=general-unique-identifier | 973 | 2.03 | 23.48 | 40.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_sts_options
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 22× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/simple-support-ticket-system/includes/db-update.php
- > /wp-content/plugins/simple-support-ticket-system/includes/install.php
- > /wp-content/plugins/simple-support-ticket-system/includes/logout.php
- > /wp-content/plugins/simple-support-ticket-system/includes/form-functions.php
- > /wp-content/plugins/simple-support-ticket-system/includes/admin/options-functions.php
- > /wp-content/plugins/simple-support-ticket-system/includes/ajax.php
- > /wp-content/plugins/simple-support-ticket-system/includes/login.php
- > /wp-content/plugins/simple-support-ticket-system/includes/admin/general-save.php
- > /wp-content/plugins/simple-support-ticket-system/includes/system-functions.php
- > /wp-content/plugins/simple-support-ticket-system/includes/system.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined index: user in wp-content/plugins/simple-support-ticket-system/includes/setcookie.php on line 2
- > PHP Notice
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== simple-support-ticket-system ===
)
simple-support-ticket-system/simple-support-ticket-system.php Passed 13 tests
This is the main PHP file of "Support Ticket System" version 1.3.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
115 characters long description:
Simple and fast ticket system to receive and store Problems of Customers or Visitors, with a great search function.
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
Everything looks great! No dangerous files found in this plugin5,112 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 163 | 108 | 1,868 |
PHP | 24 | 132 | 130 | 1,778 |
CSS | 5 | 55 | 26 | 1,241 |
PO File | 1 | 97 | 111 | 225 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/expand.png | 4.71KB | 3.07KB | ▼ 34.76% |
img/change.png | 5.05KB | 3.10KB | ▼ 38.49% |
img/take.png | 3.88KB | 1.72KB | ▼ 55.56% |
img/logout.png | 2.39KB | 1.10KB | ▼ 53.93% |
img/done.png | 2.50KB | 1.26KB | ▼ 49.55% |