Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.01MB] [CPU: ▼40.11ms] Passed 4 tests
Analyzing server-side resources used by Memoria Ticket System
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▼0.50 | 14.77 ▼28.90 |
Dashboard /wp-admin | 3.00 ▼0.31 | 18.82 ▼31.03 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 19.95 ▼28.12 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 18.54 ▼72.39 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 18.32 ▼16.26 |
Settings /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket | 3.00 | 20.75 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Memoria Ticket System: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 13.44 ▼0.94 | 2.12 ▼0.37 | 40.97 ▼1.96 |
Dashboard /wp-admin | 2,229 ▲38 | 5.92 ▲1.06 | 99.38 ▼15.61 | 73.52 ▲25.87 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.19 ▲0.17 | 36.52 ▼1.11 | 34.96 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,571 ▲57 | 18.51 ▲1.01 | 700.82 ▲15.52 | 40.18 ▼16.39 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.28 ▲0.09 | 96.28 ▼4.87 | 67.96 ▲20.81 |
Settings /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket | 1,762 | 7.14 | 146.13 | 113.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/memoria-ticket-system/memoria-ticket-system.php+749
Undefined index: _wpnonce
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket
- > Notice in wp-content/plugins/memoria-ticket-system/memoria-ticket-system.php+749
Undefined index: _wpnonce
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket
- > Notice in wp-content/plugins/memoria-ticket-system/includes/default_admin_settings_form.php+156
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/memoria-ticket-system/includes/single-ticket-comments-form.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/memoria-ticket-system/memoria-ticket-system.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function sts_get_creator_header() in wp-content/plugins/memoria-ticket-system/includes/default_admin_settings_form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/memoria-ticket-system/includes/single-ticket-view.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/memoria-ticket-system/includes/default_create_form.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket
- > Network (severe)
wp-content/plugins/memoria-ticket-system/includes/jquery/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket
- > Network (severe)
wp-content/plugins/memoria-ticket-system/includes/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket
- > Network (severe)
wp-content/plugins/memoria-ticket-system/includes/jquery/images/ui-bg_glass_65_ffffff_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=sts-ticket&page=sts-ticket
- > Network (severe)
wp-content/plugins/memoria-ticket-system/includes/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Plugin Name: Please specify the plugin name on the first line (
=== memoria-ticket-system ===
)
memoria-ticket-system/memoria-ticket-system.php 92% from 13 tests
Analyzing the main PHP file in "Memoria Ticket System" version 1.0.4
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 423 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,635 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 207 | 183 | 1,398 |
CSS | 2 | 37 | 52 | 1,186 |
JavaScript | 1 | 5 | 0 | 51 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.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 | 53 | |
▷ Named functions | 53 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
8 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 |
images/smiley_red_default.png | 3.98KB | 1.10KB | ▼ 72.27% |
images/smiley_orange_active.png | 2.27KB | 1.41KB | ▼ 37.95% |
images/smiley_green_active.png | 2.50KB | 1.42KB | ▼ 43.36% |
images/smiley_green_default.png | 4.04KB | 1.16KB | ▼ 71.34% |
images/smiley_orange_default.png | 3.81KB | 1.03KB | ▼ 73.00% |