Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.86ms] Passed 4 tests
An overview of server-side resources used by Sell Tickets Online - TicketSource Ticket Shop for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.33 ▼7.65 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.39 ▼1.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.00 ▼3.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.68 ▼14.44 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.23 ▲3.92 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Sell Tickets Online - TicketSource Ticket Shop for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.18 ▼1.19 | 1.92 ▼0.03 | 43.71 ▲1.88 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.76 | 100.38 ▼11.12 | 39.21 ▼5.00 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.04 | 38.73 ▲2.57 | 35.14 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,513 ▼21 | 17.48 ▼5.53 | 645.09 ▼38.48 | 60.13 ▲2.23 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.27 ▲0.07 | 95.78 ▼15.41 | 40.74 ▼6.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ticketsource-events/ticketsource-events.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ticketsource-events/includes/ticketsource-events-build.php:13
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 33 tag instead of maximum 10
ticketsource-events/ticketsource-events.php Passed 13 tests
This is the main PHP file of "Sell Tickets Online - TicketSource Ticket Shop for WordPress" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
32 characters long description:
TicketSource events list plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected79 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 24 | 79 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 3 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 50.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG images were found in this plugin