Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.59ms] Passed 4 tests
An overview of server-side resources used by Jarryd And The Jackles - Elementor Random Image
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 46.74 ▲4.65 |
Dashboard /wp-admin | 3.39 ▲0.09 | 52.19 ▼2.69 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.77 ▼5.63 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 88.06 ▼18.69 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.83 ▲7.96 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Jarryd And The Jackles - Elementor Random Image
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.47 ▲0.11 | 1.94 ▲0.23 | 43.05 ▼3.85 |
Dashboard /wp-admin | 2,227 ▲36 | 4.90 ▲0.04 | 100.82 ▼6.20 | 40.06 ▼8.26 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.02 ▼0.01 | 36.30 ▼2.56 | 35.99 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 18.32 ▲0.91 | 643.42 ▼19.96 | 56.06 ▲6.79 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.26 ▲0.07 | 99.56 ▼10.75 | 44.15 ▼2.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'JarrydAndTheJackles\\Elementor_Random_Image\\Widgets\\Base' not found in wp-content/plugins/jarryd-and-the-jackles-elementor-random-image/src/Widgets/WordsearchCreator.php:17
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/jarryd-and-the-jackles-elementor-random-image/src/Widgets/Base.php:14
- > PHP Fatal error
Uncaught Error: Class 'JarrydAndTheJackles\\Elementor_Random_Image\\Widgets\\Base' not found in wp-content/plugins/jarryd-and-the-jackles-elementor-random-image/src/Widgets/RandomArticle.php:15
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: 8 ball, page builder, random, elementor, images...
jarryd-and-the-jackles-elementor-random-image/jarrydandthejackles-elementor-random-image.php 85% from 13 tests
The principal PHP file in "Jarryd And The Jackles - Elementor Random Image" v. 2.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("jarryd-and-the-jackles-elementor-random-image.php" instead of "jarrydandthejackles-elementor-random-image.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected628 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 150 | 482 | 627 |
JavaScript | 1 | 0 | 2 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 2 | 50.00% |
Methods | 60 | |
▷ Static methods | 2 | 3.33% |
▷ Public methods | 32 | 53.33% |
▷ Protected methods | 23 | 38.33% |
▷ Private methods | 5 | 8.33% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin