Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▲0.04ms] Passed 4 tests
Server-side resources used by Debt.com Business in a Box
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 44.88 ▲2.68 |
Dashboard /wp-admin | 3.48 ▲0.18 | 47.76 ▼4.01 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 50.61 ▲3.06 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 85.35 ▼1.57 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.15 ▲6.79 |
Welcome to Meta Box /wp-admin/index.php?page=meta-box-about | 3.42 | 33.27 |
Debt.com Settings /wp-admin/options-general.php?page=dcom_bib | 3.42 | 34.97 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 296 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Debt.com Business in a Box
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲57 | 13.23 ▼1.04 | 2.07 ▲0.02 | 42.26 ▼3.44 |
Dashboard /wp-admin | 2,218 ▲30 | 4.94 ▼0.96 | 111.55 ▼1.99 | 39.25 ▼3.67 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.13 ▲0.13 | 41.39 ▲3.16 | 34.72 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,525 ▲11 | 23.12 ▲5.55 | 680.81 ▲37.74 | 62.66 ▲1.01 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.43 ▲0.18 | 97.50 ▼1.97 | 40.81 ▼2.02 |
Welcome to Meta Box /wp-admin/index.php?page=meta-box-about | 888 | 2.25 | 24.05 | 53.69 |
Debt.com Settings /wp-admin/options-general.php?page=dcom_bib | 1,415 | 2.31 | 56.76 | 57.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/templates/audio.php
- > /wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/templates/upload.php
- > /wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/templates/video.php
- > /wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/templates/media.php
- 71× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Datetime_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/time.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/choice.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/textarea.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/map.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/checkbox.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/color.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/about/sections/welcome.php:13
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/custom-html.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Media_Field' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/meta-box/inc/fields/video.php:12
- > PHP Fatal error
Uncaught Error: Class 'RW_Meta_Box' not found in wp-content/plugins/debtcom-business-in-a-box/plugins/mb-settings-page/inc/class-mb-settings-page-meta-box.php:13
- > 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=dcom_bib
- > Network (severe)
wp-content/plugins/debtcom-business-in-a-box/assets/banner-1544x500.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: affiliate, advertising, marketing, ads
debtcom-business-in-a-box/debtcom-business-in-a-box.php Passed 13 tests
"Debt.com Business in a Box" version 4.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
132 characters long description:
Plugin provides Business in a Box widget, and related technology to provide a one-stop solution for financial bloggers and websites.
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
Good job! No executable or dangerous file extensions detected12,526 lines of code in 246 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 97 | 974 | 3,859 | 5,297 |
JavaScript | 94 | 708 | 1,179 | 3,499 |
CSS | 38 | 187 | 118 | 1,983 |
PO File | 15 | 608 | 677 | 1,680 |
Sass | 1 | 14 | 0 | 57 |
Markdown | 1 | 9 | 0 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 6 | 7.41% |
▷ Concrete classes | 75 | 92.59% |
▷ Final classes | 0 | 0.00% |
Methods | 381 | |
▷ Static methods | 259 | 67.98% |
▷ Public methods | 359 | 94.23% |
▷ Protected methods | 22 | 5.77% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
26 PNG files occupy 0.16MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugins/meta-box/inc/about/images/meta-box.png | 0.65KB | 0.72KB | 0.00% |
plugins/meta-box/img/jqueryui/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
images/powered-by-debt-com.png | 4.26KB | 4.43KB | 0.00% |
images/comparison-configuration.png | 7.09KB | 4.07KB | ▼ 42.61% |
plugins/meta-box/img/jqueryui/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |