84% ploxel

Code Review | Ticketmeo - Sell Tickets - Event Ticketing

WordPress plugin Ticketmeo - Sell Tickets - Event Ticketing scored84%from 54 tests.

About plugin

  • Plugin page: ploxel
  • Plugin version: 2.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-6.4
  • WordPress version: 6.3.1
  • First release: Jul 12, 2016
  • Latest release: Nov 15, 2023
  • Number of updates: 95
  • Update frequency: every 28.2 days
  • Top authors: snexed (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

70+ active /4,676 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.02MB] [CPU: ▼1.80ms] Passed 4 tests

An overview of server-side resources used by Ticketmeo - Sell Tickets - Event Ticketing
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.26 ▼6.15
Dashboard /wp-admin3.32 ▲0.0244.14 ▼3.49
Posts /wp-admin/edit.php3.37 ▲0.0248.95 ▲5.45
Add New Post /wp-admin/post-new.php5.90 ▲0.0288.46 ▲1.73
Media Library /wp-admin/upload.php3.24 ▲0.0133.01 ▲0.72
Ticketmeo WordPress Plugin /wp-admin/options-general.php?page=ploxel-integration3.2128.92

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ticketmeo - Sell Tickets - Event Ticketing
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,877 ▲11513.48 ▼0.877.76 ▲5.9838.12 ▼4.63
Dashboard /wp-admin2,199 ▲255.60 ▲0.0390.85 ▼10.6338.29 ▼4.08
Posts /wp-admin/edit.php2,104 ▲41.94 ▼0.0740.57 ▲2.9736.32 ▼1.47
Add New Post /wp-admin/post-new.php1,538 ▲1225.10 ▲1.94623.03 ▲15.1360.16 ▲8.90
Media Library /wp-admin/upload.php1,398 ▲44.27 ▲0.0397.12 ▼6.0345.22 ▲3.19
Ticketmeo WordPress Plugin /wp-admin/options-general.php?page=ploxel-integration8471.9623.0926.82

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

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 fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ploxel/ploxel.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Tags: Too many tags (48 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt is a good inspiration

ploxel/ploxel.php 92% from 13 tests

The principal PHP file in "Ticketmeo - Sell Tickets - Event Ticketing" v. 2.2.0 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 149 characters long)

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
Good job! No executable or dangerous file extensions detected139 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP117968
XML30065
CSS1004
JavaScript1772

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin