Benchmarks
Plugin footprint 65% 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.13MB] [CPU: ▼0.44ms] Passed 4 tests
A check of server-side resources used by Campaign Monitor Forms by Optin Cat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 44.24 ▲4.30 |
Dashboard /wp-admin | 3.44 ▲0.13 | 50.04 ▲3.40 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.03 ▼2.93 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.16 ▼1.48 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 34.79 ▼0.74 |
Add New /wp-admin/post-new.php?post_type=easy-opt-ins | 6.45 | 73.80 |
Settings /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_settings_page | 3.32 | 35.07 |
Upgrade to Premium /wp-admin/edit.php?post_type=easy-opt-ins&page=eoi_premium_upgrade | 3.15 | 25.09 |
All Optin Forms /wp-admin/edit.php?post_type=easy-opt-ins | 3.39 | 37.69 |
Subscribers /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_subscribers_page | 3.32 | 34.33 |
Server storage [IO: ▲3.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 270 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_fca_eoi_subscribers |
wp_fca_eoi_activity |
New WordPress options |
---|
widget_recent-comments |
fca_eoi_subscribers_table_ver |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_easy-opt-in-widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
fca_eoi_settings |
fca_eoi_allow_customform |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Campaign Monitor Forms by Optin Cat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,097 ▲362 | 14.66 ▲0.13 | 2.52 ▲0.81 | 44.27 ▲4.18 |
Dashboard /wp-admin | 2,501 ▲313 | 6.26 ▲0.39 | 120.97 ▲17.30 | 88.62 ▲46.06 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.06 ▲0.06 | 40.12 ▲4.79 | 36.39 ▲2.83 |
Add New Post /wp-admin/post-new.php | 6,635 ▲5,107 | 22.16 ▲3.83 | 843.42 ▲220.65 | 37.03 ▼13.02 |
Media Library /wp-admin/upload.php | 1,442 ▲57 | 4.15 ▼0.03 | 95.12 ▼1.22 | 74.95 ▲30.29 |
Add New /wp-admin/post-new.php?post_type=easy-opt-ins | 6,861 | 7.25 | 293.49 | 174.10 |
Settings /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_settings_page | 1,249 | 3.26 | 69.71 | 44.19 |
Upgrade to Premium /wp-admin/edit.php?post_type=easy-opt-ins&page=eoi_premium_upgrade | 1,089 | 6.33 | 277.11 | 147.44 |
All Optin Forms /wp-admin/edit.php?post_type=easy-opt-ins | 1,261 | 2.17 | 35.79 | 37.96 |
Subscribers /wp-admin/edit.php?post_type=easy-opt-ins&page=fca_eoi_subscribers_page | 951 | 1.73 | 28.65 | 27.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_fca_eoi_subscribers
- wp_fca_eoi_activity
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- widget_easy-opt-in-widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- fca_eoi_settings
- can_compress_scripts
- widget_theysaidso_widget
- fca_eoi_subscribers_table_ver
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
Everything seems fine, however this is by no means an exhaustive test
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 fix the following items
- 62× 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/campaign-monitor-wp/includes/eoi-powerups.php on line 7
- > PHP Warning
require_once(FCA_EOI_PLUGIN_DIRincludes/eoi-layout.php): failed to open stream: No such file or directory in wp-content/plugins/campaign-monitor-wp/layouts/common/layout_15/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/campaign-monitor-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/campaign-monitor-wp/layouts/common/layout_16/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/campaign-monitor-wp/layouts/common/layout_16/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/campaign-monitor-wp/layouts/common/layout_1/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/campaign-monitor-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/campaign-monitor-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/campaign-monitor-wp/layouts/common/layout_2/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/campaign-monitor-wp/layouts/common/layout_5/layout.php on line 4
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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/campaign-monitor-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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Examples of the Campaign Monitor form designs), #2 (The Campaign Monitor Opt-in Form Builder), #3 (Campaign Monitor Post Box), #4 (Campaign Monitor Popup), #5 (Another Campaign Monitor Post Box), #6 (Campaign Monitor Analytics), #7 (The whole settings screen)
campaign-monitor-wp/campaign-monitor-wp.php Passed 13 tests
The main PHP file in "Campaign Monitor Forms by Optin Cat" ver. 2.5.6 adds more information about the plugin and also serves as the entry point for this plugin
135 characters long description:
Campaign Monitor 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 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin11,583 lines of code in 174 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 64 | 1,901 | 3,954 | 7,321 |
JavaScript | 34 | 407 | 188 | 1,896 |
CSS | 27 | 145 | 22 | 1,102 |
Sass | 20 | 106 | 0 | 534 |
Markdown | 4 | 155 | 0 | 365 |
HTML | 22 | 17 | 0 | 306 |
JSON | 2 | 0 | 0 | 41 |
YAML | 1 | 2 | 0 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 208.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 43 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 355 | |
▷ Static methods | 16 | 4.51% |
▷ Public methods | 318 | 89.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 37 | 10.42% |
Functions | 52 | |
▷ Named functions | 52 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 42 | |
▷ Global constants | 42 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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/postbox_4.png | 14.62KB | 16.10KB | 0.00% |
layouts/screenshots/lightbox_22.png | 79.30KB | 85.93KB | 0.00% |
assets/admin/onboarding-arrow.png | 0.83KB | 1.04KB | 0.00% |
layouts/screenshots/lightbox_16.png | 12.70KB | 14.29KB | 0.00% |
layouts/screenshots/postbox_22.png | 59.73KB | 64.53KB | 0.00% |