Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼9.74ms] Passed 4 tests
An overview of server-side resources used by Themexriver Addon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 32.85 ▼13.24 |
Dashboard /wp-admin | 3.46 ▲0.15 | 52.26 ▲2.87 |
Posts /wp-admin/edit.php | 3.58 ▲0.21 | 49.49 ▼4.71 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.80 ▼20.46 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 36.76 ▼0.56 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Themexriver Addon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.14 ▼0.21 | 2.71 ▲0.63 | 45.42 ▲2.10 |
Dashboard /wp-admin | 2,209 ▲29 | 5.60 ▼0.06 | 97.86 ▲8.02 | 40.23 ▼4.46 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.13 ▲0.11 | 37.09 ▼2.75 | 32.03 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,539 ▲2 | 21.03 ▲2.78 | 641.71 ▼4.87 | 47.45 ▼19.11 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.26 ▲0.05 | 107.05 ▼1.28 | 42.87 ▼4.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 72× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/spark-for-elementor/widgets/common/client/view.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/spark-for-elementor/widgets/common/scroll-feedback/view.php:36
- > PHP Fatal error
Uncaught Error: Class 'Themexriver_Addon\\Themexriver_Addon_Helper' not found in wp-content/plugins/spark-for-elementor/widgets/common/iconbox-1/view.php:3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/spark-for-elementor/widgets/common/team/view.php on line 8
- > PHP Notice
Undefined variable: settings in wp-content/plugins/spark-for-elementor/widgets/common/scroll-feedback/view.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/spark-for-elementor/widgets/common/client/view.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/spark-for-elementor/widgets/common/client/view.php on line 6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/spark-for-elementor/widgets/common/accordion/view.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/spark-for-elementor/widgets/common/scroll-feedback/view.php on line 6
- > PHP Notice
Undefined variable: settings in wp-content/plugins/spark-for-elementor/widgets/common/team/view.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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
5 plugin tags: elementor widgets, addons, header footer, elementor, template library
spark-for-elementor/index.php 92% from 13 tests
The main file in "Themexriver Addon" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("spark-for-elementor.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected6,182 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 529 | 58 | 3,687 |
CSS | 3 | 99 | 11 | 1,345 |
JavaScript | 3 | 180 | 91 | 783 |
SVG | 1 | 0 | 0 | 362 |
JSON | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 21 | 22.83% |
▷ Public methods | 76 | 82.61% |
▷ Protected methods | 16 | 17.39% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin