Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.25ms] Passed 4 tests
Server-side resources used by Kntnt's Row Closer for Beaver Builder Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.05 | 51.25 ▲5.85 |
Dashboard /wp-admin | 3.60 ▼0.03 | 52.83 ▼14.92 |
Posts /wp-admin/edit.php | 3.72 ▲0.04 | 49.73 ▼3.57 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.04 | 90.11 ▼22.28 |
Media Library /wp-admin/upload.php | 3.53 ▲0.04 | 38.53 ▼0.23 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Kntnt's Row Closer for Beaver Builder Page Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.24 ▼0.14 | 4.44 ▲2.10 | 48.05 ▲4.29 |
Dashboard /wp-admin | 2,195 ▲18 | 5.66 ▲0.05 | 87.58 ▼11.85 | 42.16 ▼1.78 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.18 ▲0.17 | 34.80 ▼1.64 | 34.72 ▼2.26 |
Add New Post /wp-admin/post-new.php | 1,545 ▲5 | 23.47 ▲0.04 | 677.01 ▲31.43 | 62.32 ▲12.06 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▼0.13 | 105.45 ▲1.32 | 44.61 ▼2.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: cookie_name in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 15
- > PHP Notice
Undefined variable: container_selector in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 5
- > PHP Notice
Undefined variable: container_selector in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 16
- > PHP Notice
Undefined variable: cookie_name in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 8
- > PHP Notice
Undefined variable: button_selector in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 3
- > PHP Notice
Undefined variable: cookie_domain in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 10
- > PHP Notice
Undefined variable: cookie_expires in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 9
- > PHP Notice
Undefined variable: close_time in wp-content/plugins/kntnts-row-closer-for-beaver-builder-page-builder/partials/kntnt-bb-row-closer.js.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: beaver builder
kntnts-row-closer-for-beaver-builder-page-builder/kntnt-bb-row-closer.php 77% from 13 tests
"Kntnt's Row Closer for Beaver Builder Page Builder" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("kntnts-row-closer-for-beaver-builder-page-builder.php" instead of "kntnt-bb-row-closer.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 320 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin135 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 43 | 126 |
JavaScript | 1 | 0 | 0 | 6 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of 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.32 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 30.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin