Benchmarks
Plugin footprint 83% from 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: ▲0.06MB] [CPU: ▼3.12ms] Passed 4 tests
An overview of server-side resources used by Sermon Embed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.93 ▼2.34 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.48 ▼4.19 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 58.04 ▲13.13 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 84.64 ▼9.38 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.20 ▲3.44 |
Sermon Embed /wp-admin/options-general.php?page=soundfaith-embed | 3.26 | 29.93 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
soundfaith_embed_profile_options |
widget_theysaidso_widget |
soundfaith_embed_sermon_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Sermon Embed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.23 ▼1.13 | 1.91 ▲0.23 | 39.37 ▼6.62 |
Dashboard /wp-admin | 2,207 ▲19 | 5.76 ▲0.78 | 100.25 ▼19.63 | 37.44 ▼15.86 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.03 | 59.33 ▲22.04 | 42.43 ▲11.12 |
Add New Post /wp-admin/post-new.php | 1,549 ▲32 | 18.16 ▲0.56 | 615.99 ▲21.84 | 52.21 ▲2.51 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.06 | 98.71 ▼0.71 | 40.89 ▼1.43 |
Sermon Embed /wp-admin/options-general.php?page=soundfaith-embed | 840 | 2.03 | 23.11 | 37.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: audio, embed, sermon, church
soundfaith-embed/soundfaith-embed.php 85% from 13 tests
This is the main PHP file of "Sermon Embed" version 1.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin279 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 78 | 279 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin