Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.54MB] [CPU: ▲8.16ms] Passed 4 tests
Analyzing server-side resources used by Maan Addons For Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.97 ▲1.51 | 52.52 ▲11.67 |
Dashboard /wp-admin | 4.86 ▲1.56 | 60.81 ▲8.23 |
Posts /wp-admin/edit.php | 4.91 ▲1.56 | 68.48 ▲20.01 |
Add New Post /wp-admin/post-new.php | 7.44 ▲1.56 | 104.63 ▲0.60 |
Media Library /wp-admin/upload.php | 4.78 ▲1.56 | 47.66 ▲12.13 |
Server storage [IO: ▲2.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 209 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
maan_elementor_addons_installed |
can_compress_scripts |
maan_elementor_addons_version |
db_upgraded |
_maan_elementor_addons |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Maan Addons For Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.35 ▼0.01 | 1.73 ▲0.16 | 43.82 ▲3.36 |
Dashboard /wp-admin | 2,234 ▲60 | 5.67 ▲0.09 | 96.66 ▼8.28 | 47.81 ▲0.67 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.15 ▲0.14 | 39.74 ▲3.39 | 38.45 ▲5.13 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 23.19 ▲0.25 | 640.39 ▼18.49 | 58.84 ▲4.55 |
Media Library /wp-admin/upload.php | 1,445 ▲48 | 4.17 ▼0.04 | 98.92 ▼6.10 | 46.19 ▲3.32 |
Features /wp-admin/admin.php?page=maan-elementor-addons#tab=features | 1,155 | 3.86 | 53.40 | 39.21 |
Welcome /wp-admin/admin.php?page=maan-elementor-addons#tab=welcome | 1,146 | 3.43 | 49.07 | 29.03 |
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
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-comments
- maan_elementor_addons_version
- can_compress_scripts
- maan_elementor_addons_installed
- _maan_elementor_addons
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout3.php
- > /wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout1.php
- > /wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout2.php
- > /wp-content/plugins/maan-elementor-addons/elementor/widgets/service/layout1.php
- > /wp-content/plugins/maan-elementor-addons/elementor/widgets/service/layout2.php
- > /wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout4.php
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/maan-elementor-addons/elementor/widgets/callToAction/layout5.php:2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout3.php on line 5
- > PHP Notice
Undefined variable: settings in wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout1.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/maan-elementor-addons/elementor/widgets/callToAction/layout3.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout3.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout2.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout1.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/maan-elementor-addons/elementor/widgets/team/layout4.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/maan-elementor-addons/elementor/widgets/callToAction/layout2.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/maan-elementor-addons/elementor/widgets/callToAction/layout1.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% 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
3 plugin tags: elementor addons, wordpress woocommerce builder, wp elementor addon
maan-elementor-addons/maan-elementor-addnons.php 77% from 13 tests
The main PHP file in "Maan Addons For Elementor" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("maan-elementor-addons.php" instead of "maan-elementor-addnons.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin43,564 lines of code in 180 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 3,654 | 1,904 | 16,769 |
CSS | 10 | 550 | 581 | 6,961 |
Sass | 18 | 1,085 | 3 | 6,780 |
JavaScript | 9 | 1,290 | 520 | 6,547 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
JSON | 1 | 0 | 0 | 5 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 21.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 5.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 2 | 2.56% |
▷ Concrete classes | 76 | 97.44% |
▷ Final classes | 2 | 2.63% |
Methods | 347 | |
▷ Static methods | 61 | 17.58% |
▷ Public methods | 338 | 97.41% |
▷ Protected methods | 6 | 1.73% |
▷ Private methods | 3 | 0.86% |
Functions | 27 | |
▷ Named functions | 26 | 96.30% |
▷ Anonymous functions | 1 | 3.70% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/Admin/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |