Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▲1.55ms] Passed 4 tests
This is a short check of server-side resources used by Tagelin Rota
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 41.68 ▲3.18 |
Dashboard /wp-admin | 3.71 ▲0.41 | 48.86 ▲0.59 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 48.36 ▲3.29 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 92.64 ▼0.87 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.53 ▲4.22 |
Server storage [IO: ▲0.22MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: 8 new tables, 7 new options
New tables |
---|
wp_tagelin_rota_role |
wp_tagelin_rota_event_role |
wp_tagelin_rota_group |
wp_tagelin_rota_schedule_detail |
wp_tagelin_rota_person_role |
wp_tagelin_rota_event |
wp_tagelin_rota_person |
wp_tagelin_rota_location |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
tagelin-rota-settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tagelin Rota
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.37 ▼1.27 | 1.79 ▲0.08 | 40.10 ▼4.47 |
Dashboard /wp-admin | 2,206 ▲20 | 5.80 ▲0.88 | 98.70 ▼11.00 | 39.62 ▼3.13 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▲0.02 | 42.97 ▲3.78 | 37.57 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.10 ▲4.76 | 574.74 ▼105.88 | 61.71 ▼1.90 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.19 ▼0.01 | 99.69 ▲1.90 | 41.68 ▼3.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- tagelin-rota-settings
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The SRP test was a success
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: roster, when, what, allocation, rota...
tagelin-rota/tagelin-rota.php Passed 13 tests
"Tagelin Rota" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
63 characters long description:
Rota duty roster. Allocate people to roles at scheduled events.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin5,687 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 990 | 582 | 2,558 |
PHP | 18 | 1,136 | 430 | 2,339 |
CSS | 2 | 257 | 106 | 495 |
HTML | 1 | 65 | 0 | 295 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 1 | 7.69% |
Methods | 144 | |
▷ Static methods | 9 | 6.25% |
▷ Public methods | 142 | 98.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.39% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 22 | 100.00% |
▷ Public constants | 22 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin