Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Compile error in wp-content/plugins/multipurpose-bible-linker-russian-and-ukrainian/scripts/bible_sources.php+806
Declaration of BibleDesktopCom::getVersePart($verse) must be compatible with AllbibleInfo::getVersePart($verse, $translation = '')
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.30ms] Passed 4 tests
An overview of server-side resources used by Plugin Name: Multipurpose Bible Linker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.58 ▼4.38 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.57 ▼17.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.45 ▼0.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.52 ▼18.24 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.82 ▼0.94 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Name: Multipurpose Bible Linker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.70 ▼0.89 | 1.76 ▼0.08 | 38.87 ▼4.44 |
Dashboard /wp-admin | 2,206 ▲18 | 4.82 ▼1.03 | 106.07 ▼2.82 | 40.41 ▼2.71 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.96 ▼0.05 | 33.59 ▼2.46 | 32.60 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.20 ▲5.07 | 664.58 ▲25.98 | 71.18 ▲17.61 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▲0.02 | 100.13 ▼4.02 | 44.07 ▲1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Declaration of BibleDesktopCom::getVersePart($verse) must be compatible with AllbibleInfo::getVersePart($verse, $translation = '') in wp-content/plugins/multipurpose-bible-linker-russian-and-ukrainian/scripts/bible_sources.php on line 806
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/multipurpose-bible-linker-russian-and-ukrainian/wp_config.inc.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multipurpose-bible-linker-russian-and-ukrainian/wp_multibiblelinker.php:32
- > PHP Fatal error
Declaration of BibleDesktopCom::getVersePart($verse) must be compatible with AllbibleInfo::getVersePart($verse, $translation = '') in wp-content/plugins/multipurpose-bible-linker-russian-and-ukrainian/scripts/bible_sources.php on line 806
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Plugin Name: Multipurpose Bible Linker===
) - Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: Add a description for screenshot #1 in multipurpose-bible-linker-russian-and-ukrainian/assets to your readme.txt
multipurpose-bible-linker-russian-and-ukrainian/wp_multibiblelinker.php 85% from 13 tests
The primary PHP file in "Plugin Name: Multipurpose Bible Linker" version 1.7.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 240 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("multipurpose-bible-linker-russian-and-ukrainian.php" instead of "wp_multibiblelinker.php")
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
Success! There were no dangerous files found in this plugin6,141 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 961 | 88 | 5,811 |
PO File | 3 | 72 | 72 | 248 |
JavaScript | 1 | 4 | 0 | 68 |
CSS | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 20.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 1 | 3.70% |
▷ Concrete classes | 26 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 4 | 2.55% |
▷ Public methods | 135 | 85.99% |
▷ Protected methods | 14 | 8.92% |
▷ Private methods | 8 | 5.10% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 37 | |
▷ Global constants | 37 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin