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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.71ms] Passed 4 tests
An overview of server-side resources used by Ruvuv Extension for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.56 ▼0.47 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.16 ▼3.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.62 ▼2.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.31 ▲3.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.00 ▼0.40 |
Server storage [IO: ▲1.62MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Ruvuv Extension for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.23 ▼1.07 | 1.75 ▼0.03 | 38.30 ▼2.80 |
Dashboard /wp-admin | 2,215 ▲30 | 4.85 ▼0.97 | 101.53 ▼10.34 | 40.25 ▼5.47 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.17 ▲0.16 | 39.60 ▲2.08 | 35.83 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,523 ▼18 | 17.74 ▼5.49 | 685.92 ▼6.10 | 47.25 ▼8.77 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.25 ▲0.09 | 101.29 ▼8.48 | 43.40 ▼0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant RUVUV_EXPAND_INCLUDE_DIR - assumed 'RUVUV_EXPAND_INCLUDE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ruvuv-extension-for-elementor/includes/plugin.php on line 90
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ruvuv-extension-for-elementor/includes/admin-settings.php:2
- > PHP Warning
require(RUVUV_EXPAND_INCLUDE_DIRmodules-manager.php): failed to open stream: No such file or directory in wp-content/plugins/ruvuv-extension-for-elementor/includes/plugin.php on line 90
- > PHP Fatal error
require(): Failed opening required 'RUVUV_EXPAND_INCLUDE_DIRmodules-manager.php' (include_path='.:/usr/share/php') in wp-content/plugins/ruvuv-extension-for-elementor/includes/plugin.php on line 90
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: addons, elementor widget, elementor, elementor extension, visual editor...
ruvuv-extension-for-elementor/ruvuv-extension.php 85% from 13 tests
The entry point to "Ruvuv Extension for Elementor" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ruvuv-extension-for-elementor.php" instead of "ruvuv-extension.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 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin8,189 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 22 | 1,242 | 1,793 | 5,307 |
PHP | 20 | 409 | 144 | 2,723 |
CSS | 3 | 0 | 0 | 159 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 2 | 11.76% |
▷ Concrete classes | 15 | 88.24% |
▷ Final classes | 2 | 13.33% |
Methods | 100 | |
▷ Static methods | 5 | 5.00% |
▷ Public methods | 85 | 85.00% |
▷ Protected methods | 1 | 1.00% |
▷ Private methods | 14 | 14.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/logo.png | 0.98KB | 0.53KB | ▼ 46.17% |