Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.57ms] Passed 4 tests
This is a short check of server-side resources used by SermonAudio Widgets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.55 ▼6.57 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.20 ▼4.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.70 ▼6.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.98 ▼8.51 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.34 ▲4.66 |
SermonAudio Plugin /wp-admin/plugins.php?page=SermonAudioPluginOptions | 3.20 | 33.31 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_sa_plugin |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
sa_plugin_db_version |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
SermonAudio Widgets: 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,830 ▲95 | 13.24 ▼1.08 | 1.85 ▲0.17 | 40.38 ▼2.59 |
Dashboard /wp-admin | 2,210 ▲25 | 5.04 ▼0.84 | 107.62 ▲8.23 | 38.33 ▼9.93 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▼0.03 | 38.81 ▲0.32 | 36.11 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 23.37 ▲0.02 | 683.52 ▲56.13 | 55.60 ▲1.58 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▼0.00 | 106.09 ▲9.26 | 46.23 ▲1.25 |
SermonAudio Plugin /wp-admin/plugins.php?page=SermonAudioPluginOptions | 866 | 2.02 | 28.91 | 27.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_sa_plugin
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- sa_plugin_db_version
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/sermonaudio-widgets/sermonaudiowidget.php:22
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/sermonaudio-widgets/sermonaudiowidget.php on line 18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: audio, sermonaudiocom, media, church, sermonaudio...
sermonaudio-widgets/sermonaudiowidget.php 92% from 13 tests
This is the main PHP file of "SermonAudio Widgets" version 1.9.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sermonaudio-widgets.php" instead of "sermonaudiowidget.php")
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
No dangerous file extensions were detected1,405 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 162 | 68 | 751 |
JavaScript | 1 | 86 | 30 | 534 |
CSS | 1 | 16 | 0 | 120 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin