Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼140.50ms] Passed 4 tests
Server-side resources used by RT Elementor Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.04 | 39.17 ▲4.66 |
Dashboard /wp-admin | 3.10 ▲0.04 | 54.21 ▼2.90 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 50.30 ▼0.15 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 98.78 ▼556.18 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 42.85 ▼2.78 |
Server storage [IO: ▲0.23MB] [DB: ▲0.62MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for RT Elementor Widgets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,766 ▲170 | 15.77 ▲0.25 | 8.95 ▼1.72 | 51.03 ▼0.41 |
Dashboard /wp-admin | 2,980 ▲43 | 5.89 ▼0.24 | 149.78 ▲5.84 | 114.67 ▼3.78 |
Posts /wp-admin/edit.php | 2,775 ▲36 | 2.68 ▼0.01 | 69.98 ▲4.00 | 105.90 ▲15.95 |
Add New Post /wp-admin/post-new.php | 1,507 ▼176 | 18.06 ▼0.69 | 279.59 ▼120.49 | 111.80 ▼5.77 |
Media Library /wp-admin/upload.php | 1,842 ▲35 | 5.02 ▲0.00 | 227.01 ▲57.32 | 129.93 ▲3.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.62MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
No tags were detected
rt-elementor-widgets/rt-elementor-widgets.php 92% from 13 tests
The primary PHP file in "RT Elementor Widgets" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.8" instead of "5.0")
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
No dangerous file extensions were detected4,880 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 342 | 199 | 2,139 |
JavaScript | 7 | 489 | 920 | 2,017 |
CSS | 3 | 69 | 41 | 724 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 1 | 1.82% |
▷ Public methods | 39 | 70.91% |
▷ Protected methods | 16 | 29.09% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin