Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.53MB] [CPU: ▼5.43ms] Passed 4 tests
Analyzing server-side resources used by caldavlist
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.54 | 45.13 ▼0.84 |
Dashboard /wp-admin | 3.85 ▲0.50 | 52.89 ▼11.34 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 56.50 ▲2.03 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 97.79 ▼11.58 |
Media Library /wp-admin/upload.php | 3.78 ▲0.54 | 38.18 ▲2.53 |
caldavlist /wp-admin/options-general.php?page=caldav-list-einstellungen | 3.66 | 38.44 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by caldavlist
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲162 | 15.16 ▲0.83 | 74.23 ▲72.33 | 41.82 ▲0.76 |
Dashboard /wp-admin | 2,203 ▲23 | 5.65 ▲0.02 | 91.23 ▲1.15 | 37.57 ▼4.50 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 1.98 ▼0.05 | 39.53 ▼3.22 | 34.65 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.09 ▼0.55 | 677.64 ▲23.84 | 51.17 ▼4.96 |
Media Library /wp-admin/upload.php | 1,402 ▲8 | 4.24 ▲0.05 | 99.31 ▼7.28 | 43.82 ▼2.78 |
caldavlist /wp-admin/options-general.php?page=caldav-list-einstellungen | 863 | 2.03 | 26.66 | 27.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=caldav-list-einstellungen
- > Notice in wp-content/plugins/caldavlist/admin/caldav-list-einstellungen.php+230
Trying to access array offset on value of type bool
SRP 0% 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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/caldavlist/admin/partials/caldav-list-admin-display.php
- > /wp-content/plugins/caldavlist/public/partials/caldav-list-public-display.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Cache\\InvalidArgumentException' not found in wp-content/plugins/caldavlist/lib/cache/file/FileEventInvalidArgumentException.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/caldavlist/admin/caldav-list-einstellungen.php:237
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Cache\\CacheException' not found in wp-content/plugins/caldavlist/lib/cache/file/FileEventCacheException.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/caldavlist/admin/caldav-list-einstellungen.php:237
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Cache\\CacheItemInterface' not found in wp-content/plugins/caldavlist/lib/cache/file/FileEventCacheItem.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Cache\\CacheItemPoolInterface' not found in wp-content/plugins/caldavlist/lib/cache/file/FileEventCacheItemPool.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Cache\\CacheException' not found in wp-content/plugins/caldavlist/lib/psr/cache/InvalidArgumentException.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2 in caldavlist/assets to your readme.txt
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== caldavlist ===
)
caldavlist/caldav-list.php 92% from 13 tests
The primary PHP file in "caldavlist" version 1.1.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("caldavlist.php" instead of "caldav-list.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,827 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 715 | 2,047 | 2,635 |
CSS | 2 | 40 | 10 | 185 |
JavaScript | 3 | 4 | 55 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 16.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 183 | |
▷ Static methods | 2 | 1.09% |
▷ Public methods | 177 | 96.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.28% |
Functions | 34 | |
▷ Named functions | 32 | 94.12% |
▷ Anonymous functions | 2 | 5.88% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin