10% ag-tickera-email-attendees

Code Review | AG Tickera Email Attendees - Send ticket emails to attendees

WordPress plugin AG Tickera Email Attendees - Send ticket emails to attendees scored10%from 54 tests.

About plugin

  • Plugin page: ag-tickera-email-...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.8.1
  • WordPress version: 6.3.1
  • First release: Sep 13, 2017
  • Latest release: Sep 13, 2017
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: akashgovani (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,280 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
  • Install procedure had errors
    • > Error in wp-content/plugins/ag-tickera-email-attendees/ag-tickera-email-attendees.php+28
    Uncaught Error: Call to undefined function deactive_plugins() in wp-content/plugins/ag-tickera-email-attendees/ag-tickera-email-attendees.php:28
    Stack trace:
    #0 wp-includes/class-wp-hook.php(310): agTEA_check_tickera_install()
    #1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 wp-admin/includes/plugin.php(693): do_action()

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.22ms] Passed 4 tests

An overview of server-side resources used by AG Tickera Email Attendees - Send ticket emails to attendees
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.48 ▼2.61
Dashboard /wp-admin3.31 ▲0.0048.45 ▼8.27
Posts /wp-admin/edit.php3.36 ▲0.0066.47 ▲14.66
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.92 ▼14.94
Media Library /wp-admin/upload.php3.23 ▲0.0037.37 ▲4.95

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

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

Browser metrics Passed 4 tests

A check of browser resources used by AG Tickera Email Attendees - Send ticket emails to attendees
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.21 ▼1.163.09 ▲0.8544.67 ▼1.15
Dashboard /wp-admin2,206 ▲184.92 ▼0.06104.57 ▼3.6437.93 ▼6.91
Posts /wp-admin/edit.php2,089 ▼32.00 ▼0.0433.40 ▼10.2834.27 ▼1.24
Add New Post /wp-admin/post-new.php1,514 ▼017.53 ▲0.13701.63 ▲78.8552.79 ▲2.59
Media Library /wp-admin/upload.php1,391 ▲64.19 ▼0.02108.26 ▲1.9147.16 ▲2.13

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

ag-tickera-email-attendees/ag-tickera-email-attendees.php 85% from 13 tests

The main PHP file in "AG Tickera Email Attendees - Send ticket emails to attendees" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

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 detected204 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13822204

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.51
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin