Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.96MB] [CPU: ▲5.24ms] Passed 4 tests
This is a short check of server-side resources used by AWeber Forms by Optin Cat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.44 ▲0.98 | 53.67 ▲13.38 |
Dashboard /wp-admin | 4.28 ▲0.97 | 53.80 ▲1.15 |
Posts /wp-admin/edit.php | 4.31 ▲0.96 | 58.67 ▲12.22 |
Add New Post /wp-admin/post-new.php | 6.85 ▲0.96 | 104.15 ▼2.57 |
Media Library /wp-admin/upload.php | 4.18 ▲0.96 | 45.07 ▲10.17 |
Upgrade to Premium /wp-admin/edit.php?post_type=easy-opt-ins&page=eoi_premium_upgrade | 3.99 | 29.77 |
Add New /wp-admin/post-new.php?post_type=easy-opt-ins | 7.28 | 80.06 |
All Optin Forms /wp-admin/edit.php?post_type=easy-opt-ins | 4.23 | 41.49 |
Subscribers /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_subscribers_page | 4.09 | 38.87 |
Settings /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_settings_page | 4.09 | 38.72 |
Server storage [IO: ▲3.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 251 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_fca_eoi_subscribers |
wp_fca_eoi_activity |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
fca_eoi_allow_customform |
widget_recent-posts |
widget_easy-opt-in-widget |
fca_eoi_settings |
fca_eoi_subscribers_table_ver |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by AWeber Forms by Optin Cat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,097 ▲362 | 14.54 ▲0.17 | 2.44 ▲0.70 | 36.67 ▼5.68 |
Dashboard /wp-admin | 2,483 ▲295 | 6.33 ▲1.47 | 125.62 ▲17.52 | 94.62 ▲53.26 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.07 ▲0.06 | 39.50 ▲2.24 | 37.30 ▲4.80 |
Add New Post /wp-admin/post-new.php | 6,644 ▲5,101 | 24.34 ▲6.00 | 898.99 ▲289.09 | 42.43 ▼5.93 |
Media Library /wp-admin/upload.php | 1,436 ▲51 | 4.25 ▲0.06 | 96.18 ▼10.48 | 75.62 ▲30.14 |
Upgrade to Premium /wp-admin/edit.php?post_type=easy-opt-ins&page=eoi_premium_upgrade | 1,089 | 6.47 | 263.64 | 154.04 |
Add New /wp-admin/post-new.php?post_type=easy-opt-ins | 6,859 | 7.50 | 316.29 | 89.23 |
All Optin Forms /wp-admin/edit.php?post_type=easy-opt-ins | 1,261 | 2.17 | 37.96 | 41.38 |
Subscribers /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_subscribers_page | 969 | 1.68 | 26.01 | 26.01 |
Settings /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_settings_page | 1,253 | 3.26 | 89.59 | 42.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_fca_eoi_subscribers
- wp_fca_eoi_activity
- Zombie WordPress options detected upon uninstall: 9 options
- db_upgraded
- fca_eoi_settings
- widget_theysaidso_widget
- can_compress_scripts
- fca_eoi_subscribers_table_ver
- widget_recent-posts
- theysaidso_admin_options
- widget_easy-opt-in-widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 66× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant FCA_EOI_PLUGIN_DIR - assumed 'FCA_EOI_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/aweber-wp/layouts/common/layout_16/layout.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'FCA_EOI_PLUGIN_DIRincludes/eoi-layout.php' (include_path='.:/usr/share/php') in wp-content/plugins/aweber-wp/layouts/common/layout_2/layout.php on line 4
- > PHP Warning
require_once(FCA_EOI_PLUGIN_DIRincludes/eoi-layout.php): failed to open stream: No such file or directory in wp-content/plugins/aweber-wp/layouts/common/layout_2/layout.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'FCA_EOI_PLUGIN_DIRincludes/eoi-layout.php' (include_path='.:/usr/share/php') in wp-content/plugins/aweber-wp/layouts/common/layout_15/layout.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aweber-wp/includes/eoi-block.php:48
- > PHP Warning
Use of undefined constant FCA_EOI_PLUGIN_DIR - assumed 'FCA_EOI_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/aweber-wp/includes/eoi-functions.php on line 3
- > PHP Warning
require_once(FCA_EOI_PLUGIN_DIRincludes/eoi-layout.php): failed to open stream: No such file or directory in wp-content/plugins/aweber-wp/layouts/common/layout_1/layout.php on line 4
- > PHP Warning
require_once(FCA_EOI_PLUGIN_DIRincludes/eoi-layout.php): failed to open stream: No such file or directory in wp-content/plugins/aweber-wp/layouts/common/layout_5/layout.php on line 4
- > PHP Warning
require_once(FCA_EOI_PLUGIN_DIRincludes/eoi-layout.php): failed to open stream: No such file or directory in wp-content/plugins/aweber-wp/layouts/common/layout_5/layout.php on line 4
- > PHP Warning
Use of undefined constant FCA_EOI_PLUGIN_DIR - assumed 'FCA_EOI_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/aweber-wp/layouts/common/layout_0/layout.php on line 4
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_settings_page
- > Deprecation (warning) in unknown
/wp-content/plugins/aweber-wp/assets/vendor/wysi/wysihtml.min.js?ver=2.5.6 9 Listener added for a synchronous 'DOMNodeRemoved' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 97% 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 your attention:
- Screenshots: These screenshots require images: #1 (Examples of the Aweber form designs), #2 (The Aweber Opt-in Form Builder), #3 (Aweber Post Box), #4 (Aweber Popup), #5 (Another Aweber Post Box), #6 (Aweber Form Analytics), #7 (The whole settings screen)
aweber-wp/aweber-wp.php Passed 13 tests
The main PHP script in "AWeber Forms by Optin Cat" version 2.5.6 is automatically included on every request by WordPress
125 characters long description:
Aweber Optin Cat Helps You Get More Email Subscribers. Create Beautiful Campaign Monitor Opt-In Forms In Less Than 2 Minutes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected10,333 lines of code in 159 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 1,581 | 1,896 | 6,412 |
JavaScript | 34 | 421 | 189 | 1,951 |
CSS | 29 | 146 | 22 | 1,129 |
Sass | 20 | 106 | 0 | 534 |
HTML | 22 | 17 | 0 | 306 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 18.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 208.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 31 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 267 | |
▷ Static methods | 16 | 5.99% |
▷ Public methods | 213 | 79.78% |
▷ Protected methods | 21 | 7.87% |
▷ Private methods | 33 | 12.36% |
Functions | 49 | |
▷ Named functions | 49 | 100.00% |
▷ Anonymous functions | 0 | 0.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
68 compressed PNG files occupy 1.28MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
layouts/screenshots/layout_4.png | 10.90KB | 12.01KB | 0.00% |
layouts/screenshots/banner_11.png | 7.49KB | 8.32KB | 0.00% |
layouts/screenshots/postbox_8.png | 12.81KB | 14.64KB | 0.00% |
screenshot-1.png | 47.71KB | 50.86KB | 0.00% |
layouts/screenshots/layout_6.png | 10.59KB | 12.16KB | 0.00% |