Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.60MB] [CPU: ▼31.71ms] Passed 4 tests
A check of server-side resources used by BibleUp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 39.94 ▼0.91 |
Dashboard /wp-admin | 3.35 ▲0.04 | 24.67 ▼25.91 |
Posts /wp-admin/edit.php | 3.35 ▼0.01 | 25.70 ▼22.97 |
Add New Post /wp-admin/post-new.php | 3.35 ▼2.54 | 31.18 ▼65.70 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 25.01 ▼12.24 |
BibleUp /wp-admin/options-general.php?page=bibleup-settings | 3.35 | 26.34 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by BibleUp
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲124 | 13.66 ▼1.08 | 14.34 ▲12.51 | 63.19 ▲21.12 |
Dashboard /wp-admin | 2,213 ▲25 | 4.92 ▼0.19 | 103.63 ▲1.21 | 42.14 ▼0.48 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▼0.10 | 35.74 ▼12.44 | 31.91 ▼4.64 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 23.18 ▲0.09 | 607.84 ▼14.60 | 54.11 ▲2.87 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▼0.02 | 94.94 ▼22.01 | 41.65 ▼5.82 |
BibleUp /wp-admin/options-general.php?page=bibleup-settings | 1,507 | 4.23 | 78.04 | 32.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/bibleup/wp-settings-framework/wp-settings-framework.php+349
Undefined index: subtitle
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% 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
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bibleup-settings
- > Notice in wp-content/plugins/bibleup/wp-settings-framework/wp-settings-framework.php+349
Undefined index: subtitle
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bibleup/settings/settings-general.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bibleup/bibleup.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=bibleup-settings
- > Network (severe)
assets/css/jquery-ui-css.css?ver=6.3.1 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #5 in bibleup/assets to your readme.txt
bibleup/bibleup.php Passed 13 tests
Analyzing the main PHP file in "BibleUp" version 1.0.1
97 characters long description:
BibleUp transforms Bible References on a webpage into flexible, and highly customisable popovers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,489 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 270 | 376 | 1,203 |
CSS | 2 | 156 | 178 | 898 |
JavaScript | 1 | 119 | 114 | 388 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 71.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 59 | |
▷ Static methods | 2 | 3.39% |
▷ Public methods | 58 | 98.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.69% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wp-settings-framework/assets/img/logo.png | 2.17KB | 1.33KB | ▼ 38.40% |