Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.92ms] Passed 4 tests
Server-side resources used by Rife Elementor Extensions & Templates
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.86 ▼1.14 |
Dashboard /wp-admin | 3.33 ▼0.01 | 55.00 ▼8.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.70 ▲2.20 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 97.63 ▼7.44 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.44 ▲1.07 |
Rife Elementor Extensions & Templates /wp-admin/admin.php?page=rife-templates | 3.22 | 35.78 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Rife Elementor Extensions & Templates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.26 ▼0.75 | 4.89 ▲3.13 | 44.47 ▲2.25 |
Dashboard /wp-admin | 2,221 ▲18 | 4.88 ▲0.02 | 125.67 ▲18.59 | 43.86 ▲1.15 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.05 | 37.47 ▼1.31 | 33.69 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,545 ▲13 | 23.22 ▼0.15 | 652.10 ▲16.80 | 61.40 ▼2.41 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.03 | 112.53 ▲1.69 | 50.18 ▲1.27 |
Rife Elementor Extensions & Templates /wp-admin/admin.php?page=rife-templates | 753 | 2.06 | 29.21 | 30.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rife-elementor-extensions/rife-elementor-extensions.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: elementor addons, elementor widgets, writing effect, drag-and-drop, rife...
rife-elementor-extensions/rife-elementor-extensions.php 92% from 13 tests
This is the main PHP file of "Rife Elementor Extensions & Templates" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 151 characters long)
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
Everything looks great! No dangerous files found in this plugin1,258 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 189 | 546 | 711 |
JavaScript | 4 | 127 | 172 | 431 |
CSS | 1 | 21 | 6 | 111 |
JSON | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 39 | |
▷ Static methods | 4 | 10.26% |
▷ Public methods | 30 | 76.92% |
▷ Protected methods | 4 | 10.26% |
▷ Private methods | 5 | 12.82% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/instructions/elementor-add-templates.png | 7.29KB | 4.14KB | ▼ 43.22% |
assets/images/instructions/elementor-insert-templates.png | 34.36KB | 15.71KB | ▼ 54.27% |