Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/link-to-bible/ltb.php+460
Undefined index: LTB_VERSION
Server metrics [RAM: ▲0.03MB] [CPU: ▲102.21ms] Passed 4 tests
A check of server-side resources used by Link To Bible
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 580.25 ▲540.06 |
Dashboard /wp-admin | 3.40 ▲0.09 | 469.83 ▲419.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.39 ▼4.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.39 ▼6.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.32 ▲1.53 |
Link To Bible /wp-admin/options-general.php?page=ltb_plugin | 3.21 | 31.18 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
ltb_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Link To Bible
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲59 | 14.82 ▲0.44 | 1.77 ▲0.12 | 37.36 ▼11.68 |
Dashboard /wp-admin | 2,210 ▲25 | 5.80 ▲0.70 | 101.18 ▼3.37 | 39.51 ▼2.50 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.00 | 33.53 ▼8.30 | 34.21 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.36 ▲0.80 | 596.18 ▲0.42 | 61.63 ▲4.73 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.21 ▼0.02 | 97.67 ▲0.29 | 40.31 ▼1.82 |
Link To Bible /wp-admin/options-general.php?page=ltb_plugin | 1,039 | 1.76 | 37.05 | 41.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- ltb_options
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/link-to-bible/ltb.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
7 plugin tags: bibelstelle, bible, bibleservercom, bible reference, bibel...
link-to-bible/ltb.php 85% from 13 tests
The main PHP script in "Link To Bible" version 2.5.9 is automatically included on every request by WordPress
It is important to fix the following:
- 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
- Main file name: Name the main plugin file the same as the plugin slug ("link-to-bible.php" instead of "ltb.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin593 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 69 | 368 |
JSON | 2 | 0 | 0 | 173 |
PO File | 1 | 18 | 0 | 52 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin