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
Install script ran successfully
Server metrics [RAM: ▲1.03MB] [CPU: ▲3.78ms] Passed 4 tests
This is a short check of server-side resources used by Absolute Addons For Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.56 ▲1.10 | 48.61 ▲8.85 |
Dashboard /wp-admin | 4.31 ▲1.01 | 50.87 ▼1.03 |
Posts /wp-admin/edit.php | 4.37 ▲1.02 | 57.93 ▲9.97 |
Add New Post /wp-admin/post-new.php | 7.16 ▲1.27 | 98.92 ▼2.16 |
Media Library /wp-admin/upload.php | 4.23 ▲1.00 | 42.09 ▲9.44 |
Add New /wp-admin/post-new.php?post_type=portfolio | 7.15 | 90.14 |
Portfolios Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 4.23 | 42.59 |
Add New /wp-admin/post-new.php?post_type=faq | 7.15 | 87.70 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 4.29 | 46.38 |
FAQs /wp-admin/edit.php?post_type=faq | 4.29 | 40.67 |
FAQs Categories /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=faq | 4.23 | 39.17 |
FAQs Tags /wp-admin/edit-tags.php?taxonomy=faq_tag&post_type=faq | 4.22 | 37.49 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 4.22 | 38.94 |
Server storage [IO: ▲10.93MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 528 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Absolute Addons For Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,082 ▲336 | 14.11 ▼0.53 | 11.76 ▲9.98 | 43.05 ▼2.44 |
Dashboard /wp-admin | 2,358 ▲167 | 4.87 ▼0.01 | 114.56 ▲12.03 | 44.86 ▼0.78 |
Posts /wp-admin/edit.php | 2,240 ▲148 | 2.18 ▲0.13 | 44.39 ▲2.98 | 40.64 ▲4.56 |
Add New Post /wp-admin/post-new.php | 1,668 ▲149 | 23.60 ▲0.21 | 658.60 ▲68.63 | 51.48 ▼1.38 |
Media Library /wp-admin/upload.php | 1,540 ▲155 | 4.22 ▲0.05 | 98.05 ▼0.22 | 44.97 ▲2.31 |
Add New /wp-admin/post-new.php?post_type=portfolio | 6,308 | 23.07 | 874.23 | 29.64 |
Portfolios Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 1,414 | 2.19 | 30.48 | 34.63 |
Add New /wp-admin/post-new.php?post_type=faq | 1,641 | 16.97 | 757.57 | 34.59 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,215 | 1.98 | 31.68 | 32.57 |
FAQs /wp-admin/edit.php?post_type=faq | 1,212 | 1.97 | 32.62 | 32.81 |
FAQs Categories /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=faq | 1,414 | 2.19 | 29.39 | 35.47 |
FAQs Tags /wp-admin/edit-tags.php?taxonomy=faq_tag&post_type=faq | 1,386 | 2.31 | 26.94 | 31.42 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 1,386 | 2.31 | 31.29 | 33.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% 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 0% 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
Please fix the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/absolute-addons/widgets/image-grid/template/template-image-grid-item-one.php
- > /wp-content/plugins/absolute-addons/widgets/logo-grid/template/template-logo-grid-item-two.php
- > /wp-content/plugins/absolute-addons/widgets/logo-grid/template/template-logo-grid-item-one.php
- 110× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'ABSOLUTE_ADDONS_WIDGETS_PATHportfolio/template/template-figure.php' (include_path='.:/usr/share/php') in wp-content/plugins/absolute-addons/widgets/portfolio/template/template-portfolio-item-four.php on line 18
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/absolute-addons/widgets/list-group/template/template-list-group-item-two.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/absolute-addons/widgets/advance-tab/template/template-advance-tab-item-eight.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/absolute-addons/widgets/counter/template/template-counter-item-seven.php:17
- > PHP Fatal error
require(): Failed opening required 'ABSOLUTE_ADDONS_WIDGETS_PATHportfolio/template/template-figure.php' (include_path='.:/usr/share/php') in wp-content/plugins/absolute-addons/widgets/portfolio/template/template-portfolio-item-nine.php on line 18
- > PHP Warning
require(ABSOLUTE_ADDONS_WIDGETS_PATHportfolio/template/template-figure.php): failed to open stream: No such file or directory in wp-content/plugins/absolute-addons/widgets/portfolio/template/template-portfolio-item-one.php on line 18
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/absolute-addons/widgets/team-carousel/template/template-team-carousel-item-nine.php:49
- > PHP Notice
Undefined variable: member in wp-content/plugins/absolute-addons/widgets/team-carousel/template/template-team-carousel-item-eight.php on line 21
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/absolute-addons/widgets/list-group/template/template-list-group-item-twelve.php:11
- > PHP Warning
Use of undefined constant ABSOLUTE_ADDONS_WIDGETS_PATH - assumed 'ABSOLUTE_ADDONS_WIDGETS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/absolute-addons/widgets/portfolio/template/template-portfolio-item-one.php on line 18
- > 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)
No browser issues were found
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: elements, elementor, essential elementor widgets, elementor addons, elementor widget
absolute-addons/absolute-addons.php Passed 13 tests
"Absolute Addons For Elementor" version 1.0.14's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
42 characters long description:
Addon elements for Elementor Page Builder.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected74,566 lines of code in 469 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 337 | 6,931 | 6,802 | 56,504 |
SVG | 11 | 58 | 2 | 16,744 |
CSS | 92 | 62 | 71 | 1,139 |
JavaScript | 28 | 22 | 197 | 178 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 25.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 52 | |
▷ Abstract classes | 1 | 1.92% |
▷ Concrete classes | 51 | 98.08% |
▷ Final classes | 1 | 1.96% |
Methods | 698 | |
▷ Static methods | 77 | 11.03% |
▷ Public methods | 398 | 57.02% |
▷ Protected methods | 236 | 33.81% |
▷ Private methods | 64 | 9.17% |
Functions | 59 | |
▷ Named functions | 53 | 89.83% |
▷ Anonymous functions | 6 | 10.17% |
Constants | 23 | |
▷ Global constants | 8 | 34.78% |
▷ Class constants | 15 | 65.22% |
▷ Public constants | 15 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
21 PNG files occupy 0.64MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/absp.png | 15.31KB | 4.63KB | ▼ 69.75% |
assets/images/card3.png | 14.06KB | 5.37KB | ▼ 61.79% |
assets/images/question.png | 9.42KB | 3.75KB | ▼ 60.23% |
assets/images/upcoming.png | 1.50KB | 1.39KB | ▼ 7.74% |
assets/images/team-11-item-1.png | 78.70KB | 45.27KB | ▼ 42.47% |