Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.89ms] Passed 4 tests
Server-side resources used by Bg Patriarchia BU
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.21 ▼1.09 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.80 ▼1.47 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 54.33 ▲4.11 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.06 ▼4.08 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.13 ▲3.07 |
Богослужебные указания /wp-admin/options-general.php?page=bg_pbu_slug | 3.29 | 30.76 |
Server storage [IO: ▲0.04MB] [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: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
bg_pbu_options_2_1_3 |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
bg_pbu_options |
Browser metrics Passed 4 tests
A check of browser resources used by Bg Patriarchia BU
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.72 ▲0.31 | 1.85 ▲0.16 | 40.48 ▼7.22 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▼0.01 | 84.38 ▼1.29 | 42.35 ▲1.69 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.02 | 37.31 ▲1.94 | 36.10 ▲1.88 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.24 ▼0.03 | 710.44 ▲19.84 | 60.56 ▲1.49 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▲0.06 | 108.26 ▼10.46 | 48.09 ▼2.88 |
Богослужебные указания /wp-admin/options-general.php?page=bg_pbu_slug | 932 | 1.99 | 21.53 | 30.51 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% 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=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-20/print.html, line: 248
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-20/print.html, line: 250
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-20/print.html, line: 339
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-20/print.html, line: 341
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-21/print.html, line: 249
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-21/print.html, line: 251
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-21/print.html, line: 340
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-21/print.html, line: 342
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-22/print.html, line: 325
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-22/print.html, line: 327
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-22/print.html, line: 416
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-22/print.html, line: 418
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-23/print.html, line: 327
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-23/print.html, line: 329
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-23/print.html, line: 418
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-23/print.html, line: 420
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-24/print.html, line: 236
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-24/print.html, line: 238
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-24/print.html, line: 327
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-24/print.html, line: 329
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-25/print.html, line: 237
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): Unexpected end tag : span in http://www.patriarchia.ru/bu/2018-01-25/print.html, line: 239
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-25/print.html, line: 328
- > GET request to /wp-admin/options-general.php?page=bg_pbu_slug
- > POST request to /wp-cron.php?doing_wp_cron=1697573451.3645250797271728515625
- > Warning in wp-content/plugins/bg-patriarchia-bu/inc/upload.php+53
DOMDocument::loadHTMLFile(): htmlParseEntityRef: expecting ';' in http://www.patriarchia.ru/bu/2018-01-25/print.html, line: 330
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/bg-patriarchia-bu/bg_pbu.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bg-patriarchia-bu/inc/options.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bg-patriarchia-bu/inc/upload.php:92
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #2 is missing in bg-patriarchia-bu/assets to your readme.txt
bg-patriarchia-bu/bg_pbu.php 92% from 13 tests
The primary PHP file in "Bg Patriarchia BU" version 2.2.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bg-patriarchia-bu.php" instead of "bg_pbu.php")
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
No dangerous file extensions were detected406 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 74 | 128 | 401 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 28 | |
▷ Named functions | 26 | 92.86% |
▷ Anonymous functions | 2 | 7.14% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There were not PNG files found in your plugin