Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.95MB] [CPU: ▼320.64ms] Passed 4 tests
This is a short check of server-side resources used by Capture and Convert
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.38 ▲1.86 | 30.13 ▼25.33 |
Dashboard /wp-admin | 5.33 ▲1.92 | 26.52 ▼6.77 |
Posts /wp-admin/edit.php | 5.33 ▲1.69 | 26.82 ▼9.81 |
Add New Post /wp-admin/post-new.php | 5.33 ▼1.64 | 25.08 ▼1,240.65 |
Media Library /wp-admin/upload.php | 5.33 ▲2.03 | 292.82 ▲267.93 |
Stats & Reports /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_dashboard | 5.33 | 27.19 |
All Widgets /wp-admin/admin.php?page=capture-and-convert-menu | 5.33 | 26.30 |
Social Integration /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_content_unlockers | 5.33 | 25.60 |
+ New Widget /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_new_widget | 5.33 | 26.25 |
Leads Integration /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_leads_integration | 5.33 | 24.84 |
Leads (0) /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection | 5.33 | 25.22 |
Server storage [IO: ▲14.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 757 new files
Database: 2 new tables, no new options
New tables |
---|
wp_wpsl_leads |
wp_wpsl_stats |
Browser metrics Passed 4 tests
An overview of browser requirements for Capture and Convert
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,201 ▲459 | 18.41 ▲2.42 | 9.49 ▲3.20 | 2.42 ▲0.26 |
Dashboard /wp-admin | 3,179 ▲318 | 7.76 ▲1.46 | 153.80 ▲21.22 | 161.70 ▼0.45 |
Posts /wp-admin/edit.php | 3,021 ▲327 | 5.40 ▲2.16 | 86.68 ▲21.66 | 142.63 ▲2.59 |
Add New Post /wp-admin/post-new.php | 1,709 ▼1 | 20.26 ▼0.53 | 385.76 ▼90.90 | 155.17 ▲6.78 |
Media Library /wp-admin/upload.php | 1,806 ▲108 | 6.37 ▲0.86 | 131.51 ▼18.33 | 192.31 ▼0.11 |
Stats & Reports /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_dashboard | 1,534 | 6.78 | 120.94 | 129.35 |
All Widgets /wp-admin/admin.php?page=capture-and-convert-menu | 1,577 | 5.15 | 77.73 | 121.59 |
Social Integration /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_content_unlockers | 1,391 | 5.19 | 75.77 | 125.55 |
+ New Widget /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_new_widget | 1,581 | 4.96 | 76.49 | 126.63 |
Leads Integration /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_leads_integration | 1,436 | 5.18 | 76.36 | 125.37 |
Leads (0) /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection | 1,396 | 5.19 | 74.38 | 115.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/capture-and-convert/libs/functions.php+237
Undefined variable: return
- The uninstall procedure failed, leaving 2 tables in the database
- wp_wpsl_leads
- wp_wpsl_stats
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection
- > Notice in wp-content/plugins/capture-and-convert/libs/functions.php+237
Undefined variable: return
- 78 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection
- > Notice in wp-content/plugins/capture-and-convert/libs/functions.php+546
Trying to access array offset on value of type bool
- 10812 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection
- > Notice in wp-content/plugins/capture-and-convert/libs/functions.php+942
Trying to access array offset on value of type null
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection
- > Notice in wp-content/plugins/capture-and-convert/index.php+234
Undefined index: wpsl_generate_lists
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection
- > Notice in wp-content/plugins/capture-and-convert/index.php+211
Undefined index: wpsl_license_key
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection
- > Notice in wp-content/plugins/capture-and-convert/admin/settings.php+547
Undefined index: wpsl_export
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_dashboard
- > Notice in wp-content/plugins/capture-and-convert/libs/stats_and_reports.php+255
Undefined index: widget_id
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_dashboard
- > Notice in wp-content/plugins/capture-and-convert/admin/stats_and_reports.php+53
Undefined index: widget
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu
- > Notice in wp-content/plugins/capture-and-convert/admin/settings.php+168
Undefined index: tab
SRP 0% 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
- 87× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/campaign/send_preview.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/subscriber/delete.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/template/delete.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/get_clients.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/client/get_drafts.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/list/deactivate_webhook.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/client/set_monthly_billing.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/campaign/create.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/client/set_payg_billing.php
- > /wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/campaign/send.php
- 257× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/capture-and-convert/libs/email_integrations/constantcontact/guzzlehttp/psr7/src/LazyOpenStream.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/capture-and-convert/libs/email_integrations/constantcontact/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php:4
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/capture-and-convert/libs/email_integrations/constantcontact/guzzlehttp/promises/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/capture-and-convert/libs/email_integrations/constantcontact/guzzlehttp/promises/tests/bootstrap.php on line 2
- > PHP Notice
Trying to get property 'FailureDetails' of non-object in wp-content/plugins/capture-and-convert/vendor/campaignmonitor/createsend-php/samples/subscriber/import.php on line 75
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/capture-and-convert/vendor/guzzlehttp/psr7/src/MultipartStream.php:10
- > PHP Fatal error
require_once(): Failed opening required 'GuzzleHelpers.php' (include_path='.:/usr/share/php') in wp-content/plugins/capture-and-convert/vendor/dripemail/drip-php/tests/ClientTest.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Ctct\\Components\\Component' not found in wp-content/plugins/capture-and-convert/libs/email_integrations/constantcontact/Ctct/Components/Tracking/BounceActivity.php:13
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/capture-and-convert/libs/email_integrations/activecampaign/Segment.class.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/capture-and-convert/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:10
- > PHP Warning
require(wp-content/plugins/capture-and-convert/libs/email_integrations/constantcontact/guzzlehttp/psr7/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/capture-and-convert/libs/email_integrations/constantcontact/guzzlehttp/psr7/tests/bootstrap.php on line 4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=capture-and-convert-menu&tab=wpsl_lead_collection
- > Javascript (severe) in unknown
/wp-content/plugins/capture-and-convert/admin/js/preview-template.js?ver=1.0.0 54:38 Uncaught ReferenceError: tinymce is not defined
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 your attention:
- Tags: There are too many tags (37 tag instead of maximum 10)
capture-and-convert/index.php 92% from 13 tests
This is the main PHP file of "Capture and Convert" version 1.4.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("capture-and-convert.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin65,443 lines of code in 571 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 443 | 8,383 | 16,600 | 36,960 |
SVG | 5 | 0 | 12 | 15,569 |
Markdown | 29 | 2,005 | 0 | 6,532 |
CSS | 7 | 486 | 189 | 2,407 |
JSON | 62 | 1 | 0 | 2,094 |
JavaScript | 5 | 545 | 176 | 1,224 |
INI | 3 | 108 | 0 | 365 |
XML | 6 | 16 | 2 | 127 |
YAML | 7 | 23 | 0 | 114 |
make | 3 | 14 | 0 | 38 |
Bourne Shell | 1 | 4 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 33 | |
Interfaces | 32 | |
Traits | 4 | |
Classes | 356 | |
▷ Abstract classes | 17 | 4.78% |
▷ Concrete classes | 339 | 95.22% |
▷ Final classes | 16 | 4.72% |
Methods | 2,675 | |
▷ Static methods | 164 | 6.13% |
▷ Public methods | 2,384 | 89.12% |
▷ Protected methods | 42 | 1.57% |
▷ Private methods | 249 | 9.31% |
Functions | 565 | |
▷ Named functions | 169 | 29.91% |
▷ Anonymous functions | 396 | 70.09% |
Constants | 154 | |
▷ Global constants | 60 | 38.96% |
▷ Class constants | 94 | 61.04% |
▷ Public constants | 94 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/like.png | 1.60KB | 1.52KB | ▼ 5.36% |
templates/lockers/Simple Dark/icon.png | 26.49KB | 9.87KB | ▼ 62.76% |
assets/images/tweet.png | 1.71KB | 1.45KB | ▼ 14.96% |
admin/images/icon.png | 1.40KB | 1.33KB | ▼ 4.68% |
templates/lockers/Simple Light/icon.png | 26.49KB | 9.87KB | ▼ 62.76% |