Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/biz-calendar/biz-calendar.php+73
Function create_function() is deprecated
Server metrics [RAM: ▼1.86MB] [CPU: ▼57.33ms] Passed 4 tests
This is a short check of server-side resources used by Biz Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.33 ▼33.80 |
Dashboard /wp-admin | 2.16 ▼1.19 | 6.99 ▼53.21 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.57 ▼45.34 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 7.04 ▼96.95 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 7.69 ▼27.97 |
Biz Calendar設定 /wp-admin/options-general.php?page=biz-calendar/biz-calendar.php | 2.16 | 7.03 |
Server storage [IO: ▲0.03MB] [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, 9 new options
New WordPress options |
---|
bizcalendar_options |
db_upgraded |
widget_bizcalendar |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
biz_national_holiday |
Browser metrics Passed 4 tests
A check of browser resources used by Biz Calendar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲149 | 13.72 ▼0.58 | 7.64 ▲5.83 | 41.21 ▲1.04 |
Dashboard /wp-admin | 2,209 ▲21 | 5.85 ▼0.00 | 99.85 ▼7.32 | 42.17 ▼1.55 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.09 ▲0.08 | 33.58 ▼7.40 | 36.11 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.21 ▲5.60 | 654.89 ▼31.63 | 53.25 ▼1.85 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.32 ▲0.12 | 99.06 ▼9.25 | 45.09 ▼6.64 |
Biz Calendar設定 /wp-admin/options-general.php?page=biz-calendar/biz-calendar.php | 1,115 | 2.21 | 27.80 | 101.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/biz-calendar/biz-calendar.php+73
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- biz_national_holiday
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- bizcalendar_options
- widget_theysaidso_widget
- widget_bizcalendar
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=biz-calendar/biz-calendar.php
- > Deprecated in wp-content/plugins/biz-calendar/biz-calendar.php+73
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=biz-calendar/biz-calendar.php
- > Notice in wp-content/plugins/biz-calendar/admin-ui.php+106
Undefined index: eventday_url
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/biz-calendar/biz-calendar.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/biz-calendar/admin-view.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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
These attributes need your attention:
- Donate link: Invalid URI ("")
biz-calendar/biz-calendar.php Passed 13 tests
The principal PHP file in "Biz Calendar" v. 2.2.0 is loaded by WordPress automatically on each request
99 characters long description:
営業日・イベントカレンダーをウィジェットに表示するプラグインです。
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
Success! There were no dangerous files found in this plugin760 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 61 | 40 | 372 |
JavaScript | 2 | 25 | 10 | 295 |
CSS | 1 | 1 | 0 | 93 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 7 | 14.89% |
▷ Public methods | 46 | 97.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.13% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/down.png | 0.14KB | 0.13KB | ▼ 7.69% |
image/up-limit.png | 0.11KB | 0.12KB | 0.00% |
image/up.png | 0.14KB | 0.13KB | ▼ 9.72% |
image/down-limit.png | 0.11KB | 0.13KB | 0.00% |
image/today.png | 0.13KB | 0.10KB | ▼ 19.23% |