Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.10ms] Passed 4 tests
Server-side resources used by Cresta Addons for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.95 ▼1.64 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.98 ▼12.90 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.93 ▲0.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.01 ▼7.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.62 ▼2.74 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 77 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
cresta_addons_for_elementor |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cresta Addons for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.31 ▲0.37 | 1.73 ▲0.02 | 41.11 ▲2.38 |
Dashboard /wp-admin | 2,203 ▲23 | 5.50 ▼0.13 | 81.34 ▼7.09 | 39.53 ▼7.16 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.14 ▲0.12 | 33.72 ▼7.33 | 31.81 ▼7.71 |
Add New Post /wp-admin/post-new.php | 1,536 ▲4 | 23.03 ▼0.21 | 673.01 ▼32.77 | 68.98 ▼5.91 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.24 ▲0.05 | 128.06 ▲21.78 | 54.08 ▲9.55 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cresta-addons-for-elementor/uninstall.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cresta-addons-for-elementor/panel/plugin-options-page.php:304
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cresta-addons-for-elementor/inc/config.php:439
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Cresta Addons Settings Page), #2 (Cresta Addons Posts Box Widget), #3 (Cresta Addons News Ticker Widget), #4 (Cresta Addons Double Button Widget), #5 (Cresta Addons Pricing Table Widget (PRO Version))
cresta-addons-for-elementor/cresta-addons-for-elementor.php Passed 13 tests
Analyzing the main PHP file in "Cresta Addons for Elementor" version 1.0.9
43 characters long description:
Dozens of additional widgets for Elementor!
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 plugin9,825 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 614 | 304 | 6,283 |
JavaScript | 16 | 657 | 1,309 | 2,743 |
CSS | 25 | 15 | 12 | 799 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 2 | 12.50% |
Methods | 132 | |
▷ Static methods | 3 | 2.27% |
▷ Public methods | 97 | 73.48% |
▷ Protected methods | 35 | 26.52% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
7 compressed PNG files occupy 0.26MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 12.77KB | 13.30KB | 0.00% |
screenshot-2.png | 185.95KB | 203.40KB | 0.00% |
screenshot-5.png | 21.44KB | 21.54KB | 0.00% |
screenshot-1.png | 32.32KB | 33.38KB | 0.00% |
panel/assets/img/cafe-icon.png | 0.43KB | 0.44KB | 0.00% |