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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼6.58ms] Passed 4 tests
This is a short check of server-side resources used by MAS Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 37.89 ▼3.78 |
Dashboard /wp-admin | 3.69 ▲0.34 | 48.49 ▼18.95 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 50.71 ▲3.88 |
Add New Post /wp-admin/post-new.php | 6.54 ▲0.65 | 84.97 ▼4.06 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 36.64 ▲0.48 |
Project Types /wp-admin/edit-tags.php?taxonomy=jetpack-portfolio-type&post_type=jetpack-portfolio | 3.59 | 37.53 |
All Projects /wp-admin/edit.php?post_type=jetpack-portfolio | 3.64 | 34.94 |
Project Tags /wp-admin/edit-tags.php?taxonomy=jetpack-portfolio-tag&post_type=jetpack-portfolio | 3.59 | 34.74 |
Add New /wp-admin/post-new.php?post_type=jetpack-portfolio | 6.58 | 76.34 |
Server storage [IO: ▲2.75MB] [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: 287 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
mas_meta_box_errors |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MAS Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲91 | 14.71 ▲0.51 | 1.53 ▼0.31 | 37.50 ▼6.05 |
Dashboard /wp-admin | 2,243 ▲66 | 5.60 ▼0.08 | 98.08 ▲4.92 | 46.28 ▲2.67 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 2.09 ▲0.12 | 40.94 ▲3.11 | 34.83 ▲2.62 |
Add New Post /wp-admin/post-new.php | 1,565 ▲30 | 23.61 ▼1.23 | 580.41 ▼15.01 | 48.62 ▼14.40 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.22 ▲0.02 | 101.08 ▲4.93 | 45.33 ▲0.72 |
Project Types /wp-admin/edit-tags.php?taxonomy=jetpack-portfolio-type&post_type=jetpack-portfolio | 1,319 | 2.24 | 31.19 | 36.10 |
All Projects /wp-admin/edit.php?post_type=jetpack-portfolio | 1,181 | 1.94 | 36.62 | 34.16 |
Project Tags /wp-admin/edit-tags.php?taxonomy=jetpack-portfolio-tag&post_type=jetpack-portfolio | 1,291 | 2.26 | 32.42 | 36.01 |
Add New /wp-admin/post-new.php?post_type=jetpack-portfolio | 6,252 | 19.79 | 943.49 | 33.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- mas_meta_box_errors
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-templates.php
- > /wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-tabs.php
- > /wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-tabs-item.php
- > /wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-content.php
- > /wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-filters-item.php
- > /wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-preview.php
- > /wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-filters.php
- 15× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MASElementor\\Modules\\QueryControl\\Classes\\Elementor_Post_Query' not found in wp-content/plugins/mas-addons-for-elementor/modules/query-control/classes/elementor-related-query.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-header-back.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mas-addons-for-elementor/portfolio/includes/functions.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-header.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-loading.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mas-addons-for-elementor/portfolio/modules/classes/class-mas-jetpack-portfolio.php:1032
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-error.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-item.php:22
- > PHP Warning
require(MAS_ELEMENTOR_ASSETS_PATHtemplates/images/logo.svg): failed to open stream: No such file or directory in wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-header-logo.php on line 9
- > PHP Fatal error
require(): Failed opening required 'MAS_ELEMENTOR_ASSETS_PATHtemplates/images/logo.svg' (include_path='.:/usr/share/php') in wp-content/plugins/mas-addons-for-elementor/templates/scripts/template-modal-header-logo.php on line 9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (These are the widgets included in this plugin.), #2 (Mas-post elementor-library is where we build the post widget's loop template.), #3 (Build content using dynamic tags here we add featured image for template.), #4 (Build content using dynamic tags here we add title for template.), #5 (Build content using dynamic tags here we add date for template.), #6 (Use Posts widgets to display posts, it is displayed in this style by default.), #7 (Select the dropdown control Mas Template to display different styles you built in mas-posts), #8 (This is the output of the posts widget from the selected template.)
mas-addons-for-elementor/mas-elementor.php 85% from 13 tests
Analyzing the main PHP file in "MAS Elementor" version 1.1.0
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mas-addons-for-elementor.php" instead of "mas-elementor.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected60,898 lines of code in 283 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 224 | 7,325 | 10,359 | 48,318 |
JavaScript | 29 | 2,188 | 894 | 7,414 |
CSS | 30 | 129 | 105 | 5,166 |
PHP code Passed 2 tests
Analyzing 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.28 |
Average class complexity | 12.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 82 | |
Interfaces | 0 | |
Traits | 8 | |
Classes | 189 | |
▷ Abstract classes | 15 | 7.94% |
▷ Concrete classes | 174 | 92.06% |
▷ Final classes | 1 | 0.57% |
Methods | 1,516 | |
▷ Static methods | 71 | 4.68% |
▷ Public methods | 1,164 | 76.78% |
▷ Protected methods | 249 | 16.42% |
▷ Private methods | 103 | 6.79% |
Functions | 40 | |
▷ Named functions | 25 | 62.50% |
▷ Anonymous functions | 15 | 37.50% |
Constants | 42 | |
▷ Global constants | 10 | 23.81% |
▷ Class constants | 32 | 76.19% |
▷ Public constants | 32 | 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
No PNG images were found in this plugin