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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼5.66ms] Passed 4 tests
A check of server-side resources used by Clever Addons for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.30 | 43.17 ▲0.90 |
Dashboard /wp-admin | 3.71 ▲0.41 | 51.83 ▲7.63 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 45.80 ▼3.90 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 81.44 ▼19.26 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 35.89 ▼0.36 |
Server storage [IO: ▲3.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 143 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Clever Addons for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.34 ▼0.04 | 1.86 ▲0.03 | 43.70 ▲0.09 |
Dashboard /wp-admin | 2,216 ▲39 | 5.55 ▲0.03 | 98.50 ▲10.15 | 42.36 ▲2.46 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.11 ▲0.09 | 34.99 ▲0.63 | 34.87 ▼4.77 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.47 ▲0.37 | 668.50 ▲23.91 | 54.13 ▼3.96 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.30 ▲0.10 | 95.28 ▼0.22 | 43.09 ▼1.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cafe-lite/src/templates/template-animated-headlines.php
- 165× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/cafe-lite/src/templates/template-posts.php on line 13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cafe-lite/src/templates/template-icon.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/cafe-lite/src/templates/template-count-down.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cafe-lite/src/templates/template-team-member.php on line 8
- > PHP Notice
Undefined index: infinite in wp-content/plugins/cafe-lite/src/templates/template-carousel-tabs.php on line 33
- > PHP Notice
Undefined variable: settings in wp-content/plugins/cafe-lite/src/templates/template-animated-headlines.php on line 24
- > PHP Notice
Undefined variable: settings in wp-content/plugins/cafe-lite/src/templates/template-icon.php on line 14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cafe-lite/src/templates/template-animated-headlines.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function Cafe\\add_action() in wp-content/plugins/cafe-lite/src/class-clever-assets-manager.php:28
- > PHP Fatal error
Uncaught Error: Class 'Cafe\\Widgets\\CleverWidgetBase' not found in wp-content/plugins/cafe-lite/src/widgets/class-clever-button.php:15
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
5 plugin tags: elementor widgets, elementor templates, elementor elements, elementor, addons
cafe-lite/cafe-lite.php Passed 13 tests
The main file in "Clever Addons for Elementor" v. 2.1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
61 characters long description:
An ultimate addon for Elementor Page Builder. | Documentation
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
Success! There were no dangerous files found in this plugin36,677 lines of code in 122 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 68 | 1,284 | 1,724 | 17,740 |
Sass | 28 | 952 | 25 | 9,799 |
JavaScript | 14 | 917 | 712 | 7,603 |
CSS | 9 | 17 | 3 | 1,166 |
SVG | 3 | 1 | 0 | 369 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 2 | 5.13% |
▷ Concrete classes | 37 | 94.87% |
▷ Final classes | 35 | 94.59% |
Methods | 285 | |
▷ Static methods | 9 | 3.16% |
▷ Public methods | 202 | 70.88% |
▷ Protected methods | 73 | 25.61% |
▷ Private methods | 10 | 3.51% |
Functions | 18 | |
▷ Named functions | 9 | 50.00% |
▷ Anonymous functions | 9 | 50.00% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/banner-placeholder.png | 26.95KB | 3.80KB | ▼ 85.90% |