90% quick-event-calendar

Code Review | Quick Event Calendar

WordPress plugin Quick Event Calendar scored90%from 54 tests.

About plugin

  • Plugin page: quick-event-calendar
  • Plugin version: 1.4.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.4
  • WordPress version: 6.3.1
  • First release: Nov 1, 2016
  • Latest release: Oct 26, 2023
  • Number of updates: 16
  • Update frequency: every 159.6 days
  • Top authors: butterflymedia (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active /1,472 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼6.68ms] Passed 4 tests

Server-side resources used by Quick Event Calendar
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1239.08 ▼0.56
Dashboard /wp-admin3.40 ▲0.1048.50 ▼8.33
Posts /wp-admin/edit.php3.51 ▲0.1642.56 ▼3.83
Add New Post /wp-admin/post-new.php6.00 ▲0.1181.02 ▼13.99
Media Library /wp-admin/upload.php3.32 ▲0.0934.93 ▲3.14
Quick Event Calendar /wp-admin/options-general.php?page=qcc3.2930.01

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 16 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Quick Event Calendar
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,905 ▲14413.66 ▼0.7012.48 ▲10.8243.54 ▼0.67
Dashboard /wp-admin2,223 ▲465.82 ▲0.2798.54 ▲6.3642.42 ▲1.90
Posts /wp-admin/edit.php2,127 ▲272.30 ▲0.2834.85 ▼0.4130.26 ▼4.76
Add New Post /wp-admin/post-new.php1,545 ▲823.71 ▲5.39678.74 ▲40.3840.12 ▼34.66
Media Library /wp-admin/upload.php1,428 ▲314.34 ▲0.2096.37 ▼3.3443.53 ▲0.28
Quick Event Calendar /wp-admin/options-general.php?page=qcc9001.9326.9048.03

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: month, date, schedule, calendar, year...

quick-event-calendar/quick-event-calendar.php 92% from 13 tests

The main PHP script in "Quick Event Calendar" version 1.4.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 262 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,512 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PO File14142103

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.19
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions12100.00%
▷ Anonymous functions00.00%
▷ 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/gb-logo-white-512.png14.72KB8.49KB▼ 42.32%