Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/simple-tickets/Extension/_includes/common.lib.php+1047
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.59MB] [CPU: ▼57.26ms] Passed 4 tests
Analyzing server-side resources used by Simple Tickets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.41 ▼1.05 | 5.09 ▼32.66 |
Dashboard /wp-admin | 2.43 ▼0.92 | 7.25 ▼51.97 |
Posts /wp-admin/edit.php | 2.43 ▼0.93 | 7.46 ▼47.12 |
Add New Post /wp-admin/post-new.php | 2.43 ▼3.46 | 8.42 ▼97.29 |
Media Library /wp-admin/upload.php | 2.43 ▼0.80 | 8.02 ▼27.47 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Tickets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.17 ▼1.22 | 1.96 ▲0.18 | 39.67 ▲0.42 |
Dashboard /wp-admin | 2,214 ▲23 | 5.85 ▲1.00 | 99.14 ▼6.98 | 65.60 ▲19.04 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 1.97 ▼0.08 | 38.04 ▼4.73 | 30.72 ▼7.03 |
Add New Post /wp-admin/post-new.php | 1,518 ▼1 | 17.49 ▼5.74 | 739.92 ▲97.06 | 54.21 ▲2.49 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.22 ▲0.03 | 112.96 ▲10.21 | 76.99 ▲34.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/simple-tickets/Extension/_includes/common.lib.php+1047
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 23× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/simple-tickets/Extension/admin/index.php
- > /wp-content/plugins/simple-tickets/Extension/simple-tickets/simple-tickets.lib.php
- > /wp-content/plugins/simple-tickets/Extension/simple-tickets/index.php
- > /wp-content/plugins/simple-tickets/Themes/default_admin/index.php
- > /wp-content/plugins/simple-tickets/Themes/dashboard.php
- > /wp-content/plugins/simple-tickets/Extension/simple-tickets/settings.mnu.php
- > /wp-content/plugins/simple-tickets/Extension/_includes/index.php
- > /wp-content/plugins/simple-tickets/index.php
- > /wp-content/plugins/simple-tickets/Extension/_includes/common.lib.php
- > /wp-content/plugins/simple-tickets/Extension/admin/admin.lib.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simple-tickets/GlobelWP.php:65
- > PHP Warning
Use of undefined constant GBL_ADMIN_MYNAME - assumed 'GBL_ADMIN_MYNAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-tickets/Extension/simple-tickets/shortcode.lib.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: simple tickets, ticket system, ticket managing system, ticketing, support tickets...
simple-tickets/GlobelWP.php 85% from 13 tests
The principal PHP file in "Simple Tickets" v. 0.1.7.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 166 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-tickets.php" instead of "GlobelWP.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin7,108 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 657 | 63 | 3,742 |
PHP | 20 | 604 | 468 | 3,365 |
INI | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 73 | |
▷ Named functions | 72 | 98.63% |
▷ Anonymous functions | 1 | 1.37% |
Constants | 30 | |
▷ Global constants | 30 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.17MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Themes/_general_images/whatsnew/blank_200x100.png | 0.33KB | 0.09KB | ▼ 71.64% |
Themes/default_admin/images/feed_16x16.png | 0.90KB | 1.09KB | 0.00% |
Themes/default_admin/images/blank_16x16.png | 0.14KB | 0.08KB | ▼ 42.07% |
Themes/default_admin/images/pinpush_red_20x25.png | 3.54KB | 0.92KB | ▼ 74.11% |
Themes/Simple-Tickets-Logo.png | 20.39KB | 11.02KB | ▼ 45.93% |