Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.03ms] Passed 4 tests
An overview of server-side resources used by WP Google Calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.72 ▼0.45 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.96 ▼3.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.11 ▲0.86 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.95 ▼8.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.84 ▲1.34 |
Settings /wp-admin/admin.php?page=wp-google-calendar-settings | 3.21 | 32.79 |
All Events /wp-admin/admin.php?page=wp-google-calendar-plg | 3.19 | 32.39 |
Documentation /wp-admin/admin.php?page=wp-google-calendar-documentation | 3.21 | 31.68 |
Server storage [IO: ▲3.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 128 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_google_events |
wp_google_api_setting |
New WordPress options |
---|
api_setting_database_version |
widget_recent-comments |
events_database_version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Google Calendar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲214 | 14.73 ▲0.44 | 12.51 ▲10.53 | 51.14 ▲9.75 |
Dashboard /wp-admin | 2,218 ▲41 | 5.06 ▼0.48 | 87.24 ▼1.52 | 80.09 ▲38.59 |
Posts /wp-admin/edit.php | 2,138 ▲35 | 2.48 ▲0.50 | 40.58 ▲5.41 | 38.01 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.77 ▲0.59 | 663.16 ▼36.07 | 38.29 ▼14.61 |
Media Library /wp-admin/upload.php | 1,432 ▲35 | 4.56 ▲0.35 | 102.91 ▼5.28 | 77.33 ▲33.04 |
Settings /wp-admin/admin.php?page=wp-google-calendar-settings | 883 | 2.00 | 31.58 | 37.99 |
All Events /wp-admin/admin.php?page=wp-google-calendar-plg | 707 | 1.57 | 9.06 | 20.48 |
Documentation /wp-admin/admin.php?page=wp-google-calendar-documentation | 952 | 2.02 | 26.57 | 54.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_google_api_setting
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- api_setting_database_version
- events_database_version
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
wp-google-calendar/wp-google-calendar.php Passed 13 tests
The primary PHP file in "WP Google Calendar" version 2.0.0 is used by WordPress to initiate all plugin functionality
55 characters long description:
Wordpress plugin to manage your google calendar events.
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
Success! There were no dangerous files found in this plugin3,710 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 336 | 229 | 2,375 |
PHP | 3 | 146 | 178 | 1,167 |
JavaScript | 4 | 0 | 16 | 94 |
Markdown | 2 | 24 | 0 | 74 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 5.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
96 PNG files occupy 2.74MB with 1.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/2.png | 23.32KB | 10.57KB | ▼ 54.70% |
img/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |
new_branch/img/ui-bg_gloss-wave_35_f6a828_500x100.png | 5.68KB | 1.83KB | ▼ 67.77% |
img/Screenshots/screenshot-5.png | 70.42KB | 35.08KB | ▼ 50.19% |
new_branch/img/7.png | 49.94KB | 22.78KB | ▼ 54.38% |