Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.78MB] [CPU: ▲36.29ms] Passed 4 tests
Server-side resources used by ShiftController Employee Shift Scheduling
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.05 ▲2.59 | 71.26 ▲32.76 |
Dashboard /wp-admin | 6.15 ▲2.80 | 84.81 ▲22.20 |
Posts /wp-admin/edit.php | 6.20 ▲2.85 | 92.53 ▲45.46 |
Add New Post /wp-admin/post-new.php | 8.97 ▲3.09 | 140.21 ▲51.16 |
Media Library /wp-admin/upload.php | 6.10 ▲2.87 | 77.45 ▲44.73 |
Server storage [IO: ▲1.77MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 364 new files
Database: no new tables, 21 new options
New WordPress options |
---|
sh4_calendar_17_shifttype |
can_compress_scripts |
sh4_migration_employees |
sh4_migration_calendars |
sh4_migration_shifts |
widget_recent-comments |
sh4_calendar_18_employee |
sh4_migration_app |
sh4_calendar_15_shifttype |
sh4_calendar_15_employee |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ShiftController Employee Shift Scheduling
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲86 | 14.34 ▼0.01 | 1.56 ▼0.23 | 37.31 ▼7.45 |
Dashboard /wp-admin | 2,230 ▲52 | 5.58 ▼0.10 | 97.67 ▼17.01 | 42.12 ▼3.56 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 1.97 ▼0.03 | 42.01 ▼1.18 | 36.95 ▲1.60 |
Add New Post /wp-admin/post-new.php | 1,552 ▲23 | 22.92 ▼0.29 | 616.81 ▼2.84 | 52.83 ▼0.04 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.22 ▲0.06 | 95.01 ▼1.77 | 41.67 ▼2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 21 options
- sh4_calendar_17_employee
- widget_recent-comments
- sh4-rest_auth_code
- sh4_migration_calendars
- sh4_migration_conf
- sh4_calendar_18_employee
- db_upgraded
- sh4_calendar_15_employee
- sh4_calendar_16_employee
- widget_theysaidso_widget
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
shiftcontroller/shiftcontroller4.php 92% from 13 tests
The principal PHP file in "ShiftController Employee Shift Scheduling" v. 4.9.46 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("shiftcontroller.php" instead of "shiftcontroller4.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 detected51,251 lines of code in 352 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 335 | 8,169 | 2,819 | 38,425 |
PO File | 9 | 4,536 | 0 | 9,178 |
JavaScript | 6 | 263 | 119 | 2,200 |
CSS | 2 | 105 | 44 | 1,448 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 757.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 65 | |
Traits | 0 | |
Classes | 324 | |
▷ Abstract classes | 4 | 1.23% |
▷ Concrete classes | 320 | 98.77% |
▷ Final classes | 0 | 0.00% |
Methods | 2,040 | |
▷ Static methods | 17 | 0.83% |
▷ Public methods | 1,988 | 97.45% |
▷ Protected methods | 51 | 2.50% |
▷ Private methods | 1 | 0.05% |
Functions | 18 | |
▷ Named functions | 2 | 11.11% |
▷ Anonymous functions | 16 | 88.89% |
Constants | 22 | |
▷ Global constants | 4 | 18.18% |
▷ Class constants | 18 | 81.82% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin