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.04MB] [CPU: ▼4.97ms] Passed 4 tests
This is a short check of server-side resources used by Bible Verse of the Day
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.89 ▲0.12 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.61 ▼2.42 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.37 ▼5.97 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.20 ▼11.20 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.21 ▼0.27 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_dailyverseswidget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_randombibleversewidget |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Bible Verse of the Day
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲93 | 13.35 ▼1.03 | 1.96 ▲0.30 | 40.20 ▼7.28 |
Dashboard /wp-admin | 2,209 ▲21 | 5.85 ▲0.98 | 95.11 ▼5.42 | 36.49 ▼4.95 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.04 | 38.85 ▼4.05 | 34.41 ▼0.56 |
Add New Post /wp-admin/post-new.php | 6,587 ▲5,073 | 22.29 ▲4.81 | 913.74 ▲233.21 | 53.47 ▲0.50 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▼0.06 | 95.44 ▼19.62 | 42.60 ▼4.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_randombibleversewidget
- can_compress_scripts
- widget_dailyverseswidget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bible-verse-of-the-day/bible-verse-of-the-day.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function get_block_wrapper_attributes() in wp-content/plugins/bible-verse-of-the-day/build/render.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 58 tag instead of maximum 10
bible-verse-of-the-day/bible-verse-of-the-day.php Passed 13 tests
"Bible Verse of the Day" version 2.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
83 characters long description:
The daily Bible verse or a random Bible verse on your website, from DailyVerses.net
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected917 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 113 | 69 | 863 |
JSON | 1 | 0 | 0 | 41 |
CSS | 3 | 3 | 0 | 12 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 17.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 103 | |
▷ Named functions | 103 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected