Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/wp-responsive-holiday-events-calendar/wp-responsive-holiday-events-calendar.php+1233
Methods with the same name as their class will not be constructors in a future version of PHP; whec_array_sorter has a deprecated constructor
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.47ms] Passed 4 tests
A check of server-side resources used by WP Responsive Holiday/Events Calendar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.05 ▲4.38 |
Dashboard /wp-admin | 3.32 ▼0.03 | 52.49 ▼17.43 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.88 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.72 ▼15.55 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.72 ▲4.30 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_whec_holiday |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
WP Responsive Holiday/Events Calendar: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 13.63 ▼0.93 | 1.79 ▼0.31 | 43.60 ▲3.31 |
Dashboard /wp-admin | 2,233 ▲30 | 5.88 ▼0.03 | 113.24 ▼14.31 | 43.14 ▼14.06 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.99 ▲0.03 | 35.05 ▼4.25 | 35.16 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 17.68 ▲0.14 | 629.77 ▼1.60 | 56.53 ▼2.51 |
Media Library /wp-admin/upload.php | 1,412 ▲18 | 4.30 ▲0.05 | 96.57 ▼5.09 | 43.08 ▲0.00 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_whec_holiday
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-responsive-holiday-events-calendar/wp-responsive-holiday-events-calendar.php Passed 13 tests
The entry point to "WP Responsive Holiday/Events Calendar" version 1.1.0 is a PHP file that has certain tags in its header comment area
70 characters long description:
Beautiful way to show your upcoming Holidays and Events in WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,763 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 76 | 92 | 1,832 |
PHP | 2 | 163 | 139 | 1,452 |
JavaScript | 5 | 328 | 180 | 1,373 |
PO File | 1 | 49 | 49 | 106 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 6.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/drop-down-arrow.png | 0.59KB | 0.32KB | ▼ 46.96% |
assets/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |