Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼140.37ms] Passed 4 tests
Server-side resources used by Bible Plus+
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 36.57 ▲16.79 |
Dashboard /wp-admin | 3.08 ▲0.02 | 45.78 ▼0.13 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 48.19 ▲3.15 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 86.07 ▼560.74 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 29.80 ▼3.75 |
Bible+ /wp-admin/admin.php?page=bible-plus | 3.03 | 26.81 |
DailyProverb /wp-admin/admin.php?page=daily-proverb | 3.02 | 28.03 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/bible-plus/" and "wp-content/uploads/"
- (new file) wp-content/bible-plus-cache/.empty
Filesystem: 17 new files
Database: no new tables, 1 new option
New WordPress options |
---|
jwplgbbp_vods |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bible Plus+
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,734 ▲138 | 15.91 ▲0.19 | 10.03 ▼0.27 | 46.78 ▲0.34 |
Dashboard /wp-admin | 2,996 ▲62 | 6.09 ▲0.11 | 152.30 ▼8.74 | 120.80 ▲15.40 |
Posts /wp-admin/edit.php | 2,768 ▲29 | 2.72 ▲0.00 | 69.56 ▲3.85 | 85.45 ▲0.48 |
Add New Post /wp-admin/post-new.php | 1,610 ▼62 | 18.79 ▲0.06 | 399.35 ▲26.33 | 104.92 ▼1.97 |
Media Library /wp-admin/upload.php | 1,839 ▲32 | 5.07 ▲0.05 | 155.81 ▼3.05 | 114.54 ▼7.56 |
Bible+ /wp-admin/admin.php?page=bible-plus | 1,210 | 2.10 | 63.52 | 82.23 |
DailyProverb /wp-admin/admin.php?page=daily-proverb | 2,029 | 2.08 | 58.99 | 81.15 |
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
- Zombie WordPress options detected upon uninstall: 1 option
- jwplgbbp_vods
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 17× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
include(JWPLGBBP_PATHinc/functions.php): failed to open stream: No such file or directory in wp-content/plugins/bible-plus/load.php on line 36
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bible-plus/assets/html/vods.html.php:2
- > PHP Warning
Use of undefined constant JWPLGBBP_PATH - assumed 'JWPLGBBP_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bible-plus/load.php on line 34
- > PHP Warning
Use of undefined constant JWPLGBBP_PATH - assumed 'JWPLGBBP_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bible-plus/load.php on line 32
- > PHP Warning
Use of undefined constant JWPLGBBP_PATH - assumed 'JWPLGBBP_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bible-plus/load.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bible-plus/assets/html/admin-footer.html.php:1
- > PHP Warning
include(): Failed opening 'JWPLGBBP_PATHinc/functions.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/bible-plus/load.php on line 36
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bible-plus/assets/html/admin-home.html.php:2
- > PHP Warning
include(): Failed opening 'JWPLGBBP_PATHinc/JWPLGBBP/proverbs.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/bible-plus/load.php on line 34
- > PHP Warning
include(JWPLGBBP_PATHinc/JWPLGBBP/proverbs.php): failed to open stream: No such file or directory in wp-content/plugins/bible-plus/load.php on line 34
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: bible, embed, daily, proverb
bible-plus/index.php 85% from 13 tests
The main PHP script in "Bible Plus+" version 3.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bible-plus.php" instead of "index.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected589 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 68 | 405 | 425 |
PO File | 1 | 34 | 34 | 92 |
JavaScript | 3 | 13 | 5 | 59 |
CSS | 1 | 3 | 0 | 12 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 47.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 52.63% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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