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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.68ms] Passed 4 tests
A check of server-side resources used by Audience1st Ticket Availability
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 39.99 ▲0.94 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.62 ▼1.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.66 ▼2.73 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.64 ▼15.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.28 ▲1.34 |
Audience1st Ticket Availability /wp-admin/options-general.php?page=audience1st-ticket-availability-config | 3.21 | 29.88 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_audience1st_ticket_availability |
widget_recent-posts |
audience1st_ticket_rss_version |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Audience1st Ticket Availability
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.20 ▼1.09 | 1.70 ▼0.62 | 43.81 ▼1.67 |
Dashboard /wp-admin | 2,210 ▲28 | 5.79 ▼0.12 | 101.09 ▼5.71 | 38.05 ▼7.24 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.03 | 40.73 ▼1.06 | 38.05 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 18.29 ▼0.01 | 617.50 ▲11.66 | 49.23 ▼4.94 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.09 | 96.34 ▼8.56 | 41.12 ▼4.66 |
Audience1st Ticket Availability /wp-admin/options-general.php?page=audience1st-ticket-availability-config | 787 | 2.07 | 27.67 | 29.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- widget_audience1st_ticket_availability
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/audience1st-ticket-availability/audience1st_ticket_availability.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/audience1st-ticket-availability/audience1st_ticket_availability_menu.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please a description for screenshot #2 in audience1st-ticket-availability/assets to your readme.txt
audience1st-ticket-availability/audience1st_ticket_availability.php 77% from 13 tests
The entry point to "Audience1st Ticket Availability" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("audience1st-ticket-availability.php" instead of "audience1st_ticket_availability.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected258 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 34 | 195 |
CSS | 1 | 5 | 0 | 63 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin