Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼2.68ms] Passed 4 tests
A check of server-side resources used by RRAddons for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 41.31 ▲0.61 |
Dashboard /wp-admin | 3.66 ▲0.36 | 45.09 ▼7.46 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 50.18 ▲2.53 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 82.95 ▼6.40 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 37.54 ▲4.73 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
RRAddons for Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲45 | 14.11 ▼0.24 | 1.68 ▼0.00 | 40.86 ▼1.90 |
Dashboard /wp-admin | 2,215 ▲34 | 5.61 ▼0.07 | 89.55 ▼15.83 | 40.15 ▼3.40 |
Posts /wp-admin/edit.php | 2,120 ▲17 | 1.98 ▼0.14 | 40.75 ▲4.55 | 35.00 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.14 ▲0.03 | 660.61 ▼98.56 | 48.98 ▼4.55 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.17 ▼0.05 | 102.13 ▲6.07 | 44.71 ▲2.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function RRdevs\\Elementor\\Modulis\\add_action() in wp-content/plugins/rrdevs-for-elementor/extensions/css-transform.php:17
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rrdevs-for-elementor/widgets/ProgressBar/widget.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: rrdevs, elementor, elementor addons, elementor free custom css
rrdevs-for-elementor/rrdevs-addons.php 85% from 13 tests
"RRAddons for Elementor" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rrdevs-for-elementor.php" instead of "rrdevs-addons.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected21,512 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 1,370 | 1,047 | 14,460 |
CSS | 6 | 541 | 80 | 4,171 |
JavaScript | 7 | 924 | 101 | 2,506 |
SVG | 2 | 1 | 0 | 375 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 18.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 1 | 5.00% |
Methods | 162 | |
▷ Static methods | 6 | 3.70% |
▷ Public methods | 101 | 62.35% |
▷ Protected methods | 58 | 35.80% |
▷ Private methods | 3 | 1.85% |
Functions | 20 | |
▷ Named functions | 8 | 40.00% |
▷ Anonymous functions | 12 | 60.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin