Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲2.45MB] [CPU: ▲15.02ms] Passed 4 tests
Analyzing server-side resources used by Church Content - Sermons, Events and More
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.44 ▲0.98 | 51.39 ▲13.33 |
Dashboard /wp-admin | 6.24 ▲2.93 | 99.84 ▲46.63 |
Posts /wp-admin/edit.php | 6.31 ▲2.95 | 62.07 ▲18.68 |
Add New Post /wp-admin/post-new.php | 8.92 ▲3.04 | 105.95 ▲7.79 |
Media Library /wp-admin/upload.php | 6.17 ▲2.94 | 55.63 ▲20.26 |
Add New /wp-admin/post-new.php?post_type=ctc_event | 8.97 | 108.23 |
Add New /wp-admin/post-new.php?post_type=ctc_sermon | 8.96 | 114.68 |
Series /wp-admin/edit-tags.php?taxonomy=ctc_sermon_series&post_type=ctc_sermon | 6.16 | 56.08 |
All People /wp-admin/edit.php?post_type=ctc_person | 6.23 | 57.33 |
Groups /wp-admin/edit-tags.php?taxonomy=ctc_person_group&post_type=ctc_person | 6.16 | 49.50 |
Topics /wp-admin/edit-tags.php?taxonomy=ctc_sermon_topic&post_type=ctc_sermon | 6.16 | 51.57 |
Speakers /wp-admin/edit-tags.php?taxonomy=ctc_sermon_speaker&post_type=ctc_sermon | 6.16 | 49.26 |
Books /wp-admin/edit-tags.php?taxonomy=ctc_sermon_book&post_type=ctc_sermon | 6.16 | 52.12 |
Church Content /wp-admin/options-general.php?page=church-theme-content | 6.16 | 55.76 |
Tags /wp-admin/edit-tags.php?taxonomy=ctc_sermon_tag&post_type=ctc_sermon | 6.16 | 53.67 |
Server storage [IO: ▲1.72MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 89 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
ctc_version |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Church Content - Sermons, Events and More
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲267 | 13.67 ▼0.71 | 1.65 ▼0.07 | 44.22 ▲0.13 |
Dashboard /wp-admin | 2,399 ▲211 | 4.88 ▼1.00 | 113.85 ▲10.75 | 39.17 ▼3.46 |
Posts /wp-admin/edit.php | 2,249 ▲160 | 2.02 ▼0.14 | 34.33 ▼2.00 | 32.87 ▲2.27 |
Add New Post /wp-admin/post-new.php | 1,664 ▲150 | 23.23 ▲5.51 | 666.14 ▼63.41 | 59.54 ▲0.90 |
Media Library /wp-admin/upload.php | 1,553 ▲168 | 4.22 ▼0.02 | 95.26 ▼18.02 | 43.61 ▼5.30 |
Add New /wp-admin/post-new.php?post_type=ctc_event | 2,474 | 17.80 | 910.18 | 46.94 |
Add New /wp-admin/post-new.php?post_type=ctc_sermon | 6,715 | 21.83 | 768.78 | 42.85 |
Series /wp-admin/edit-tags.php?taxonomy=ctc_sermon_series&post_type=ctc_sermon | 1,418 | 2.16 | 28.53 | 28.89 |
All People /wp-admin/edit.php?post_type=ctc_person | 1,306 | 1.94 | 32.12 | 32.16 |
Groups /wp-admin/edit-tags.php?taxonomy=ctc_person_group&post_type=ctc_person | 1,422 | 2.14 | 27.28 | 34.16 |
Topics /wp-admin/edit-tags.php?taxonomy=ctc_sermon_topic&post_type=ctc_sermon | 1,419 | 2.14 | 26.99 | 29.71 |
Speakers /wp-admin/edit-tags.php?taxonomy=ctc_sermon_speaker&post_type=ctc_sermon | 1,418 | 2.19 | 28.04 | 27.51 |
Books /wp-admin/edit-tags.php?taxonomy=ctc_sermon_book&post_type=ctc_sermon | 1,418 | 2.16 | 29.19 | 28.16 |
Church Content /wp-admin/options-general.php?page=church-theme-content | 1,908 | 3.60 | 56.06 | 27.28 |
Tags /wp-admin/edit-tags.php?taxonomy=ctc_sermon_tag&post_type=ctc_sermon | 1,394 | 2.27 | 27.53 | 26.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- ctc_version
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'RRule\\RRuleInterface' not found in wp-content/plugins/church-theme-content/includes/libraries/ct-recurrence/php-rrule/RRule.php:92
- > PHP Fatal error
Uncaught Error: Interface 'RRule\\RRuleInterface' not found in wp-content/plugins/church-theme-content/includes/libraries/ct-recurrence/php-rrule/RSet.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=ctc_event
- > Console-api (warning) in unknown
http://maps.googleapis.com/maps/api/js?key= 208:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
church-theme-content/church-theme-content.php 92% from 13 tests
"Church Content - Sermons, Events and More" version 2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin25,659 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 5,304 | 6,548 | 15,692 |
PHP | 41 | 3,148 | 5,465 | 9,108 |
CSS | 8 | 138 | 63 | 441 |
JavaScript | 7 | 258 | 242 | 418 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 107)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 80.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 425.00 |
Average method complexity | 7.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 107.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 13 | 9.09% |
▷ Public methods | 132 | 92.31% |
▷ Protected methods | 9 | 6.29% |
▷ Private methods | 2 | 1.40% |
Functions | 213 | |
▷ Named functions | 211 | 99.06% |
▷ Anonymous functions | 2 | 0.94% |
Constants | 27 | |
▷ Global constants | 19 | 70.37% |
▷ Class constants | 8 | 29.63% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin