Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼140.05ms] Passed 4 tests
Server-side resources used by File Select Control For Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 33.21 ▲11.51 |
Dashboard /wp-admin | 3.08 ▲0.02 | 49.51 ▲5.61 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 45.69 ▲2.92 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 90.05 ▼562.89 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 30.66 ▼5.84 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by File Select Control For Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,725 ▲129 | 16.14 ▲0.56 | 8.30 ▼1.54 | 53.11 ▲7.01 |
Dashboard /wp-admin | 2,992 ▲58 | 5.90 ▼0.03 | 134.45 ▼6.80 | 114.20 ▲0.80 |
Posts /wp-admin/edit.php | 2,759 ▲23 | 2.71 ▲0.01 | 68.93 ▲6.29 | 92.79 ▲3.72 |
Add New Post /wp-admin/post-new.php | 1,512 ▼364 | 18.48 ▼0.69 | 351.92 ▼20.59 | 105.24 ▼10.60 |
Media Library /wp-admin/upload.php | 1,833 ▲23 | 4.99 ▼0.06 | 157.38 ▲3.53 | 117.23 ▼0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/file-select-control-for-elementor/widgets/file-link-widget.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/file-select-control-for-elementor/controls/fileselect-control.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: Please describe screenshot #2 in file-select-control-for-elementor/assets to your readme.txt
file-select-control-for-elementor/file-select-control-elementor.php 92% from 13 tests
Analyzing the main PHP file in "File Select Control For Elementor" version 1.3
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("file-select-control-for-elementor.php" instead of "file-select-control-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin264 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 66 | 251 | 226 |
JavaScript | 1 | 6 | 0 | 29 |
Markdown | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 16 | 84.21% |
▷ Protected methods | 3 | 15.79% |
▷ 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
No PNG images were found in this plugin