83% ticket-tailor

Code Review | Sell Tickets - Event Ticketing and Event Registration - Ticket Tailor for WordPress

WordPress plugin Sell Tickets - Event Ticketing and Event Registration - Ticket Tailor for WordPress scored 83% from 54 tests.

About plugin

  • Plugin page: ticket-tailor
  • Plugin version: 1.10
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-6.0
  • WordPress version: 6.3.1
  • First release: Jun 24, 2014
  • Latest release: Jul 19, 2022
  • Number of updates: 89
  • Update frequency: every 33.1 days
  • Top authors: tickettailor (100%)

Code review

54 tests

User reviews

44 reviews

Install metrics

4,000+ active / 81,348 total downloads

Benchmarks

Plugin footprint 83% 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: ▲0.01MB] [CPU: ▼4.34ms] Passed 4 tests

A check of server-side resources used by Sell Tickets - Event Ticketing and Event Registration - Ticket Tailor for WordPress
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.05 ▼0.51
Dashboard /wp-admin3.32 ▲0.0247.44 ▲2.37
Posts /wp-admin/edit.php3.37 ▲0.0148.18 ▼0.14
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.89 ▼15.23
Media Library /wp-admin/upload.php3.24 ▲0.0134.16 ▼1.46
Ticket Tailor Box Office /wp-admin/options-general.php?page=ticket-tailor-box-office3.2132.39

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Sell Tickets - Event Ticketing and Event Registration - Ticket Tailor for WordPress
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6914.74 ▲0.491.81 ▼0.0646.25 ▲0.40
Dashboard /wp-admin2,207 ▲195.79 ▼0.1195.16 ▼8.5438.28 ▼2.96
Posts /wp-admin/edit.php2,090 ▲12.02 ▲0.0134.94 ▼1.3630.96 ▼0.68
Add New Post /wp-admin/post-new.php1,531 ▼423.15 ▲0.15626.13 ▲17.2368.38 ▲4.74
Media Library /wp-admin/upload.php1,395 ▲104.21 ▼0.0395.61 ▼10.8340.40 ▼3.91
Ticket Tailor Box Office /wp-admin/options-general.php?page=ticket-tailor-box-office8182.0524.7730.65

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% 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
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ticket-tailor/ticket-tailor-sell-tickets-online.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% 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:
  • Tags: Please reduce the number of tags, currently 44 tag instead of maximum 10
  • Screenshots: Add an image for screenshot #5 (Mobile app for ticket check-in. Scan in attendees at your event. Available on iPhone and Android.)
Please take inspiration from this readme.txt

ticket-tailor/ticket-tailor-sell-tickets-online.php 92% from 13 tests

Analyzing the main PHP file in "Sell Tickets - Event Ticketing and Event Registration - Ticket Tailor for WordPress" version 1.10
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("ticket-tailor.php" instead of "ticket-tailor-sell-tickets-online.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected70 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP114870

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG images were found in this plugin