Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.80MB] [CPU: ▼37.20ms] Passed 4 tests
An overview of server-side resources used by Gimme Calendar Feeds
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.17 ▼0.29 | 15.42 ▼21.42 |
Dashboard /wp-admin | 3.21 ▼0.10 | 21.61 ▼24.79 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 20.82 ▼26.83 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 22.71 ▼75.74 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 19.91 ▼15.58 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 445 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gimme Calendar Feeds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.72 ▲0.43 | 1.95 ▲0.31 | 41.38 ▼0.29 |
Dashboard /wp-admin | 2,201 ▲20 | 5.54 ▼0.13 | 82.77 ▼19.74 | 38.91 ▼10.68 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.99 ▲0.03 | 38.60 ▲1.50 | 34.69 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 23.15 ▼0.09 | 608.14 ▼68.15 | 55.40 ▲7.18 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.21 ▲0.09 | 98.20 ▼20.43 | 41.14 ▼5.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/gimme-calendar-feeds/gimme-calendar-feeds.php+244
date_default_timezone_set(): Timezone ID '' is invalid
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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)
The smoke test was a success, however most plugin functionality was not tested
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
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gimme-calendar-feeds/gimme-calendar-feeds.php
- > /wp-content/plugins/gimme-calendar-feeds/gimme-calendar-feeds-system.php
- > /wp-content/plugins/gimme-calendar-feeds/gimme-calendar-feeds-object.php
- > /wp-content/plugins/gimme-calendar-feeds/gimme-calendar-feeds-modern-tribe.php
- > /wp-content/plugins/gimme-calendar-feeds/gimme-calendar-feeds-export.php
- > /wp-content/plugins/gimme-calendar-feeds/gimme-calendar-feeds-options.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Tags: There are too many tags (22 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (The admin panel - exporting the feeds.), #2 (The admin panel - setting the options.)
gimme-calendar-feeds/gimme-calendar-feeds.php Passed 13 tests
The main PHP script in "Gimme Calendar Feeds" version 2.0.7 is automatically included on every request by WordPress
128 characters long description:
Allows creation of custom iCal feeds for upcoming events, based on event category. Requires Modern Tribe's - The Event Calendar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,925 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 553 | 426 | 2,228 |
JavaScript | 1 | 110 | 70 | 451 |
CSS | 1 | 57 | 20 | 246 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 71.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 82 | 51.57% |
▷ Public methods | 155 | 97.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.52% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 24 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 24 | 100.00% |
▷ Public constants | 24 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.32MB with 0.23MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 179.28KB | 50.38KB | ▼ 71.90% |
screenshot-2.png | 148.58KB | 40.08KB | ▼ 73.02% |