Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.48ms] Passed 4 tests
Server-side resources used by Mama Addons for Elementor Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.31 ▼5.86 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.20 ▼7.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.36 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.72 ▼15.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.97 ▲2.54 |
Server storage [IO: ▲4.96MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Mama Addons for Elementor Page Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.22 ▼1.39 | 1.72 ▼0.13 | 41.14 ▼3.86 |
Dashboard /wp-admin | 2,224 ▲36 | 5.84 ▲0.98 | 94.89 ▼11.67 | 40.04 ▼2.32 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.05 ▲0.06 | 40.92 ▼0.65 | 35.80 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,546 ▲25 | 23.37 ▲0.32 | 581.67 ▼59.48 | 51.24 ▼8.87 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.31 ▲0.10 | 97.35 ▼0.31 | 42.32 ▼0.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function MamaAddonsElementor\\add_action() in wp-content/plugins/mama-addons-for-elementor/includes/plugin.php:126
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: widget, elementor addon, elementor widget, addons, elements...
mama-addons-for-elementor/mama-addons-elementor.php 85% from 13 tests
"Mama Addons for Elementor Page Builder" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("mama-addons-for-elementor.php" instead of "mama-addons-elementor.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
Good job! No executable or dangerous file extensions detected24,583 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 1,978 | 224 | 10,423 |
SVG | 4 | 0 | 12 | 9,388 |
PHP | 18 | 790 | 187 | 4,511 |
JavaScript | 5 | 30 | 37 | 261 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 13.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 1 | 5.88% |
Methods | 108 | |
▷ Static methods | 1 | 0.93% |
▷ Public methods | 76 | 70.37% |
▷ Protected methods | 31 | 28.70% |
▷ Private methods | 1 | 0.93% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.24MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/instructions/elementor-add-templates.png | 7.29KB | 4.14KB | ▼ 43.22% |
assets/images/default/icon.png | 199.78KB | 55.99KB | ▼ 71.98% |
assets/images/instructions/elementor-insert-templates.png | 37.32KB | 15.76KB | ▼ 57.78% |