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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.45ms] Passed 4 tests
Server-side resources used by 60+ Elementor Blocks by Elfsight.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.38 ▲3.76 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.48 ▼6.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.20 ▼3.73 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.35 ▼11.67 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.38 ▲4.34 |
Server storage [IO: ▲0.67MB] [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: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by 60+ Elementor Blocks by Elfsight.
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲40 | 14.40 ▲0.13 | 5.50 ▲3.73 | 42.60 ▲0.77 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▲0.05 | 84.62 ▼10.27 | 37.16 ▼7.27 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.01 | 36.94 ▼4.47 | 35.10 ▲3.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.23 ▼0.26 | 595.98 ▼87.34 | 55.76 ▼23.52 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▲0.04 | 97.58 ▼6.04 | 43.09 ▼3.60 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: editor, addon, extension, elementor
elfsight-addons-for-elementor/elfsight-elementor-extension.php 85% from 13 tests
This is the main PHP file of "60+ Elementor Blocks by Elfsight." version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, 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 ("elfsight-addons-for-elementor.php" instead of "elfsight-elementor-extension.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin8,895 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 8,096 |
PHP | 5 | 43 | 27 | 591 |
JavaScript | 3 | 35 | 22 | 161 |
CSS | 1 | 2 | 0 | 25 |
SVG | 1 | 0 | 0 | 11 |
Stylus | 1 | 3 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 3 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.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
No PNG images were found in this plugin