Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.32ms] Passed 4 tests
A check of server-side resources used by DaySchedule
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.43 ▼2.96 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.29 ▼0.92 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 53.89 ▼0.06 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.04 | 95.97 ▼9.35 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 37.44 ▲0.02 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
DaySchedule: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲100 | 21.50 ▲6.98 | 84.79 ▲83.07 | 42.27 ▼2.64 |
Dashboard /wp-admin | 2,215 ▲35 | 5.58 ▲0.01 | 87.78 ▼4.82 | 37.54 ▼5.19 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.02 ▲0.03 | 35.23 ▼3.07 | 35.38 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.05 ▲0.07 | 605.31 ▼88.98 | 54.38 ▼8.86 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.21 ▼0.02 | 97.58 ▼13.81 | 43.15 ▼5.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
- Tags: You are using too many tags: 12 tag instead of maximum 10
dayschedule-appointment-event-and-service-booking/dayschedule.php 77% from 13 tests
"DaySchedule" version 0.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("dayschedule-appointment-event-and-service-booking.php" instead of "dayschedule.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 486 characters long)
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
No dangerous file extensions were detected202 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 64 | 351 | 184 |
JavaScript | 2 | 2 | 21 | 17 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 1.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 11 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 21.43% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.37MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 12.37KB | 5.00KB | ▼ 59.55% |
assets/screenshot-2.png | 88.65KB | 24.66KB | ▼ 72.18% |
assets/banner-772x250.png | 77.86KB | 26.12KB | ▼ 66.45% |
assets/screenshot-3.png | 97.27KB | 28.13KB | ▼ 71.08% |
assets/screenshot-1.png | 100.61KB | 29.38KB | ▼ 70.80% |