Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.78ms] Passed 4 tests
Analyzing server-side resources used by Simple Sermon Media & Podcast
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 49.90 ▲8.23 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.79 ▼6.35 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 54.13 ▲4.48 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.84 ▼3.79 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.67 ▲2.53 |
Options /wp-admin/edit.php?post_type=sermon_media_post&page=smet0_options | 3.23 | 36.12 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=sermon_media_post | 3.26 | 36.68 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=sermon_media_post | 3.25 | 40.80 |
Sermons /wp-admin/edit.php?post_type=sermon_media_post | 3.34 | 41.66 |
Add New /wp-admin/post-new.php?post_type=sermon_media_post | 3.43 | 54.46 |
Server storage [IO: ▲0.08MB] [DB: ▼0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
category_children |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Sermon Media & Podcast
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲157 | 13.35 ▼1.20 | 8.98 ▲7.50 | 41.12 ▼6.21 |
Dashboard /wp-admin | 2,238 ▲61 | 5.63 ▲0.01 | 93.03 ▲1.18 | 42.55 ▲3.34 |
Posts /wp-admin/edit.php | 2,146 ▲46 | 2.00 ▲0.03 | 38.83 ▼0.34 | 38.46 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,570 ▲33 | 18.21 ▼0.08 | 638.97 ▼17.80 | 64.47 ▼8.63 |
Media Library /wp-admin/upload.php | 1,443 ▲46 | 4.23 ▼0.05 | 101.96 ▲1.45 | 44.01 ▲1.77 |
Options /wp-admin/edit.php?post_type=sermon_media_post&page=smet0_options | 1,009 | 2.04 | 26.24 | 35.07 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=sermon_media_post | 1,362 | 2.12 | 31.60 | 30.20 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=sermon_media_post | 1,501 | 2.13 | 29.05 | 35.07 |
Sermons /wp-admin/edit.php?post_type=sermon_media_post | 1,193 | 2.12 | 31.81 | 31.66 |
Add New /wp-admin/post-new.php?post_type=sermon_media_post | 2,706 | 7.88 | 170.80 | 65.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- category_children
Smoke tests 75% from 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)
Everything seems fine, however 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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function simple_sermon_media_podcasting\\plugin_dir_path() in wp-content/plugins/simple-sermon-media-podcast/public/templates/archive-sermon_media_post.php:15
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: media, sermons, player
simple-sermon-media-podcast/simple-sermon-media-podcasting.php 77% from 13 tests
The entry point to "Simple Sermon Media & Podcast" version 1.0.13 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-sermon-media-podcast.php" instead of "simple-sermon-media-podcasting.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, 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 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,051 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 209 | 644 | 834 |
CSS | 2 | 21 | 6 | 142 |
JavaScript | 2 | 18 | 11 | 75 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 13 | 26.00% |
▷ Public methods | 39 | 78.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 22.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected