Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.79MB] [CPU: ▲1.37ms] Passed 4 tests
Server-side resources used by AWeber – Free Sign Up Form and Landing Page Builder Plugin for Lead Generation and Email Newsletter Growth
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.79 | 46.03 ▲5.76 |
Dashboard /wp-admin | 4.09 ▲0.79 | 56.33 ▲5.87 |
Posts /wp-admin/edit.php | 4.20 ▲0.84 | 52.62 ▲4.13 |
Add New Post /wp-admin/post-new.php | 6.69 ▲0.80 | 90.93 ▼8.27 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 39.45 ▲3.84 |
Server storage [IO: ▲0.39MB] [DB: ▲1.37MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
AWeberWebformPluginAdminOptions |
dashboard_widget_options |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
AWeberWebformPluginWidgetOptions |
Browser metrics Passed 4 tests
A check of browser resources used by AWeber – Free Sign Up Form and Landing Page Builder Plugin for Lead Generation and Email Newsletter Growth
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲180 | 14.61 ▼0.09 | 2.15 ▲0.40 | 32.67 ▼10.33 |
Dashboard /wp-admin | 2,332 ▲154 | 5.65 ▲0.09 | 94.79 ▼15.57 | 88.85 ▲45.72 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 2.19 ▲0.16 | 37.82 ▼1.85 | 33.53 ▼3.99 |
Add New Post /wp-admin/post-new.php | 6,227 ▲4,701 | 19.04 ▼4.16 | 935.37 ▲297.54 | 42.52 ▼15.13 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.24 ▲0.07 | 97.31 ▼1.09 | 74.71 ▲30.18 |
Settings /wp-admin/aweber.php | 26 | 0.41 | 0.11 | 13.34 |
Forms /wp-admin/aweber.php?page=aweber_web_form | 26 | 0.41 | 0.06 | 6.25 |
Landing Pages /wp-admin/aweber.php?page=aweber_landing_page | 26 | 0.41 | 0.14 | 7.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲1.37MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- dashboard_widget_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 25% 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/aweber-web-form-widget/php/aweber_header_section.php
- > /wp-content/plugins/aweber-web-form-widget/php/sdk/aweber-service-worker.js.php
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function AWeberWebFormPluginNamespace\\admin_url() in wp-content/plugins/aweber-web-form-widget/php/aweber_webform_plugin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aweber-web-form-widget/php/aweber_landing_page.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/aweber-web-form-widget/php/aweber_elementor_widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aweber-web-form-widget/php/aweber_system_info.php:29
- > PHP Fatal error
Uncaught Error: Class 'AWeberWebFormPluginNamespace\\AWeberAPIBase' not found in wp-content/plugins/aweber-web-form-widget/php/aweber_api/aweber_response.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_field() in wp-content/plugins/aweber-web-form-widget/php/template/aweber_landing_page_template.php:3
- > PHP Fatal error
Uncaught Error: Class 'AWeberWebFormPluginNamespace\\AWeberResponse' not found in wp-content/plugins/aweber-web-form-widget/php/aweber_api/aweber_collection.php:4
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/aweber-web-form-widget/php/aweber_elementor_form_action.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aweber-web-form-widget/php/aweber_track_signup_form.php:4
- > PHP Fatal error
Uncaught Error: Class 'AWeberWebFormPluginNamespace\\AWeberResponse' not found in wp-content/plugins/aweber-web-form-widget/php/aweber_api/aweber_entry.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/aweber.php
- > Network (severe)
wp-admin/aweber.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/aweber.php?page=aweber_web_form
- > Network (severe)
wp-admin/aweber.php?page=aweber_web_form - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/aweber.php?page=aweber_landing_page
- > Network (severe)
wp-admin/aweber.php?page=aweber_landing_page - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
aweber-web-form-widget/aweber.php 92% from 13 tests
"AWeber – Free Sign Up Form and Landing Page Builder Plugin for Lead Generation and Email Newsletter Growth" version 7.3.11's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aweber-web-form-widget.php" instead of "aweber.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected6,709 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 761 | 1,398 | 4,254 |
JavaScript | 9 | 302 | 177 | 1,866 |
CSS | 3 | 14 | 7 | 546 |
SVG | 2 | 0 | 0 | 25 |
JSON | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 271.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 251 | |
▷ Static methods | 2 | 0.80% |
▷ Public methods | 202 | 80.48% |
▷ Protected methods | 21 | 8.37% |
▷ Private methods | 28 | 11.16% |
Functions | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.03MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
AWeber_widget_black.png | 14.42KB | 14.24KB | ▼ 1.23% |
AWeber_widget_blue.png | 7.34KB | 6.24KB | ▼ 14.97% |
AWeber_widget_white.png | 5.48KB | 6.31KB | 0.00% |
AWeber_white_logo.png | 0.35KB | 0.70KB | 0.00% |