Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.60ms] Passed 4 tests
This is a short check of server-side resources used by Event Single Page Builder For The Event Calendar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.64 ▼3.76 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.16 ▼17.10 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.96 ▼0.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.09 ▼7.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.61 ▼1.95 |
Dashboard /wp-admin/admin.php?page=cool-plugins-events-addon | 3.00 | 23.35 |
Single Event Template /wp-admin/edit.php?post_type=epta | 3.04 | 25.53 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 147 new files
Database: no new tables, 9 new options
New WordPress options |
---|
tecset-installDate |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
tecset-ratingDiv |
theysaidso_admin_options |
tecset-single-page-id |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Event Single Page Builder For The Event Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲89 | 14.38 ▲0.03 | 2.13 ▲0.46 | 36.93 ▼7.54 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.08 | 95.43 ▲7.09 | 43.39 ▲7.86 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.06 | 40.72 ▼0.45 | 36.00 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.07 ▲4.68 | 614.59 ▼45.51 | 52.04 ▼17.39 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▼0.05 | 95.97 ▼3.98 | 40.14 ▼3.58 |
Dashboard /wp-admin/admin.php?page=cool-plugins-events-addon | 28 | 0.41 | 0.09 | 4.01 |
Single Event Template /wp-admin/edit.php?post_type=epta | 28 | 0.41 | 0.09 | 3.73 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- tecset-single-page-id
- widget_recent-posts
- tecset-installDate
- tecset-ratingDiv
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/event-page-templates-addon-for-the-events-calendar/epta-template/epta-template-1.php
- > /wp-content/plugins/event-page-templates-addon-for-the-events-calendar/admin/events-addon-page/includes/cool_plugins_downloader.php
- > /wp-content/plugins/event-page-templates-addon-for-the-events-calendar/epta-template/epta-template-2.php
- 41× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/CMB2_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/event-page-templates-addon-for-the-events-calendar/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=cool-plugins-events-addon
- > Network (severe)
wp-admin/admin.php?page=cool-plugins-events-addon - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=epta
- > Network (severe)
wp-admin/edit.php?post_type=epta - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: event calendar, events, event management, the events calendar, theeventscalendar...
event-page-templates-addon-for-the-events-calendar/the-events-calendar-event-details-page-templates.php 77% from 13 tests
The main PHP file in "Event Single Page Builder For The Event Calendar" ver. 1.6.9 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 193 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("event-page-templates-addon-for-the-events-calendar.php" instead of "the-events-calendar-event-details-page-templates.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected17,428 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 73 | 2,504 | 6,648 | 9,333 |
CSS | 22 | 399 | 1,273 | 6,075 |
JavaScript | 16 | 459 | 655 | 1,935 |
SVG | 9 | 65 | 0 | 85 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 20.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 76 | |
▷ Abstract classes | 9 | 11.84% |
▷ Concrete classes | 67 | 88.16% |
▷ Final classes | 1 | 1.49% |
Methods | 611 | |
▷ Static methods | 93 | 15.22% |
▷ Public methods | 514 | 84.12% |
▷ Protected methods | 90 | 14.73% |
▷ Private methods | 7 | 1.15% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 7 | 43.75% |
▷ Class constants | 9 | 56.25% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
16 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |