Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲2.07ms] Passed 4 tests
This is a short check of server-side resources used by WP-CalDav2ICS
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 50.01 ▲10.75 |
Dashboard /wp-admin | 3.56 ▲0.22 | 59.53 ▼3.76 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 56.22 ▲8.43 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 92.55 ▼7.16 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 47.73 ▲12.75 |
WP-CalDav2ICS /wp-admin/options-general.php?page=Caldav2ics_PluginSettings | 3.36 | 41.12 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Caldav2ics_Plugin_Logging |
Caldav2ics_Plugin_CronInterval |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Caldav2ics_Plugin__installed |
Caldav2ics_Plugin__version |
Browser metrics Passed 4 tests
WP-CalDav2ICS: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.33 ▲0.04 | 1.97 ▲0.25 | 43.43 ▲2.95 |
Dashboard /wp-admin | 2,201 ▲24 | 5.63 ▼0.01 | 91.92 ▲3.04 | 39.57 ▲0.76 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▲0.01 | 35.73 ▼0.70 | 33.17 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.85 ▼0.18 | 670.91 ▼27.48 | 55.18 ▲0.25 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.17 ▼0.04 | 108.17 ▼2.68 | 47.21 ▲0.42 |
WP-CalDav2ICS /wp-admin/options-general.php?page=Caldav2ics_PluginSettings | 925 | 2.04 | 26.05 | 25.66 |
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
- This plugin did not uninstall successfully, leaving 10 options in the database
- Caldav2ics_Plugin__installed
- Caldav2ics_Plugin_Logging
- widget_theysaidso_widget
- theysaidso_admin_options
- Caldav2ics_Plugin__version
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- Caldav2ics_Plugin_CronInterval
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Caldav2ics_PluginSettings
- > Notice in wp-content/plugins/wp-caldav2ics/Caldav2ics_Plugin.php+701
Undefined variable: key
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Caldav2ics_PluginSettings
- > Warning in wp-content/plugins/wp-caldav2ics/Caldav2ics_Plugin.php+40
Invalid argument supplied for foreach()
SRP 50% 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-caldav2ics/wp-caldav2ics.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% 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 require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
wp-caldav2ics/wp-caldav2ics.php Passed 13 tests
The principal PHP file in "WP-CalDav2ICS" v. 1.3.4 is loaded by WordPress automatically on each request
36 characters long description:
Create ICS File from CalDav Calendar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,137 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 187 | 605 | 1,023 |
PO File | 1 | 28 | 29 | 76 |
CSS | 1 | 2 | 1 | 20 |
Markdown | 1 | 3 | 0 | 18 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 52 | 63.41% |
▷ Protected methods | 29 | 35.37% |
▷ Private methods | 1 | 1.22% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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
PNG images were not found in this plugin