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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼8.10ms] Passed 4 tests
A check of server-side resources used by Simple Google Calendar Outlook Events Block Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 42.24 ▼0.02 |
Dashboard /wp-admin | 3.63 ▲0.29 | 52.41 ▼11.71 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 55.05 ▲0.37 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 87.29 ▼21.02 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 36.60 ▲0.98 |
Info /wp-admin/admin.php?page=simple_ical_info | 3.52 | 34.38 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_simple_ical_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Google Calendar Outlook Events Block Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.19 | 1.79 ▲0.04 | 43.96 ▼0.50 |
Dashboard /wp-admin | 2,206 ▲21 | 5.79 ▲0.89 | 105.56 ▼9.69 | 40.48 ▼1.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.06 | 39.99 ▼0.02 | 34.32 ▼2.05 |
Add New Post /wp-admin/post-new.php | 6,350 ▲4,831 | 27.72 ▲4.73 | 896.15 ▲229.58 | 61.59 ▲13.80 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▲0.06 | 98.41 ▼5.20 | 43.79 ▲0.27 |
Info /wp-admin/admin.php?page=simple_ical_info | 991 | 2.02 | 24.65 | 39.45 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_simple_ical_widget
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simple-google-icalendar-widget/js/simple-ical-block.asset.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_wp_version_compatible() in wp-content/plugins/simple-google-icalendar-widget/simple-google-icalendar-widget.php:76
- > PHP Fatal error
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 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (With theme Twenty Twenty-Two.), #2 (With theme WP Bootstrap Starter (with bootstrap 4 css and js).), #3 (Transform from Legacy widget block to Simple ical Block.)
simple-google-icalendar-widget/simple-google-icalendar-widget.php 69% from 13 tests
"Simple Google Calendar Outlook Events Block Widget" version 2.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.3.0 tested with 7.4")
- Domain Path: The domain path folder was not found ("/languages")
- Requires at least: Required version does not match the one declared in readme.txt ("5.3.0" instead of "5.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,537 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 86 | 419 | 1,174 |
JavaScript | 1 | 2 | 19 | 300 |
CSS | 2 | 3 | 6 | 40 |
JSON | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 11.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 96.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 5 | 23.81% |
▷ Public methods | 17 | 80.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 19.05% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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
No PNG files were detected