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: ▼2.50MB] [CPU: ▼344.68ms] Passed 4 tests
Analyzing server-side resources used by Plugin Name: Add classes to Google Calendar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.87 ▼1.65 | 3.89 ▼46.56 |
Dashboard /wp-admin | 1.89 ▼1.52 | 3.34 ▼29.53 |
Posts /wp-admin/edit.php | 1.89 ▼1.75 | 3.31 ▼33.92 |
Add New Post /wp-admin/post-new.php | 1.89 ▼5.09 | 4.28 ▼1,268.69 |
Media Library /wp-admin/upload.php | 1.89 ▼1.41 | 4.02 ▼19.82 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Name: Add classes to Google Calendar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 16.55 ▲0.31 | 7.42 ▲1.59 | 3.11 ▲0.33 |
Dashboard /wp-admin | 2,897 ▲36 | 6.41 ▲0.08 | 117.78 ▼25.48 | 157.32 ▼7.46 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.43 ▼0.00 | 62.70 ▼3.00 | 141.62 ▼2.42 |
Add New Post /wp-admin/post-new.php | 1,692 ▲31 | 21.03 ▲4.38 | 426.96 ▼1.56 | 158.82 ▲15.21 |
Media Library /wp-admin/upload.php | 1,700 ▼1 | 5.67 ▼0.05 | 134.59 ▼3.11 | 191.88 ▲4.03 |
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
The following items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5768
wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the booking-sync handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
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
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Contributors: Contributors not specified
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: Add classes to Google Calendar ===
)
add-classes-to-googles-calendar/add-classes-to-google-calendar.php 85% from 13 tests
This is the main PHP file of "Plugin Name: Add classes to Google Calendar" version 1..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1...")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("add-classes-to-googles-calendar.php" instead of "add-classes-to-google-calendar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected43 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 9 | 30 |
CSS | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin