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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▼2.00ms] Passed 4 tests
A check of server-side resources used by Sel Church Sermon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.57 | 41.88 ▲4.05 |
Dashboard /wp-admin | 3.87 ▲0.52 | 47.21 ▼13.66 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 50.99 ▲6.80 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 97.72 ▼3.17 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 38.70 ▲4.77 |
Add New Sermon /wp-admin/post-new.php?post_type=selt_sermon | 3.93 | 57.21 |
Series /wp-admin/edit-tags.php?taxonomy=selt_sermon_series&post_type=selt_sermon | 3.72 | 45.27 |
Speaker /wp-admin/edit-tags.php?taxonomy=selt_sermon_speaker&post_type=selt_sermon | 3.72 | 52.10 |
All Sermons /wp-admin/edit.php?post_type=selt_sermon | 3.84 | 39.66 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.80 | 37.67 |
Tags /wp-admin/edit-tags.php?taxonomy=selt_sermon_tag&post_type=selt_sermon | 3.72 | 36.61 |
Topics /wp-admin/edit-tags.php?taxonomy=selt_sermon_topic&post_type=selt_sermon | 3.72 | 35.10 |
Server storage [IO: ▲0.17MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-sermons |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Sel Church Sermon: 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,877 ▲131 | 13.42 ▼0.96 | 1.48 ▼0.38 | 41.15 ▼3.54 |
Dashboard /wp-admin | 2,280 ▲92 | 5.85 ▲1.01 | 107.44 ▲3.69 | 43.03 ▲1.52 |
Posts /wp-admin/edit.php | 2,174 ▲85 | 2.05 ▼0.00 | 41.39 ▲4.72 | 41.00 ▲6.83 |
Add New Post /wp-admin/post-new.php | 1,590 ▲71 | 23.12 ▲0.04 | 633.17 ▼60.23 | 48.88 ▼8.63 |
Media Library /wp-admin/upload.php | 1,473 ▲85 | 4.30 ▲0.07 | 98.29 ▼2.21 | 45.30 ▼0.62 |
Add New Sermon /wp-admin/post-new.php?post_type=selt_sermon | 2,875 | 7.96 | 196.19 | 74.38 |
Series /wp-admin/edit-tags.php?taxonomy=selt_sermon_series&post_type=selt_sermon | 1,344 | 2.33 | 27.74 | 32.83 |
Speaker /wp-admin/edit-tags.php?taxonomy=selt_sermon_speaker&post_type=selt_sermon | 1,341 | 2.33 | 33.02 | 37.36 |
All Sermons /wp-admin/edit.php?post_type=selt_sermon | 1,210 | 2.00 | 33.92 | 34.19 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,002 | 2.09 | 26.28 | 29.18 |
Tags /wp-admin/edit-tags.php?taxonomy=selt_sermon_tag&post_type=selt_sermon | 1,316 | 2.33 | 30.15 | 36.71 |
Topics /wp-admin/edit-tags.php?taxonomy=selt_sermon_topic&post_type=selt_sermon | 1,344 | 2.33 | 30.95 | 36.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-sermons
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/sel-church-sermons/inc/tgmpa/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/sel-church-sermons/inc/tgmpa/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: church sermon, sermons, church
sel-church-sermons/plugin.php 69% from 13 tests
"Sel Church Sermon" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 163 characters long)
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("sel-church-sermons.php" instead of "plugin.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin2,211 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 575 | 1,847 | 2,211 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 44.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 5 | 4.76% |
▷ Public methods | 82 | 78.10% |
▷ Protected methods | 23 | 21.90% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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
No PNG images were found in this plugin