Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.86ms] Passed 4 tests
An overview of server-side resources used by Smart Addons for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 39.90 ▼3.63 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.44 ▼0.55 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 44.91 ▼2.62 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 86.19 ▼4.65 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 35.91 ▲2.51 |
All Portfolios /wp-admin/edit.php?post_type=smartad_portfolios | 3.39 | 34.62 |
Add New /wp-admin/post-new.php?post_type=smartad_portfolios | 3.43 | 51.10 |
Portfolio Category /wp-admin/edit-tags.php?taxonomy=smartad_portfolios_cat&post_type=smartad_portfolios | 3.34 | 33.82 |
Server storage [IO: ▲2.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smart Addons for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲258 | 13.95 ▼0.40 | 12.38 ▲10.48 | 74.50 ▲35.84 |
Dashboard /wp-admin | 2,254 ▲65 | 5.87 ▲0.92 | 96.77 ▼28.82 | 38.02 ▼4.21 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.06 ▲0.05 | 35.65 ▼1.01 | 36.51 ▲3.16 |
Add New Post /wp-admin/post-new.php | 1,561 ▲40 | 23.15 ▲0.01 | 641.40 ▼118.59 | 57.86 ▼11.00 |
Media Library /wp-admin/upload.php | 1,436 ▲48 | 4.23 ▲0.02 | 96.44 ▼12.33 | 42.35 ▼4.61 |
All Portfolios /wp-admin/edit.php?post_type=smartad_portfolios | 1,128 | 2.00 | 34.59 | 34.34 |
Add New /wp-admin/post-new.php?post_type=smartad_portfolios | 1,883 | 3.72 | 64.76 | 35.88 |
Portfolio Category /wp-admin/edit-tags.php?taxonomy=smartad_portfolios_cat&post_type=smartad_portfolios | 1,313 | 2.31 | 29.36 | 31.39 |
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
- widget_recent-comments
- 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-count-down/smart-count-down.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-content-block/smart-content-block.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-portfolio/smart-portfolio.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-accordion/smart-accordion.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-heading/smart-heading.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-service/smart-service.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-tab/smart-tab.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-before-after/smart-before-after.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-team/smart-team.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/smart-addons-for-elementor/elements/smart-testimonial/smart-testimonial.php:4
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #24 in smart-addons-for-elementor/assets to your readme.txt
smart-addons-for-elementor/smart-addons-elementor.php 85% from 13 tests
The main file in "Smart Addons for Elementor" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("smart-addons-for-elementor.php" instead of "smart-addons-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin24,152 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,278 | 87 | 12,303 |
JavaScript | 8 | 1,522 | 1,410 | 6,027 |
PHP | 12 | 288 | 150 | 3,125 |
SVG | 2 | 0 | 0 | 2,697 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 6.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 1 | 1.27% |
▷ Public methods | 55 | 69.62% |
▷ Protected methods | 23 | 29.11% |
▷ Private methods | 1 | 1.27% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.41MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/testimonial-1.png | 9.51KB | 3.80KB | ▼ 60.06% |
assets/img/signature-2.png | 3.13KB | 2.16KB | ▼ 30.90% |
assets/img/signature.png | 3.15KB | 2.16KB | ▼ 31.29% |
assets/img/testimonial-2.png | 277.94KB | 98.67KB | ▼ 64.50% |
assets/img/team.png | 122.30KB | 46.50KB | ▼ 61.98% |