Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.64ms] 75% from 4 tests
A check of server-side resources used by sermon.net display
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 944.14ms on /wp-admin/options-general.php?page=wt-sermonnet-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.83 ▼5.02 |
Dashboard /wp-admin | 3.33 ▼0.02 | 52.23 ▼14.11 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.94 ▼2.70 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.91 ▼8.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.92 ▲4.22 |
sermon.net settings /wp-admin/options-general.php?page=wt-sermonnet-settings | 3.22 | 944.14 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_wtsermonnet_widget |
Browser metrics Passed 4 tests
Checking browser requirements for sermon.net display
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.27 ▼0.11 | 2.10 ▲0.37 | 41.03 ▼1.55 |
Dashboard /wp-admin | 2,207 ▲30 | 5.59 ▼0.02 | 85.64 ▼5.52 | 39.18 ▼0.26 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.12 ▲0.09 | 38.17 ▲1.89 | 34.38 ▼2.44 |
Add New Post /wp-admin/post-new.php | 6,383 ▲4,851 | 27.89 ▲4.50 | 922.82 ▲228.32 | 40.25 ▼16.71 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.27 ▲0.05 | 103.07 ▼5.70 | 42.62 ▼6.47 |
sermon.net settings /wp-admin/options-general.php?page=wt-sermonnet-settings | 861 | 2.19 | 34.03 | 37.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_wtsermonnet_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wt-sermonnet-settings
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Please fix the following items
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/display-sermonnet/includes/process-feed.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/display-sermonnet/includes/process-feed.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/display-sermonnet/includes/widgets.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/display-sermonnet/includes/options.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/display-sermonnet/includes/gb-live-shortcodes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/display-sermonnet/includes/shortcodes.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/display-sermonnet/includes/block-shortcodes.php:6
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
display-sermonnet/wt-sermonnet.php 92% from 13 tests
"sermon.net display" version 1.4.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("display-sermonnet.php" instead of "wt-sermonnet.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,339 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 171 | 83 | 1,202 |
JavaScript | 2 | 18 | 15 | 129 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 13.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/icon_view1x.png | 1.47KB | 1.29KB | ▼ 11.86% |
includes/images/icon_download1x.png | 0.73KB | 0.50KB | ▼ 31.55% |