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.07MB] [CPU: ▲0.64ms] Passed 4 tests
An overview of server-side resources used by Elemenda
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.94 ▼2.49 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.74 ▲6.46 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 43.92 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 92.03 ▲9.35 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.22 ▲0.03 |
Server storage [IO: ▲12.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 260 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
elemenda_widgets_registered |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
elementor_cpt_support |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Elemenda
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲20 | 13.14 ▼1.24 | 1.94 ▼0.41 | 43.40 ▼4.58 |
Dashboard /wp-admin | 2,215 ▲9 | 5.87 ▲0.97 | 100.79 ▲3.91 | 42.20 ▲5.64 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.10 ▲0.11 | 34.46 ▼0.73 | 37.97 ▲5.60 |
Add New Post /wp-admin/post-new.php | 1,551 ▲14 | 18.33 ▼4.98 | 618.13 ▼48.35 | 52.01 ▼0.29 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▲0.01 | 96.17 ▼9.36 | 43.71 ▼5.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- elementor_cpt_support
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- elemenda_widgets_registered
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/elemenda/includes/Templates/Admin/support.php
- 46× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Themeid_Elemenda\\Widgets\\Socials\\Module' not found in wp-content/plugins/elemenda/includes/Widgets/socials/Facebook/Group.php:16
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\Common\\Modules\\Finder\\Base_Category' not found in wp-content/plugins/elemenda/includes/Classess/PostFinder.php:20
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/elemenda/includes/Widgets/Heading/Gradient.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/elemenda/includes/Templates/Admin/general.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Group_Control_Base' not found in wp-content/plugins/elemenda/includes/Controls/Gradient.php:14
- > PHP Fatal error
Uncaught Error: Class 'Themeid_Elemenda\\Widgets\\Socials\\TwitterBase' not found in wp-content/plugins/elemenda/includes/Widgets/socials/Twitter/Embed.php:15
- > PHP Fatal error
Uncaught Error: Class 'Themeid_Elemenda\\Widgets\avigations\\Module' not found in wp-content/plugins/elemenda/includes/Widgets/Navigations/widgets/NavMenu2.php:22
- > PHP Fatal error
Uncaught Error: Class 'Themeid_Elemenda\\Widgets\\Forms\\Module' not found in wp-content/plugins/elemenda/includes/Widgets/Forms/widgets/SearchForm.php:18
- > PHP Fatal error
Uncaught Error: Class 'Themeid_Elemenda\\Widgets\avigations\\Module' not found in wp-content/plugins/elemenda/includes/Widgets/Navigations/widgets/Nav_Menu.php:26
- > PHP Fatal error
Uncaught Error: Class 'Themeid_Elemenda\\Classes\\Bootstrap' not found in wp-content/plugins/elemenda/includes/Templates/Admin/starter-templates.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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
10 plugin tags: elementor addon, page builder addons, elementor widget, elementor extensions, elementor modules...
elemenda/elemenda.php 92% from 13 tests
Analyzing the main PHP file in "Elemenda" version 0.0.2
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected59,333 lines of code in 236 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 121 | 6,605 | 2,714 | 35,653 |
SVG | 41 | 1,186 | 3 | 13,022 |
JavaScript | 35 | 1,920 | 1,183 | 8,167 |
CSS | 36 | 326 | 123 | 2,295 |
Markdown | 1 | 56 | 0 | 114 |
JSON | 2 | 0 | 0 | 82 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 14.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 0 | |
Traits | 22 | |
Classes | 79 | |
▷ Abstract classes | 3 | 3.80% |
▷ Concrete classes | 76 | 96.20% |
▷ Final classes | 0 | 0.00% |
Methods | 790 | |
▷ Static methods | 105 | 13.29% |
▷ Public methods | 522 | 66.08% |
▷ Protected methods | 192 | 24.30% |
▷ Private methods | 76 | 9.62% |
Functions | 71 | |
▷ Named functions | 64 | 90.14% |
▷ Anonymous functions | 7 | 9.86% |
Constants | 32 | |
▷ Global constants | 11 | 34.38% |
▷ Class constants | 21 | 65.62% |
▷ Public constants | 21 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.18MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/banner.png | 175.84KB | 77.53KB | ▼ 55.91% |
assets/admin/images/placeholder.png | 9.83KB | 11.11KB | 0.00% |