Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.52ms] Passed 4 tests
Analyzing server-side resources used by Elemendas Addons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.13 ▼0.89 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.56 ▼5.60 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 48.86 ▼6.13 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.56 ▼21.46 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.70 ▲3.70 |
Server storage [IO: ▲3.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Elemendas Addons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 14.61 ▲0.35 | 1.71 ▼0.03 | 41.05 ▼11.42 |
Dashboard /wp-admin | 2,219 ▲34 | 5.76 ▲0.85 | 98.05 ▼16.60 | 38.30 ▼7.46 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.99 ▼0.02 | 38.99 ▲1.20 | 36.21 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,544 ▲2 | 23.32 ▲4.97 | 602.15 ▼24.41 | 50.24 ▼31.75 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.27 ▲0.13 | 101.77 ▼6.45 | 42.71 ▼10.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Heading' not found in wp-content/plugins/elemendas-addons/includes/widgets/added/search-results-highlighted.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: search results, carousel, menu, elementor, elementor widgets
elemendas-addons/elemendas-addons.php Passed 13 tests
This is the main PHP file of "Elemendas Addons" version 2.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
56 characters long description:
Improving the search results archive page for Elementor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin4,243 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 491 | 749 | 2,867 |
CSS | 11 | 78 | 49 | 595 |
JavaScript | 5 | 64 | 18 | 397 |
PO File | 1 | 164 | 297 | 366 |
SVG | 2 | 0 | 1 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 2 | 16.67% |
Methods | 102 | |
▷ Static methods | 27 | 26.47% |
▷ Public methods | 87 | 85.29% |
▷ Protected methods | 12 | 11.76% |
▷ Private methods | 3 | 2.94% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected