Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▲3.54ms] Passed 4 tests
Analyzing server-side resources used by Private Google Calendars
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.53 | 40.88 ▼1.40 |
Dashboard /wp-admin | 3.81 ▲0.51 | 49.17 ▲2.50 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 58.00 ▲7.87 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 94.28 ▲5.20 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 44.09 ▲10.49 |
Private Google Calendars /wp-admin/options-general.php?page=pgc | 3.64 | 39.18 |
Server storage [IO: ▲2.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_pgc_calender_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Private Google Calendars
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲103 | 15.44 ▲1.09 | 33.34 ▲31.78 | 37.28 ▼6.25 |
Dashboard /wp-admin | 2,196 ▲19 | 5.53 ▼0.13 | 89.74 ▼12.36 | 39.36 ▼0.76 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.07 | 39.84 ▼2.63 | 35.82 ▼4.33 |
Add New Post /wp-admin/post-new.php | 6,370 ▲4,844 | 27.74 ▲4.39 | 953.76 ▲330.89 | 67.85 ▲8.05 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.14 ▼0.02 | 104.11 ▲7.95 | 43.24 ▼1.65 |
Private Google Calendars /wp-admin/options-general.php?page=pgc | 1,024 | 2.00 | 28.20 | 62.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_pgc_calender_widget
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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 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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/private-google-calendars/private-google-calendars.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: google, calendar
private-google-calendars/private-google-calendars.php 92% from 13 tests
The main PHP script in "Private Google Calendars" version 20231125... is automatically included on every request by WordPress
Please take the time to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "20231125...")
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 detected3,375 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 288 | 279 | 2,116 |
JavaScript | 15 | 74 | 81 | 470 |
PO File | 2 | 205 | 212 | 430 |
CSS | 11 | 96 | 72 | 359 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 21.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 27 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 18.18% |
Functions | 68 | |
▷ Named functions | 50 | 73.53% |
▷ Anonymous functions | 18 | 26.47% |
Constants | 32 | |
▷ Global constants | 24 | 75.00% |
▷ Class constants | 8 | 25.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin