Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.71ms] Passed 4 tests
A check of server-side resources used by Card Elements for WPBakery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.35 ▼1.42 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.71 ▼13.16 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.19 ▼4.77 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.78 ▼7.49 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.45 ▲0.52 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Card Elements for WPBakery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲97 | 14.38 ▲0.03 | 4.07 ▲2.35 | 50.89 ▲6.45 |
Dashboard /wp-admin | 2,205 ▲25 | 5.49 ▼0.11 | 89.51 ▲1.33 | 38.01 ▼2.59 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.09 ▲0.10 | 37.00 ▼3.72 | 33.34 ▼5.70 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 18.30 ▼4.79 | 636.23 ▼44.47 | 67.50 ▲13.81 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.31 ▲0.12 | 94.59 ▼4.38 | 41.52 ▼6.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% 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 50% 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
- 22× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPBMap' not found in wp-content/plugins/card-elements-for-wpbakery/include/post-card/wpbakery-post-card-2.php:10
- > PHP Notice
Undefined variable: cewb_testimonial_image in wp-content/plugins/card-elements-for-wpbakery/include/testimonial-card/wpbakery-testimonial-card-1.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'WPBMap' not found in wp-content/plugins/card-elements-for-wpbakery/include/post-card/wpbakery-post-card-1.php:10
- > PHP Warning
Use of undefined constant CEWB_URL - assumed 'CEWB_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/card-elements-for-wpbakery/include/testimonial-card/wpbakery-testimonial-card-6.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_build_link() in wp-content/plugins/card-elements-for-wpbakery/include/profile-card/wpbakery-profile-card-1.php:9
- > PHP Notice
Undefined variable: cewb_testimonial_image in wp-content/plugins/card-elements-for-wpbakery/include/testimonial-card/wpbakery-testimonial-card-6.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_build_link() in wp-content/plugins/card-elements-for-wpbakery/include/profile-card/wpbakery-profile-card-11.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_build_link() in wp-content/plugins/card-elements-for-wpbakery/include/profile-card/wpbakery-profile-card-2.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/card-elements-for-wpbakery/widgets/testimonial-card-widget.php:58
- > PHP Fatal error
Uncaught Error: Class 'WPBMap' not found in wp-content/plugins/card-elements-for-wpbakery/include/testimonial-card/wpbakery-testimonial-card-6.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: wpbakery, card elements for wpbakery, profile module, wpbakery testimonial card widget, wpbakery profile card widget...
card-elements-for-wpbakery/card-elements-for-wpbakery.php Passed 13 tests
The primary PHP file in "Card Elements for WPBakery" version 1.0.4 is used by WordPress to initiate all plugin functionality
122 characters long description:
Showcase useful card elements like display team profiles, testimonials and post with card style for WPBakery page builder.
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 plugin4,982 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 212 | 371 | 3,321 |
CSS | 6 | 47 | 69 | 1,659 |
JavaScript | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.30 |
▷ 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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin