74% eventer

Code Review | Eventer

WordPress plugin Eventer scored 74% from 54 tests.

About plugin

  • Plugin page: eventer
  • Plugin version: 0.1.1
  • PHP compatiblity: 5.4.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Mar 16, 2018
  • Latest release: Jul 22, 2018
  • Number of updates: 8
  • Update frequency: every 16.2 days
  • Top authors: JOE007 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

2,000+ active / 1,833 total downloads

Benchmarks

Plugin footprint 65% 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.06MB] [CPU: ▼2.84ms] Passed 4 tests

A check of server-side resources used by Eventer
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0639.19 ▲0.01
Dashboard /wp-admin3.37 ▲0.0645.32 ▼7.82
Posts /wp-admin/edit.php3.42 ▲0.0647.99 ▲2.62
Add New Post /wp-admin/post-new.php5.95 ▲0.0693.66 ▼2.92
Media Library /wp-admin/upload.php3.29 ▲0.0637.62 ▼0.61
Settings /wp-admin/admin.php?page=eventer-settings3.2531.44
Edit Eventer Attendee /wp-admin/admin.php?page=eventer-edit-details3.2329.89
Eventer /wp-admin/admin.php?page=eventer-home3.2634.52

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables
wp_eventer_users
New WordPress options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
eventer_database_version
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Eventer
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9013.19 ▼1.391.79 ▲0.2142.99 ▲5.67
Dashboard /wp-admin2,229 ▲415.91 ▼0.01105.46 ▲3.8041.99 ▲2.02
Posts /wp-admin/edit.php2,112 ▲232.03 ▼0.0238.50 ▲0.9734.47 ▲1.50
Add New Post /wp-admin/post-new.php1,553 ▲3323.41 ▲0.13596.70 ▼76.6149.52 ▼5.57
Media Library /wp-admin/upload.php1,411 ▲234.22 ▼0.0397.25 ▼10.1942.41 ▼3.28
Settings /wp-admin/admin.php?page=eventer-settings8252.0326.1854.32
Edit Eventer Attendee /wp-admin/admin.php?page=eventer-edit-details6821.536.2020.33
Eventer /wp-admin/admin.php?page=eventer-home8092.0621.7834.16

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie tables were found after uninstall: 1 table
    • wp_eventer_users
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • eventer_database_version
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/eventer/eventer.php

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 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Requires at least: Version not formatted correctly
The official readme.txt might help

eventer/eventer.php Passed 13 tests

This is the main PHP file of "Eventer" version 0.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
87 characters long description:
This plugin is meant for event registration and display the registered users on a page.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin7,128 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
CSS220206,786
PHP6240342

PHP code Passed 2 tests

An overview 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 code0.20
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%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
There were not PNG files found in your plugin