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.04MB] [CPU: ▼3.85ms] Passed 4 tests
Server-side resources used by Link Google Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.09 ▼8.10 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.75 ▼3.11 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 52.27 ▼1.74 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.26 ▲0.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 34.44 ▼2.43 |
Number of Calendars /wp-admin/admin.php?page=link-google-number-of-calendar-options | 3.24 | 32.36 |
Link Google Calendar Options /wp-admin/admin.php?page=link-google-calendar-options | 3.24 | 30.58 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Link Google Calendar: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.27 ▼0.32 | 2.00 ▲0.18 | 43.11 ▼0.71 |
Dashboard /wp-admin | 2,215 ▲35 | 5.63 ▼0.04 | 90.36 ▼7.28 | 37.38 ▼6.93 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.03 ▲0.03 | 39.21 ▲2.95 | 35.70 ▼6.09 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 18.30 ▼5.22 | 642.88 ▼47.68 | 63.39 ▲10.29 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.18 ▼0.00 | 98.53 ▼26.78 | 47.19 ▼3.76 |
Number of Calendars /wp-admin/admin.php?page=link-google-number-of-calendar-options | 913 | 2.00 | 25.69 | 27.12 |
Link Google Calendar Options /wp-admin/admin.php?page=link-google-calendar-options | 889 | 2.00 | 28.01 | 29.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/link-google-calendar/languages/index.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/link-google-calendar/link-google-calendar.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: calendar, embedded google calendar, google calendar embed link, google calendar
link-google-calendar/link-google-calendar.php 92% from 13 tests
"Link Google Calendar" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("3.5" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected294 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 32 | 14 | 294 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
8 PNG files occupy 0.26MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 38.75KB | 13.44KB | ▼ 65.31% |
assets/screenshot-2.png | 47.69KB | 18.27KB | ▼ 61.68% |
assets/icon-256x256.png | 9.02KB | 8.07KB | ▼ 10.54% |
assets/screenshot-3.png | 81.89KB | 32.10KB | ▼ 60.81% |
assets/banner-772x250.png | 15.71KB | 14.74KB | ▼ 6.17% |