Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.99ms] Passed 4 tests
An overview of server-side resources used by Autotask Ticket Lookup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.73 ▼5.14 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.78 ▼4.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.77 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.56 ▼9.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.15 ▼0.91 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Autotask Ticket Lookup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲231 | 13.30 ▼1.07 | 5.32 ▲3.29 | 46.39 ▼1.68 |
Dashboard /wp-admin | 2,252 ▲64 | 5.84 ▲0.87 | 100.47 ▼4.73 | 38.68 ▼2.74 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 1.98 ▼0.07 | 35.12 ▼0.62 | 36.38 ▲5.16 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 22.58 ▲5.14 | 559.90 ▼134.17 | 34.01 ▼21.48 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.28 ▲0.11 | 94.00 ▼13.47 | 39.44 ▼6.85 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/autotask-ticket-lookup/wpat-main.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/autotask-ticket-lookup/wpat-settings.php:12
- > PHP Notice
Undefined index: wpat_submitted in wp-content/plugins/autotask-ticket-lookup/wpat-settings.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (This is the settings page for this plugin. You need to supply user credentials, and choose the correct region as outlined above.), #2 (This shows the plugin's output from the front end, including the search form with the ticket field labeled as "Ticket #: " and the output results below.)
autotask-ticket-lookup/wpat-main.php 85% from 13 tests
This is the main PHP file of "Autotask Ticket Lookup" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("autotask-ticket-lookup.php" instead of "wpat-main.php")
- Description: The plugin description must be longer than 10 characters (currently 0 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
Success! There were no dangerous files found in this plugin387 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 69 | 10 | 387 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.35MB with 0.17MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 244.34KB | 78.77KB | ▼ 67.76% |
screenshot-2.png | 96.56KB | 30.69KB | ▼ 68.22% |
images/seo-screen.png | 19.59KB | 18.43KB | ▼ 5.94% |