Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.86ms] Passed 4 tests
An overview of server-side resources used by Cards for Beaver Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.04 ▼1.56 |
Dashboard /wp-admin | 3.31 ▲0.01 | 56.65 ▲3.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.13 ▲0.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.17 ▼16.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 39.18 ▲2.98 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Cards for Beaver Builder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.35 ▼0.02 | 2.09 ▲0.23 | 38.14 ▼7.35 |
Dashboard /wp-admin | 2,204 ▲30 | 5.66 ▲0.03 | 99.25 ▲9.67 | 41.04 ▼0.18 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 2.03 ▲0.09 | 39.98 ▲0.12 | 37.78 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,535 ▼4 | 23.31 ▲5.20 | 666.59 ▼26.71 | 53.79 ▼14.06 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.04 | 95.61 ▼12.03 | 41.97 ▼3.69 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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)
Good news, no errors were detected
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php
- 57× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 49
- > PHP Notice
Trying to get property 'desc_margin_top' of non-object in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 128
- > PHP Notice
Undefined variable: settings in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 126
- > PHP Notice
Undefined variable: settings in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 127
- > PHP Notice
Trying to get property 'desc_margin_bottom' of non-object in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 128
- > PHP Notice
Undefined variable: id in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 139
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards.php.php:14
- > PHP Notice
Trying to get property 'link_letter_spacing' of non-object in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 74
- > PHP Notice
Undefined variable: settings in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 111
- > PHP Notice
Undefined variable: settings in wp-content/plugins/bb-bootstrap-cards/bb-bootstrap-cards-module/includes/frontend.css.php on line 70
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: cards for beaver builder, beaver builder, drag and drop cards, bb bootstrap, cards...
bb-bootstrap-cards/bb-bootstrap-cards.php.php 92% from 13 tests
The principal PHP file in "Cards for Beaver Builder" v. 1.1.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bb-bootstrap-cards.php" instead of "bb-bootstrap-cards.php.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
Good job! No executable or dangerous file extensions detected1,133 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 148 | 147 | 1,057 |
CSS | 1 | 14 | 0 | 76 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 73.33% |
▷ Protected methods | 4 | 26.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected