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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.24ms] Passed 4 tests
Server-side resources used by Predikan
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.10 ▼6.57 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.73 ▲0.04 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.83 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 87.13 ▼10.85 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.21 ▲0.44 |
All Sermons /wp-admin/edit.php?post_type=predikan | 3.32 | 35.16 |
Preachers /wp-admin/edit-tags.php?taxonomy=predikan_speaker&post_type=predikan | 3.27 | 33.49 |
Sermons & podcast /wp-admin/options-general.php?page=predikan-settings | 3.27 | 28.41 |
Add New /wp-admin/post-new.php?post_type=predikan | 3.40 | 50.66 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
predikan_description |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Predikan
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.22 ▼1.55 | 1.74 ▲0.12 | 41.92 ▼4.37 |
Dashboard /wp-admin | 2,238 ▲53 | 5.80 ▲0.91 | 101.30 ▼7.27 | 41.62 ▼5.73 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 1.98 ▼0.07 | 36.61 ▼5.28 | 31.33 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 23.18 ▲5.46 | 679.62 ▲11.39 | 59.34 ▲5.22 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.24 ▲0.07 | 96.62 ▼18.72 | 42.59 ▼3.82 |
All Sermons /wp-admin/edit.php?post_type=predikan | 1,096 | 1.94 | 31.60 | 34.37 |
Preachers /wp-admin/edit-tags.php?taxonomy=predikan_speaker&post_type=predikan | 1,266 | 2.14 | 25.01 | 29.39 |
Sermons & podcast /wp-admin/options-general.php?page=predikan-settings | 814 | 2.06 | 23.15 | 27.13 |
Add New /wp-admin/post-new.php?post_type=predikan | 2,550 | 7.60 | 174.92 | 68.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/predikan/predikan.php
- > /wp-content/plugins/predikan/uninstall.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/predikan/templates/admin.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: sermon, podcast, church
predikan/predikan.php Passed 13 tests
The main PHP file in "Predikan" ver. 1.6.1 adds more information about the plugin and also serves as the entry point for this plugin
104 characters long description:
Upload sermons to your church's website as a podcast and include them, in a table, on any of your pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected336 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 43 | 311 |
JavaScript | 1 | 2 | 0 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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