Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲5.86ms] Passed 4 tests
An overview of server-side resources used by RomethemeKit For Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 59.81 ▲9.50 |
Dashboard /wp-admin | 3.32 ▲0.01 | 55.89 ▲2.14 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 61.81 ▲11.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 103.37 ▲10.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.37 ▲1.35 |
Server storage [IO: ▲5.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 110 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for RomethemeKit For Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲56 | 13.21 ▲0.04 | 2.44 ▲0.30 | 44.54 ▲0.63 |
Dashboard /wp-admin | 2,236 ▲27 | 5.80 ▼0.05 | 106.28 ▼6.38 | 75.34 ▲31.50 |
Posts /wp-admin/edit.php | 2,134 ▲48 | 1.98 ▼0.03 | 38.65 ▼0.55 | 35.12 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,438 ▼96 | 17.75 ▼5.60 | 786.42 ▲95.05 | 58.00 ▼3.25 |
Media Library /wp-admin/upload.php | 1,430 ▲45 | 4.26 ▲0.01 | 114.58 ▼4.25 | 52.05 ▲0.99 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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)
Even though no errors were found, this is by no means an exhaustive test
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
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/social_share.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/rkit_line_chart.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/rkit_blockquote.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/rkit_tabs.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_url() in wp-content/plugins/rometheme-for-elementor/modules/Form/form-view.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rometheme-for-elementor/RomeTheme.php:15
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/rkit_card_slider.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/rkit_team.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/rkit_blog_post.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rometheme-for-elementor/widgets/rkit_widgets/rkit_animated_heading.php:3
- > PHP Fatal error
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 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #3, #4 in rometheme-for-elementor/assets to your readme.txt
rometheme-for-elementor/RomeTheme.php 92% from 13 tests
"RomethemeKit For Elementor" version 1.3.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("rometheme-for-elementor.php" instead of "RomeTheme.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
Everything looks great! No dangerous files found in this plugin50,897 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 28 | 1,957 | 65 | 22,720 |
PHP | 33 | 1,733 | 261 | 14,751 |
JavaScript | 24 | 4,037 | 1,513 | 13,267 |
SVG | 5 | 1 | 0 | 93 |
JSON | 1 | 0 | 0 | 66 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 10.54 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 283 | |
▷ Static methods | 28 | 9.89% |
▷ Public methods | 238 | 84.10% |
▷ Protected methods | 44 | 15.55% |
▷ Private methods | 1 | 0.35% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.73MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
view/images/section-1.png | 28.60KB | 11.34KB | ▼ 60.34% |
view/images/logoRT.png | 12.05KB | 5.16KB | ▼ 57.15% |
view/images/rometheme.png | 436.14KB | 174.37KB | ▼ 60.02% |
view/images/png1.png | 26.51KB | 9.22KB | ▼ 65.20% |
view/images/section2.png | 165.48KB | 47.03KB | ▼ 71.58% |