Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲3.75MB] [CPU: ▲24.31ms] Passed 4 tests
This is a short check of server-side resources used by WP Church Center
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.02 ▲3.56 | 68.85 ▲24.96 |
Dashboard /wp-admin | 7.08 ▲3.73 | 78.46 ▲14.36 |
Posts /wp-admin/edit.php | 7.20 ▲3.85 | 84.62 ▲31.19 |
Add New Post /wp-admin/post-new.php | 9.75 ▲3.86 | 131.06 ▲26.73 |
Media Library /wp-admin/upload.php | 7.10 ▲3.87 | 76.35 ▲35.26 |
Add Card /wp-admin/post-new.php?post_type=card | 7.28 | 84.54 |
All Cards /wp-admin/edit.php?post_type=card | 7.08 | 74.88 |
Card Groups /wp-admin/edit-tags.php?taxonomy=card_group&post_type=card | 7.08 | 72.59 |
Server storage [IO: ▲7.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 335 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
acf_version |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Church Center: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲232 | 14.79 ▲0.27 | 1.70 ▲0.06 | 37.12 ▼3.20 |
Dashboard /wp-admin | 2,381 ▲201 | 6.13 ▲0.59 | 106.39 ▲18.36 | 36.75 ▼8.02 |
Posts /wp-admin/edit.php | 2,312 ▲209 | 3.47 ▲1.46 | 52.05 ▲15.47 | 33.81 ▼1.57 |
Add New Post /wp-admin/post-new.php | 6,707 ▲5,181 | 27.89 ▲4.69 | 1,077.77 ▲369.68 | 43.30 ▼15.78 |
Media Library /wp-admin/upload.php | 1,992 ▲592 | 8.22 ▲4.04 | 206.83 ▲95.94 | 50.99 ▲4.06 |
Add Card /wp-admin/post-new.php?post_type=card | 3,434 | 11.09 | 285.80 | 72.31 |
All Cards /wp-admin/edit.php?post_type=card | 1,318 | 3.53 | 46.38 | 29.41 |
Card Groups /wp-admin/edit-tags.php?taxonomy=card_group&post_type=card | 1,536 | 4.07 | 58.52 | 32.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- acf_version
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 97× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/fields/class-acf-field-google-map.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/api/api-template.php:962
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/fields/class-acf-field-true_false.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/fields/class-acf-field-accordion.php:5
- > PHP Notice
Undefined variable: rule in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/admin/admin-field-group.php:34
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/admin/views/field-group-field.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/fields/class-acf-field-post_object.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-church-center/advanced-custom-fields/includes/admin/views/settings-tools.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
There were no plugin tags found
wp-church-center/wp-church-center.php 92% from 13 tests
The main PHP script in "WP Church Center" version 1.3.3 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Everything looks great! No dangerous files found in this plugin106,265 lines of code in 274 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 32 | 20,996 | 34,257 | 43,935 |
JavaScript | 52 | 13,833 | 12,160 | 29,062 |
PHP | 161 | 16,715 | 20,465 | 20,487 |
CSS | 18 | 217 | 905 | 7,565 |
LESS | 7 | 1,668 | 672 | 4,720 |
HTML | 1 | 61 | 0 | 194 |
Markdown | 1 | 47 | 0 | 148 |
JSON | 1 | 0 | 0 | 124 |
SVG | 1 | 18 | 0 | 30 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 120 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 120 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 829 | |
▷ Static methods | 10 | 1.21% |
▷ Public methods | 827 | 99.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 0.24% |
Functions | 436 | |
▷ Named functions | 436 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
advanced-custom-fields/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |
advanced-custom-fields/assets/images/acf-logo.png | 3.40KB | 3.39KB | 0.23% |
advanced-custom-fields/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
advanced-custom-fields/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
advanced-custom-fields/assets/images/sprite.png | 1.50KB | 1.97KB | 0.00% |