Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲2.19MB] [CPU: ▼310.13ms] Passed 4 tests
An overview of server-side resources used by Sermon'e - Sermons Online
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.72 ▲2.20 | 70.64 ▲20.01 |
Dashboard /wp-admin | 5.65 ▲2.24 | 55.32 ▲20.59 |
Posts /wp-admin/edit.php | 5.87 ▲2.23 | 58.78 ▲20.30 |
Add New Post /wp-admin/post-new.php | 9.11 ▲2.14 | 108.05 ▼1,281.73 |
Media Library /wp-admin/upload.php | 5.51 ▲2.20 | 34.77 ▲0.89 |
Preachers /wp-admin/edit-tags.php?taxonomy=sermone_preacher&post_type=sermone | 5.55 | 49.01 |
Add New /wp-admin/post-new.php?post_type=sermone | 5.89 | 69.54 |
All Sermon /wp-admin/edit.php?post_type=sermone | 5.64 | 62.03 |
Books /wp-admin/edit-tags.php?taxonomy=sermone_books&post_type=sermone | 5.54 | 48.76 |
Topics /wp-admin/edit-tags.php?taxonomy=sermone_topics&post_type=sermone | 5.54 | 40.13 |
Series /wp-admin/edit-tags.php?taxonomy=sermone_series&post_type=sermone | 5.54 | 40.06 |
Settings /wp-admin/edit.php?post_type=sermone&page=sermone-settings-panel | 5.54 | 45.08 |
Server storage [IO: ▲9.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 518 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sermon'e - Sermons Online
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,383 ▲629 | 21.36 ▲5.77 | 18.26 ▲11.85 | 2.24 ▼0.37 |
Dashboard /wp-admin | 3,313 ▲452 | 10.53 ▲4.22 | 198.90 ▲64.70 | 154.86 ▼2.97 |
Posts /wp-admin/edit.php | 3,174 ▲483 | 7.78 ▲4.53 | 107.12 ▲43.02 | 138.80 ▼6.03 |
Add New Post /wp-admin/post-new.php | 1,844 ▲84 | 24.21 ▲7.25 | 424.84 ▼14.69 | 184.33 ▲5.35 |
Media Library /wp-admin/upload.php | 1,919 ▲221 | 7.88 ▲2.42 | 154.20 ▲11.06 | 208.95 ▼47.17 |
Preachers /wp-admin/edit-tags.php?taxonomy=sermone_preacher&post_type=sermone | 2,219 | 7.87 | 129.91 | 127.43 |
Add New /wp-admin/post-new.php?post_type=sermone | 4,456 | 14.56 | 302.20 | 249.19 |
All Sermon /wp-admin/edit.php?post_type=sermone | 1,885 | 7.65 | 108.02 | 115.00 |
Books /wp-admin/edit-tags.php?taxonomy=sermone_books&post_type=sermone | 2,107 | 7.48 | 104.83 | 115.26 |
Topics /wp-admin/edit-tags.php?taxonomy=sermone_topics&post_type=sermone | 2,107 | 7.46 | 106.80 | 109.77 |
Series /wp-admin/edit-tags.php?taxonomy=sermone_series&post_type=sermone | 2,109 | 7.53 | 106.47 | 110.26 |
Settings /wp-admin/edit.php?post_type=sermone&page=sermone-settings-panel | 1,762 | 8.15 | 136.37 | 157.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/sermone-online-sermons-management/templates/quickview-modal.php
- > /wp-content/plugins/sermone-online-sermons-management/templates/list-preacher.php
- > /wp-content/plugins/sermone-online-sermons-management/templates/form-fields/text.php
- > /wp-content/plugins/sermone-online-sermons-management/templates/form-fields/select.php
- > /wp-content/plugins/sermone-online-sermons-management/templates/media-nav.php
- 149× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/sermone-online-sermons-management/templates/share.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/core/Service/Legacy_Storage_Service_v_1_5.php:15
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Post_Meta_Datastore' not found in wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/core/Datastore/Nav_Menu_Item_Datastore.php:7
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 35
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Interface' not found in wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/core/Datastore/Datastore.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Key_Value_Datastore' not found in wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/core/Datastore/Theme_Options_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/templates/Container/user_meta.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/sermone-online-sermons-management/templates/archive.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/sermone-online-sermons-management/inc/hooks.php:19
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/sermone-online-sermons-management/vendor/htmlburger/carbon-fields/core/Field/Separator_Field.php:9
- > PHP Fatal error
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 86% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
sermone-online-sermons-management/sermone.php 77% from 13 tests
The entry point to "Sermon'e - Sermons Online" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("sermone-online-sermons-management.php" instead of "sermone.php")
- Description: The description should be shorter than 140 characters (currently 162 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin33,571 lines of code in 455 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 180 | 5,278 | 8,540 | 13,284 |
PHP | 168 | 2,729 | 7,158 | 10,205 |
JSON | 6 | 0 | 0 | 3,408 |
Sass | 57 | 512 | 3 | 2,548 |
PO File | 26 | 819 | 1,020 | 2,202 |
CSS | 8 | 325 | 1,143 | 1,662 |
SVG | 7 | 2 | 2 | 194 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 11 | 9.09% |
▷ Concrete classes | 110 | 90.91% |
▷ Final classes | 1 | 0.91% |
Methods | 898 | |
▷ Static methods | 90 | 10.02% |
▷ Public methods | 729 | 81.18% |
▷ Protected methods | 165 | 18.37% |
▷ Private methods | 4 | 0.45% |
Functions | 184 | |
▷ Named functions | 92 | 50.00% |
▷ Anonymous functions | 92 | 50.00% |
Constants | 31 | |
▷ Global constants | 8 | 25.81% |
▷ Class constants | 23 | 74.19% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin