Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/daily-christian-bible-verses/daily-christian-bible-verses.php+241
Methods with the same name as their class will not be constructors in a future version of PHP; ChristianBibleVerseWidget has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼53.57ms] Passed 4 tests
Analyzing server-side resources used by DAILY CHRISTIAN BIBLE VERSES
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 5.66 ▼38.58 |
Dashboard /wp-admin | 2.15 ▼1.16 | 5.63 ▼44.90 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 8.99 ▼41.32 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 6.35 ▼89.49 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 6.22 ▼29.33 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_christianbibleversewidget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
DAILY CHRISTIAN BIBLE VERSES: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.70 ▼0.96 | 1.84 ▼0.01 | 47.97 ▼1.67 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.07 | 106.49 ▼5.63 | 35.97 ▼8.36 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.03 | 38.63 ▲0.94 | 35.30 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.65 ▼5.57 | 681.01 ▼7.59 | 52.36 ▼1.71 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▼0.02 | 96.89 ▼4.09 | 42.55 ▼1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/daily-christian-bible-verses/daily-christian-bible-verses.php+241
Methods with the same name as their class will not be constructors in a future version of PHP; ChristianBibleVerseWidget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_christianbibleversewidget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/daily-christian-bible-verses/daily-christian-bible-verses.php:32
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Plugin Activation Page.), #2 (Shortcode setup page/post.), #3 (Shortcode display page/post.), #4 (Widget setup page), #5 (Widget display on sidebar.)
- Requires at least: The plugin version is formatted incorrectly
daily-christian-bible-verses/daily-christian-bible-verses.php 92% from 13 tests
Analyzing the main PHP file in "DAILY CHRISTIAN BIBLE VERSES" version 1.0
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin305 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 24 | 297 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 were not PNG files found in your plugin