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: ▲0.11MB] [CPU: ▼4.00ms] Passed 4 tests
Analyzing server-side resources used by GCal Days
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.19 ▼4.04 |
Dashboard /wp-admin | 3.43 ▲0.13 | 45.74 ▼0.04 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 46.69 ▲1.88 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 82.30 ▼13.80 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.74 ▲5.30 |
GCal Days /wp-admin/options-general.php?page=c2c_GCalDaysSettings | 3.32 | 35.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GCal Days
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.20 ▼1.19 | 1.67 ▼0.01 | 39.71 ▼7.61 |
Dashboard /wp-admin | 2,204 ▲19 | 5.82 ▲0.94 | 104.44 ▲2.23 | 38.57 ▼5.63 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.05 ▲0.05 | 39.90 ▲5.16 | 34.36 ▼1.63 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.30 ▲0.46 | 665.78 ▲9.03 | 47.80 ▼12.96 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.01 | 105.40 ▼2.29 | 45.89 ▼2.66 |
GCal Days /wp-admin/options-general.php?page=c2c_GCalDaysSettings | 829 | 2.05 | 24.90 | 26.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: calendar, days since, gcal, google, coffee2code...
gcal-days/gcal-days.php 92% from 13 tests
This is the main PHP file of "GCal Days" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin526 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 161 | 408 | 526 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 23.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 36 | 100.00% |
▷ Public methods | 35 | 97.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.78% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected