Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.91ms] Passed 4 tests
A check of server-side resources used by Keep Sabbath
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.84 ▼2.72 |
Dashboard /wp-admin | 3.40 ▲0.06 | 48.77 ▼7.50 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.23 ▲1.16 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 89.41 ▼3.48 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.23 ▼1.93 |
Keep Sabbath /wp-admin/options-general.php?page=keepsabbath | 3.29 | 32.79 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 11 new options
New WordPress options |
---|
keepsabbath_setting_latitude |
keepsabbath_setting_pages_to_redirect |
keepsabbath_setting_redirect_to_page |
keepsabbath_setting_longitude |
widget_recent-comments |
keepsabbath_setting_holy_day_dates |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Keep Sabbath
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.35 ▼0.23 | 1.72 ▲0.17 | 44.09 ▲4.17 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▼0.02 | 88.96 ▲3.50 | 44.74 ▲5.86 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.01 | 33.88 ▼2.98 | 35.41 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,529 ▼0 | 23.59 ▲0.49 | 676.43 ▲69.43 | 62.75 ▲13.73 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▲0.06 | 103.04 ▼9.47 | 45.20 ▼3.41 |
Keep Sabbath /wp-admin/options-general.php?page=keepsabbath | 867 | 1.99 | 25.36 | 31.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 11 options
- keepsabbath_setting_pages_to_redirect
- keepsabbath_setting_holy_day_dates
- widget_theysaidso_widget
- widget_recent-comments
- keepsabbath_setting_longitude
- can_compress_scripts
- db_upgraded
- keepsabbath_setting_redirect_to_page
- widget_recent-posts
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
keep-sabbath/keep-sabbath.php 85% from 13 tests
"Keep Sabbath" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "5.2")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
There were no executable files found in this plugin400 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 105 | 420 | 400 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 1 | 2.70% |
▷ Public methods | 33 | 89.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.81% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin