Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.35ms] Passed 4 tests
An overview of server-side resources used by RomethemeForm For Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.26 ▼0.21 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.60 ▼3.84 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.66 ▼2.28 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 79.94 ▼15.07 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.27 ▲0.56 |
Server storage [IO: ▲2.87MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 59 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for RomethemeForm For Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲71 | 14.09 ▼0.14 | 1.67 ▼0.12 | 37.62 ▼7.50 |
Dashboard /wp-admin | 2,238 ▲58 | 5.60 ▼0.07 | 95.66 ▲7.08 | 83.60 ▲39.28 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 1.98 ▼0.03 | 40.76 ▲3.77 | 36.99 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,571 ▲36 | 23.31 ▼1.72 | 698.18 ▲44.06 | 61.13 ▲0.84 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.19 ▲0.01 | 97.44 ▲1.45 | 75.58 ▲33.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Almost there! Just fix the following items
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rtform-time.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/romethemeform/views/welcome.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rform-checkbox.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rtform-email.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rtform-text-area.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rform-button-submit.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rtform-text.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rform-input-tel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/romethemeform/modules/form/views/entries-view.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/romethemeform/widgets/rtform.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% 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
6 plugin tags: form builder, form, extension, widget, addons...
romethemeform/rometheme-form.php 92% from 13 tests
The main PHP script in "RomethemeForm For Elementor" version 1.1.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("romethemeform.php" instead of "rometheme-form.php")
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 plugin34,232 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 1,589 | 93 | 22,121 |
PHP | 22 | 1,001 | 233 | 7,546 |
JavaScript | 12 | 1,252 | 523 | 4,563 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 6.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 184 | |
▷ Static methods | 28 | 15.22% |
▷ Public methods | 158 | 85.87% |
▷ Protected methods | 25 | 13.59% |
▷ Private methods | 1 | 0.54% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.59MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/assets/img/flags.png | 68.68KB | 24.74KB | ▼ 63.98% |
assets/images/rform.png | 5.74KB | 3.26KB | ▼ 43.15% |
assets/images/rform20x20.png | 3.53KB | 0.85KB | ▼ 75.99% |
assets/images/section2.png | 165.48KB | 47.03KB | ▼ 71.58% |
assets/images/section3.png | 82.07KB | 28.59KB | ▼ 65.16% |