90% very-simple-event-list

Code Review | VS Event List

WordPress plugin VS Event List scored90%from 54 tests.

About plugin

  • Plugin page: very-simple-event...
  • Plugin version: 16.6
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.3
  • WordPress version: 6.3.1
  • First release: Mar 31, 2015
  • Latest release: Oct 12, 2023
  • Number of updates: 448
  • Update frequency: every 7.0 days
  • Top authors: Guido07111975 (100%)

Code review

54 tests

User reviews

73 reviews

Install metrics

10,000+ active /377,855 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲1.05MB] [CPU: ▲8.24ms] Passed 4 tests

Server-side resources used by VS Event List
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /4.59 ▲1.1264.95 ▲26.96
Dashboard /wp-admin4.36 ▲1.0553.41 ▲4.02
Posts /wp-admin/edit.php4.42 ▲1.0651.93 ▲0.90
Add New Post /wp-admin/post-new.php7.01 ▲1.12107.56 ▲19.58
Media Library /wp-admin/upload.php4.22 ▲0.9944.41 ▲8.45
All events /wp-admin/edit.php?post_type=event4.3340.60
Event categories /wp-admin/edit-tags.php?taxonomy=event_cat&post_type=event4.2238.95
New event /wp-admin/post-new.php?post_type=event7.02101.67
VS Event List /wp-admin/options-general.php?page=vsel4.1940.60

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options
widget_vsel_widget
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by VS Event List
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲4314.26 ▼0.141.66 ▼0.0939.63 ▲0.85
Dashboard /wp-admin2,230 ▲525.55 ▼0.1183.86 ▼15.3638.94 ▼3.59
Posts /wp-admin/edit.php2,132 ▲292.01 ▲0.0434.57 ▼0.5333.03 ▼4.92
Add New Post /wp-admin/post-new.php1,555 ▲2623.20 ▲0.05651.63 ▼31.7155.88 ▲1.25
Media Library /wp-admin/upload.php1,435 ▲384.22 ▼0.14111.05 ▲6.6347.84 ▲0.13
All events /wp-admin/edit.php?post_type=event1,1711.9129.8131.18
Event categories /wp-admin/edit-tags.php?taxonomy=event_cat&post_type=event1,3062.1226.3629.26
New event /wp-admin/post-new.php?post_type=event2,03717.02882.7146.36
VS Event List /wp-admin/options-general.php?page=vsel1,0612.1623.6444.90

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% 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
5 plugin tags: events, simple, event manager, event list, event

very-simple-event-list/vsel.php 92% from 13 tests

"VS Event List" version 16.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("very-simple-event-list.php" instead of "vsel.php")

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
There were no executable files found in this plugin4,821 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP124194314,110
CSS44356708
JavaScript1113

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity16.00
▷ Minimum class complexity16.00
▷ Maximum class complexity16.00
Average method complexity4.75
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions156
▷ Named functions156100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/images/ui-icons_777620_256x240.png4.44KB4.17KB▼ 6.02%
css/images/ui-icons_ffffff_256x240.png6.15KB4.17KB▼ 32.13%
css/images/ui-icons_cc0000_256x240.png4.44KB4.17KB▼ 6.02%
css/images/ui-icons_777777_256x240.png6.83KB4.17KB▼ 38.92%
css/images/ui-icons_555555_256x240.png6.82KB4.17KB▼ 38.82%