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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.62ms] Passed 4 tests
Server-side resources used by Card Elements for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.91 ▼8.14 |
Dashboard /wp-admin | 3.35 ▲0.00 | 50.86 ▼13.57 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.73 ▲4.20 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.94 ▼14.99 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.25 ▲2.22 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Card Elements for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲68 | 14.73 ▲0.57 | 1.85 ▼0.23 | 41.63 ▼2.82 |
Dashboard /wp-admin | 2,205 ▲28 | 5.50 ▼0.03 | 89.86 ▼12.27 | 37.73 ▼5.54 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.15 ▲0.17 | 39.82 ▼0.57 | 37.91 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.32 ▼4.68 | 634.16 ▼39.19 | 80.91 ▲28.71 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.01 | 97.99 ▼8.84 | 42.17 ▲0.53 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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
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
Please take a closer look at the following
- 10× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-4.php
- > /wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-3.php
- > /wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-11.php
- > /wp-content/plugins/card-elements-for-elementor/include/post-card/elementor-post-card-pro.php
- > /wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-2.php
- > /wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-2.php
- > /wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-1.php
- > /wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-5.php
- > /wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-6.php
- > /wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-1.php
- 108× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/card-elements-for-elementor/include/post-card/elementor-post-card-1.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-6.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-pro.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-11.php on line 6
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-6.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-2.php on line 5
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-6.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-6.php on line 7
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-elementor/include/profile-card/elementor-profile-card-1.php on line 2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/card-elements-for-elementor/include/testimonial-card/elementor-testimonial-card-2.php on line 11
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
card-elements-for-elementor/card-elements-for-elementor.php Passed 13 tests
"Card Elements for Elementor" version 1.1.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
123 characters long description:
Showcase useful card elements like display team profiles, testimonials and post with card style for Elementor page builder.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected7,123 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 1,519 | 35 | 4,265 |
PHP | 21 | 376 | 220 | 2,858 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 60.00% |
▷ Protected methods | 8 | 40.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/banner-pro.png | 82.98KB | 36.86KB | ▼ 55.58% |