Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲11.93MB] [CPU: ▲11.65ms] 50% from 4 tests
Analyzing server-side resources used by Bible Reading Plans
The following require your attention
- RAM: The total memory usage must be kept under 10MB (currently 15.95MB on /wp-admin/options-general.php?page=bible_reading_plans_plugin)
- Extra RAM: Extra memory usage should kept under 5MB (currently 11.93MB on /wp-admin/options-general.php?page=bible_reading_plans_plugin)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 15.92 ▲12.46 | 58.20 ▲17.52 |
Dashboard /wp-admin | 15.95 ▲12.64 | 66.34 ▲12.22 |
Posts /wp-admin/edit.php | 15.95 ▲12.59 | 62.39 ▲15.15 |
Add New Post /wp-admin/post-new.php | 15.95 ▲10.06 | 109.07 ▲1.70 |
Media Library /wp-admin/upload.php | 15.95 ▲12.71 | 61.34 ▲20.12 |
Bible Reading Plans /wp-admin/options-general.php?page=bible_reading_plans_plugin | 15.95 | 39.62 |
Server storage [IO: ▲0.77MB] [DB: ▲6.32MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 62 new options
New WordPress options |
---|
brp_dbp_heart-light-ot-and-nt |
db_upgraded |
brp_abs_back-to-the-bible-chronological |
brp_dbp_through-the-bible |
brp_esv_heart-light-ot-and-nt |
brp_esv_ |
brp_dbp_one-year-chronological |
brp_dbp_pentateuch-and-history-of-israel |
brp_dbp_daily-light-on-the-daily-path-morning |
brp_esv_chronicles-and-prophets |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Bible Reading Plans
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲181 | 13.54 ▼0.86 | 12.03 ▲10.11 | 46.85 ▲0.99 |
Dashboard /wp-admin | 2,203 ▲35 | 5.64 ▲0.03 | 104.91 ▲4.90 | 42.38 ▼1.11 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.02 ▲0.07 | 40.80 ▲2.52 | 31.97 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,603 ▲77 | 22.31 ▼1.28 | 670.43 ▼20.87 | 37.08 ▼18.53 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.23 ▲0.12 | 107.56 ▼5.46 | 45.95 ▼12.14 |
Bible Reading Plans /wp-admin/options-general.php?page=bible_reading_plans_plugin | 1,264 | 2.02 | 46.32 | 72.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲6.32MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 62 options in the database
- widget_recent-posts
- brp_dbp_lsb
- brp_esv_one-year-chronological
- brp_abs_lsb
- brp_esv_pentateuch-and-history-of-israel
- widget_theysaidso_widget
- brp_abs_through-the-bible
- brp_abs_bcp19-acna-twoyear
- brp_dbp_
- brp_dbp_mcheyne
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bible_reading_plans_plugin
- > Notice in wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php+1687
Undefined index: data
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bible_reading_plans_plugin
- > Warning in wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php+1687
count(): Parameter must be an array or an object that implements Countable
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bible_reading_plans_plugin
- > Notice in wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php+1802
Undefined variable: dbp_versions
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bible_reading_plans_plugin
- > Warning in wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php+1802
Invalid argument supplied for foreach()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bible_reading_plans_plugin
- > Notice in wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php+1805
Undefined variable: dbp_lang_id2iso_alt
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bible_reading_plans_plugin
- > Warning in wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php+1805
array_unique() expects parameter 1 to be array, null given
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bible-reading-plans/includes/properties/book-codes.inc.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bible-reading-plans/includes/properties/dbp.inc.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bible-reading-plans/includes/properties/poetic-passages.inc.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bible-reading-plans/includes/properties/miscellaneous.inc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php:104
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bible-reading-plans/includes/properties/abs.inc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bible-reading-plans/includes/properties/one-chapter-books.inc.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bible-reading-plans/includes/properties/short_code_atts.inc.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bible-reading-plans/includes/properties/esv.inc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bible-reading-plans/includes/properties/sources.inc.php:3
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: daily readings, bible, bible brain, apiesvorg, bible reading plans...
bible-reading-plans/bible-reading-plans.php 92% from 13 tests
The entry point to "Bible Reading Plans" version 2.2.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 960 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin8,186 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 204 | 543 | 5,467 |
CSS | 8 | 301 | 64 | 1,783 |
JavaScript | 1 | 104 | 112 | 511 |
Markdown | 1 | 373 | 0 | 425 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 426.50 |
▷ Minimum class complexity | 415.00 |
▷ Maximum class complexity | 438.00 |
Average method complexity | 8.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.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 | 120 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 36.67% |
▷ Protected methods | 76 | 63.33% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 PNG file occupies 0.25MB with 0.18MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cbrp-input-screen.png | 260.96KB | 78.51KB | ▼ 69.91% |