Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.70ms] Passed 4 tests
An overview of server-side resources used by Card Elements for Beaver Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.05 ▲1.14 |
Dashboard /wp-admin | 3.33 ▲0.03 | 41.04 ▼5.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.98 ▲0.94 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 78.59 ▼18.02 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 31.06 ▼0.15 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Card Elements for Beaver Builder: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.08 | 1.64 ▼0.10 | 42.65 ▼3.84 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▲0.02 | 94.28 ▼13.40 | 40.52 ▼3.54 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▼0.01 | 36.69 ▲1.30 | 34.45 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.08 ▼0.00 | 651.82 ▲1.42 | 53.31 ▼11.57 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.25 ▲0.07 | 94.56 ▼6.03 | 40.69 ▼7.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-2.php
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-3.php
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/testimonial-card/includes/testimonial-card-style-6.php
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-4.php
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-5.php
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-1.php
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/testimonial-card/includes/testimonial-card-style-1.php
- > /wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-11.php
- 396× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to get property 'number_of_posts' of non-object in wp-content/plugins/card-elements-for-beaver-builder/modules/post-card/includes/frontend.php on line 6
- > PHP Notice
Undefined variable: id in wp-content/plugins/card-elements-for-beaver-builder/modules/testimonial-card/includes/testimonial-card-style-1.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-2.php on line 154
- > PHP Notice
Trying to get property 'profile_html_tag' of non-object in wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-11.php on line 13
- > PHP Notice
Trying to get property 'profile_icon_spacing' of non-object in wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-5.php on line 163
- > PHP Notice
Trying to get property 'post_sort_order' of non-object in wp-content/plugins/card-elements-for-beaver-builder/modules/post-card/includes/frontend.php on line 9
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-2.php on line 140
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-4.php on line 9
- > PHP Notice
Trying to get property 'profile_bg_image' of non-object in wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-5.php on line 9
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-beaver-builder/modules/profile-card/includes/profile-card-style-11.php on line 121
- > PHP Notice
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 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
10 plugin tags: beaver builder post card widget, card elements for beaver builder, testimonial module, beaver builder card addon, beaver builder...
card-elements-for-beaver-builder/card-elements-for-beaver-builder.php 92% from 13 tests
Analyzing the main PHP file in "Card Elements for Beaver Builder" version 1.0.3
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin5,409 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 173 | 332 | 4,123 |
CSS | 4 | 25 | 34 | 1,229 |
SVG | 4 | 0 | 3 | 57 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 2.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 4 | 28.57% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/default.png | 6.00KB | 5.03KB | ▼ 16.19% |