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.48MB] [CPU: ▲1.99ms] Passed 4 tests
Server-side resources used by Chimney Rock Support Tickets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.41 | 40.01 ▲5.05 |
Dashboard /wp-admin | 3.84 ▲0.54 | 49.23 ▼1.70 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 51.87 ▲9.28 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 92.59 ▼4.67 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 41.48 ▲11.51 |
Settings /wp-admin/edit.php?post_type=crm_support_ticket&page=crm-settings | 3.67 | 33.08 |
All Support Tickets /wp-admin/edit.php?post_type=crm_support_ticket | 3.75 | 38.71 |
Reports /wp-admin/edit.php?post_type=crm_support_ticket&page=crm-reports | 3.67 | 35.34 |
Add New /wp-admin/post-new.php?post_type=crm_support_ticket | 3.76 | 45.47 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: 1 new table, 20 new options
New tables |
---|
wp_crm_tickets |
New WordPress options |
---|
can_compress_scripts |
crm_support_tickets_enable_customer_email |
widget_recent-posts |
crm_support_tickets_captcha_secret_key |
theysaidso_admin_options |
crm_support_tickets_enable_auto_close |
widget_theysaidso_widget |
crm_support_tickets_auto_close_days |
crm_support_tickets_plugin_version |
crm_support_tickets_slug_to_tickets |
... |
Browser metrics Passed 4 tests
Chimney Rock Support Tickets: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲169 | 13.42 ▼1.29 | 7.93 ▲6.45 | 37.17 ▲1.27 |
Dashboard /wp-admin | 2,232 ▲54 | 5.61 ▼0.08 | 89.76 ▼23.59 | 40.63 ▼5.16 |
Posts /wp-admin/edit.php | 2,173 ▲76 | 2.00 ▼0.02 | 38.78 ▲3.15 | 37.23 ▲5.63 |
Add New Post /wp-admin/post-new.php | 1,557 ▲23 | 23.57 ▲0.54 | 635.78 ▼7.10 | 60.45 ▲10.98 |
Media Library /wp-admin/upload.php | 1,437 ▲34 | 4.18 ▼0.03 | 94.57 ▼3.91 | 41.48 ▼2.29 |
Settings /wp-admin/edit.php?post_type=crm_support_ticket&page=crm-settings | 1,156 | 2.02 | 24.97 | 31.34 |
All Support Tickets /wp-admin/edit.php?post_type=crm_support_ticket | 1,214 | 1.93 | 31.04 | 32.81 |
Reports /wp-admin/edit.php?post_type=crm_support_ticket&page=crm-reports | 871 | 2.53 | 30.86 | 33.91 |
Add New /wp-admin/post-new.php?post_type=crm_support_ticket | 1,734 | 2.55 | 54.31 | 58.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_crm_tickets
- Zombie WordPress options detected upon uninstall: 19 options
- crm_support_tickets_enable_auto_close
- widget_recent-posts
- crm_support_tickets_from_email
- widget_recent-comments
- theysaidso_admin_options
- crm_support_tickets_enable_captcha
- crm_support_tickets_email_from_name
- db_upgraded
- crm_support_tickets_enable_admin_email
- crm_support_tickets_db_version
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Contributors: Plugin contributors not specified
chimney-rock-support-tickets/functions.php 85% from 13 tests
The main file in "Chimney Rock Support Tickets" v. 1.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("chimney-rock-support-tickets.php" instead of "functions.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,017 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 617 | 271 | 1,880 |
CSS | 2 | 17 | 0 | 100 |
JavaScript | 1 | 10 | 0 | 37 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 16.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 4 | 4.55% |
▷ Public methods | 88 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 0.55KB | 0.49KB | ▼ 11.64% |