Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.97ms] Passed 4 tests
An overview of server-side resources used by Safan Elementor Addons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.31 ▲1.34 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.79 ▼13.24 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.62 ▼4.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.14 ▼14.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.60 ▼4.05 |
Server storage [IO: ▲7.47MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 163 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Safan Elementor Addons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.29 ▲0.10 | 1.69 ▲0.07 | 38.07 ▼1.25 |
Dashboard /wp-admin | 2,215 ▲40 | 5.64 ▼0.04 | 83.68 ▼13.03 | 39.80 ▼3.66 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.00 ▼0.02 | 36.49 ▼1.55 | 34.77 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.31 ▲0.24 | 646.08 ▼20.96 | 54.11 ▼4.70 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.18 ▼0.04 | 94.83 ▼24.12 | 40.82 ▼9.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/service.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/content-block/content-seven.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/content-block/content-two.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/timer-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/content-block/content-four.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/skill.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/content-block/content-five.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/contact.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/content-block/content-three.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/safan-addons/widgets/content-block/content-one.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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
5 plugin tags: elementor content widget, elementor extention, elementor widget, elementor, elementor content block
safan-addons/elementor-addons.php 77% from 13 tests
"Safan Elementor Addons" version 3.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time 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: The principal plugin file should be the same as the plugin slug ("safan-addons.php" instead of "elementor-addons.php")
- Domain Path: The domain path folder was not found ("/languages")
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
There were no executable files found in this plugin25,075 lines of code in 130 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 2,190 | 89 | 11,638 |
SVG | 78 | 6 | 39 | 10,045 |
PHP | 15 | 622 | 250 | 2,261 |
Sass | 14 | 152 | 9 | 810 |
JavaScript | 11 | 63 | 35 | 321 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 101 | |
▷ Static methods | 1 | 0.99% |
▷ Public methods | 75 | 74.26% |
▷ Protected methods | 26 | 25.74% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/img/logo.png | 32.51KB | 17.87KB | ▼ 45.02% |