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 gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▲0.61ms] Passed 4 tests
A check of server-side resources used by Bible Online Popup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.56 ▲1.58 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.50 ▼2.29 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.56 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 96.28 ▲1.19 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.92 ▲2.57 |
Bible Online Popup /wp-admin/options-general.php?page=bop-settings | 3.22 | 30.45 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Bible Online Popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲154 | 14.12 ▼0.26 | 5.54 ▲3.93 | 39.56 ▲1.38 |
Dashboard /wp-admin | 2,213 ▲21 | 5.85 ▲0.89 | 106.18 ▼8.64 | 42.45 ▲1.51 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.01 | 39.90 ▼4.40 | 34.76 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.29 ▲0.75 | 614.81 ▼78.41 | 72.88 ▲16.92 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.02 | 94.34 ▼5.79 | 41.58 ▼0.37 |
Bible Online Popup /wp-admin/options-general.php?page=bop-settings | 850 | 2.03 | 26.10 | 67.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bop-settings
- > Notice in wp-content/plugins/bible-online-popup/settings-page.php+146
Trying to access array offset on value of type bool
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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bible-online-popup/tiny-mce.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/bible-online-popup/settings-page.php:150
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/bible-online-popup/settings-page.php:150
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: bible, api implementation
bible-online-popup/bible-online-popup.php 92% from 13 tests
The primary PHP file in "Bible Online Popup" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected567 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 32 | 0 | 219 |
PHP | 4 | 49 | 32 | 191 |
JavaScript | 2 | 28 | 11 | 96 |
PO File | 1 | 9 | 5 | 35 |
SVG | 2 | 0 | 0 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin