Benchmarks
Plugin footprint 83% 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.19MB] [CPU: ▼141.50ms] Passed 4 tests
Analyzing server-side resources used by Scebo - Customer Support
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 48.39 ▲25.25 |
Dashboard /wp-admin | 3.23 ▲0.17 | 56.24 ▲10.53 |
Posts /wp-admin/edit.php | 3.27 ▲0.16 | 61.37 ▲15.31 |
Add New Post /wp-admin/post-new.php | 4.16 ▼1.27 | 58.88 ▼605.15 |
Media Library /wp-admin/upload.php | 3.19 ▲0.19 | 49.03 ▲13.32 |
Scebo Options /wp-admin/admin.php?page=scb_admin_welcome | 3.14 | 40.30 |
Notifications /wp-admin/admin.php?page=scb_admin_notifications | 3.14 | 34.32 |
Tickets Categories /wp-admin/edit-tags.php?taxonomy=ticket-category&post_type=tickets | 3.16 | 40.32 |
Tickets Statuses /wp-admin/edit-tags.php?taxonomy=ticket-status&post_type=tickets | 3.11 | 38.24 |
Tickets Priorities /wp-admin/edit-tags.php?taxonomy=ticket-priority&post_type=tickets | 3.17 | 45.73 |
All Tickets /wp-admin/edit.php?post_type=tickets | 3.18 | 46.86 |
Add New /wp-admin/post-new.php?post_type=tickets | 3.05 | 44.56 |
Server storage [IO: ▲0.06MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ticket-category_children |
scb_registration_notification_email |
ticket-status_children |
scb_ticket_update_notification_email |
scb_ticket_confirmation_notification_email |
scb_plugin_sample_taxonomy_insert |
ticket-priority_children |
Browser metrics Passed 4 tests
A check of browser resources used by Scebo - Customer Support
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,804 ▲232 | 16.18 ▲0.60 | 11.94 ▲3.61 | 60.08 ▲15.22 |
Dashboard /wp-admin | 3,056 ▲125 | 5.88 ▼0.06 | 143.36 ▼12.00 | 140.65 ▲18.41 |
Posts /wp-admin/edit.php | 2,835 ▲96 | 2.82 ▲0.02 | 76.43 ▲2.51 | 104.01 ▲11.34 |
Add New Post /wp-admin/post-new.php | 1,749 ▲66 | 18.76 ▲0.30 | 424.87 ▲38.00 | 127.01 ▲13.44 |
Media Library /wp-admin/upload.php | 1,847 ▲40 | 5.03 ▼0.01 | 138.94 ▼37.54 | 159.82 ▲29.04 |
Scebo Options /wp-admin/admin.php?page=scb_admin_welcome | 1,216 | 2.22 | 53.92 | 88.08 |
Notifications /wp-admin/admin.php?page=scb_admin_notifications | 1,301 | 2.21 | 61.04 | 71.67 |
Tickets Categories /wp-admin/edit-tags.php?taxonomy=ticket-category&post_type=tickets | 1,965 | 2.49 | 61.31 | 94.03 |
Tickets Statuses /wp-admin/edit-tags.php?taxonomy=ticket-status&post_type=tickets | 2,132 | 2.50 | 61.87 | 86.85 |
Tickets Priorities /wp-admin/edit-tags.php?taxonomy=ticket-priority&post_type=tickets | 2,178 | 2.53 | 55.96 | 95.02 |
All Tickets /wp-admin/edit.php?post_type=tickets | 2,593 | 2.72 | 76.85 | 129.71 |
Add New /wp-admin/post-new.php?post_type=tickets | 3,328 | 8.84 | 229.89 | 179.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- scb_ticket_update_notification_email
- scb_registration_notification_email
- ticket-category_children
- scb_ticket_confirmation_notification_email
- ticket-priority_children
- ticket-status_children
- scb_plugin_sample_taxonomy_insert
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit-tags.php?taxonomy=ticket-status&post_type=tickets
- > Notice in wp-content/plugins/scebo/inc/taxonomies.php+159
Trying to get property 'term_id' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=tickets
- > Notice in wp-content/plugins/scebo/inc/tickets-columns.php+55
Trying to access array offset on value of type bool
- > GET request to /wp-admin/post-new.php?post_type=tickets
- > Notice in wp-content/plugins/scebo/inc/meta-boxes.php+235
Undefined index: scebo_meta_box_nonce
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/scebo/admin-pages/admin-help.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/scebo/admin-pages/admin-notifications.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scebo/inc/taxonomies.php:156
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/scebo/admin-pages/admin-options.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/scebo/inc/install.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scebo/inc/post-types.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scebo/inc/meta-boxes.php:74
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/scebo/index.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/scebo/inc/tickets-columns.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=tickets
- > Network (severe)
wp-content/plugins/scebo//inc/style/img/settings-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=tickets
- > Network (severe)
wp-content/plugins/scebo/inc/style/img/ticket-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== scebo ===
)
scebo/index.php 85% from 13 tests
The main file in "Scebo - Customer Support" v. 1.5b1 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: Please rename the main PHP file in this plugin to the plugin slug ("scebo.php" instead of "index.php")
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1.5b1")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,352 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 395 | 80 | 1,002 |
CSS | 4 | 68 | 7 | 347 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 12.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin