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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.97ms] Passed 4 tests
This is a short check of server-side resources used by Cowidgets - Elementor Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 34.73 ▼2.91 |
Dashboard /wp-admin | 3.77 ▲0.47 | 55.03 ▲7.73 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.73 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.47 ▼14.90 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 34.48 ▲0.22 |
Server storage [IO: ▲2.59MB] [DB: ▲0.04MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 261 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Cowidgets - Elementor Addons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 14.37 ▲0.02 | 1.69 ▲0.06 | 41.28 ▲2.88 |
Dashboard /wp-admin | 2,281 ▲100 | 5.57 ▼0.11 | 81.09 ▼16.96 | 40.08 ▼4.82 |
Posts /wp-admin/edit.php | 2,110 ▲13 | 2.02 ▲0.03 | 34.10 ▼3.99 | 35.04 ▲2.53 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.01 ▼0.17 | 607.15 ▼64.37 | 54.08 ▲2.20 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.23 ▲0.08 | 97.30 ▲0.55 | 44.19 ▲0.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 54× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/portfolio/jasper.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/portfolio/amber.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/portfolio/alder.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/podcast/box3.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function the_post_thumbnail() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/testimonial/alder.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cowidgets-elementor-addons/cowidgets.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/portfolio/filter.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/testimonial/tista.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/portfolio/filter.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cowidgets-elementor-addons/inc/widgets-manager/widgets/content/partials/podcast/featured.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Go to Appearance -> Codeless Header/Footer/Blocks to create a new template.), #2 (Various options to easiest work with large websites.), #3 (Header Widgets included), #4 (HQ widgets included with the plugin), #5 (Showcase of included widget (slider)), #6 (Showcase of included widget (portfolio grid)), #7 (Showcase of included widget (portfolio carousel)), #8 (Showcase of included widget (testimonial carousel)), #9 (Showcase of included widget (posts))
cowidgets-elementor-addons/cowidgets.php 85% from 13 tests
This is the main PHP file of "Cowidgets - Elementor Addons" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cowidgets-elementor-addons.php" instead of "cowidgets.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin45,559 lines of code in 238 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 3,494 | 4,514 | 18,821 |
Sass | 50 | 1,729 | 15 | 13,752 |
JavaScript | 84 | 2,336 | 1,302 | 8,485 |
JSON | 2 | 0 | 0 | 3,574 |
CSS | 10 | 327 | 7 | 582 |
SVG | 3 | 554 | 4 | 345 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 21.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 253.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 48 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 540 | |
▷ Static methods | 58 | 10.74% |
▷ Public methods | 358 | 66.30% |
▷ Protected methods | 170 | 31.48% |
▷ Private methods | 12 | 2.22% |
Functions | 16 | |
▷ Named functions | 12 | 75.00% |
▷ Anonymous functions | 4 | 25.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.16MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bg.png | 51.23KB | 34.46KB | ▼ 32.74% |
assets/images/icon.png | 2.61KB | 1.54KB | ▼ 40.90% |
assets/images/formbg.png | 109.62KB | 51.17KB | ▼ 53.31% |