78% conference-scheduler

Code Review | Conference Scheduler

WordPress plugin Conference Scheduler scored78%from 54 tests.

About plugin

  • Plugin page: conference-scheduler
  • Plugin version: 2.4.5
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.1
  • WordPress version: 6.3.1
  • First release: Dec 7, 2017
  • Latest release: Mar 3, 2023
  • Number of updates: 107
  • Update frequency: every 17.9 days
  • Top authors: swift (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

300+ active /10,188 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

This is a short check of server-side resources used by Conference Scheduler
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /4.00 ▲0.5444.55 ▲5.43
Dashboard /wp-admin3.85 ▲0.5549.39 ▲2.08
Posts /wp-admin/edit.php3.98 ▲0.6252.64 ▲4.43
Add New Post /wp-admin/post-new.php6.61 ▲0.72105.73 ▲8.93
Media Library /wp-admin/upload.php3.78 ▲0.5543.97 ▲11.18
Keywords /wp-admin/edit-tags.php?taxonomy=conf_areas&post_type=conf_workshop3.7740.59
Settings /wp-admin/edit.php?post_type=conf_workshop&page=conf_scheduler_options3.7740.38
Workshops /wp-admin/edit.php?post_type=conf_workshop3.8438.01
Sessions /wp-admin/edit-tags.php?taxonomy=conf_sessions&post_type=conf_workshop3.7939.22
Themes /wp-admin/edit-tags.php?taxonomy=conf_streams&post_type=conf_workshop3.7737.46
Add New /wp-admin/post-new.php?post_type=conf_workshop6.6187.06

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Conference Scheduler
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,117 ▲35624.28 ▲9.9046.57 ▲44.9339.11 ▲0.19
Dashboard /wp-admin2,334 ▲15911.68 ▲6.07117.28 ▲18.5142.28 ▲2.60
Posts /wp-admin/edit.php2,229 ▲12910.54 ▲8.5785.31 ▲43.1736.66 ▼1.57
Add New Post /wp-admin/post-new.php6,385 ▲4,85928.85 ▲5.54780.68 ▲153.4238.94 ▼10.04
Media Library /wp-admin/upload.php1,551 ▲15111.30 ▲7.07140.79 ▲29.2743.78 ▼2.19
Keywords /wp-admin/edit-tags.php?taxonomy=conf_areas&post_type=conf_workshop1,39610.2967.3929.55
Settings /wp-admin/edit.php?post_type=conf_workshop&page=conf_scheduler_options1,12710.4967.1629.00
Workshops /wp-admin/edit.php?post_type=conf_workshop1,42010.4881.1733.26
Sessions /wp-admin/edit-tags.php?taxonomy=conf_sessions&post_type=conf_workshop3,45911.2196.9535.40
Themes /wp-admin/edit-tags.php?taxonomy=conf_streams&post_type=conf_workshop1,42410.2669.6330.48
Add New /wp-admin/post-new.php?post_type=conf_workshop1,67517.27748.1839.22

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: 7 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • conf_scheduler_version
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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 output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/conference-scheduler/templates/workshop.php
  • 32× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/conference-scheduler/templates/workshop.php on line 18
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/conference-scheduler/templates/workshop.php on line 2
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/conference-scheduler/templates/workshop.php on line 7
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/conference-scheduler/templates/workshop.php on line 3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/conference-scheduler/views/options-general.php:1
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/conference-scheduler/templates/workshop.php on line 4
    • > PHP Notice
      Trying to get property 'edit_link' of non-object in wp-content/plugins/conference-scheduler/templates/workshop.php on line 18
    • > PHP Notice
      Trying to get property 'files' of non-object in wp-content/plugins/conference-scheduler/templates/workshop.php on line 10
    • > PHP Notice
      Trying to get property 'location' of non-object in wp-content/plugins/conference-scheduler/templates/workshop.php on line 5
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/conference-scheduler/templates/workshop.php on line 15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: schedule, conference, workshop

conference-scheduler/conf-scheduler.php 85% from 13 tests

The main file in "Conference Scheduler" v. 2.4.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("conference-scheduler.php" instead of "conf-scheduler.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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 detected9,022 lines of code in 80 files:
LanguageFilesBlank linesComment linesLines of code
PO File142,1852,6284,808
PHP53524912,025
JavaScript56942591,095
CSS50311,094

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity312.00
▷ Minimum class complexity312.00
▷ Maximum class complexity312.00
Average method complexity5.21
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods68
▷ Static methods11.47%
▷ Public methods6697.06%
▷ Protected methods00.00%
▷ Private methods22.94%
Functions8
▷ Named functions112.50%
▷ Anonymous functions787.50%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
static/images/logo.png17.41KB7.37KB▼ 57.67%