Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▲29.19ms] Passed 4 tests
Analyzing server-side resources used by Landing Page Cat - Coming Soon Page, Maintenance Page & Squeeze Pages
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 83.25 ▲39.77 |
Dashboard /wp-admin | 3.39 ▲0.08 | 83.50 ▲24.45 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 83.01 ▲29.03 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 121.55 ▲23.51 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 86.76 ▲46.36 |
Subscribers /wp-admin/edit.php?post_type=landingpage&page=fca_lpc_subscribers_page | 3.28 | 75.42 |
Settings /wp-admin/edit.php?post_type=landingpage&page=fca_lpc_license_page | 3.28 | 75.08 |
Add New /wp-admin/post-new.php?post_type=landingpage | 3.44 | 93.25 |
All Landing Pages /wp-admin/edit.php?post_type=landingpage | 3.35 | 77.04 |
Upgrade to Premium /wp-admin/edit.php?post_type=landingpage&page=landing-page-cat-upgrade | 3.18 | 67.58 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 96 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_fca_lpc_subscribers |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
fca_lpc_gdpr_compatible |
can_compress_scripts |
widget_theysaidso_widget |
fca_lpc_license_status |
fca_lpc_meta_version |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Landing Page Cat - Coming Soon Page, Maintenance Page & Squeeze Pages
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.21 ▼1.37 | 1.73 ▼0.15 | 43.63 ▼1.29 |
Dashboard /wp-admin | 2,239 ▲54 | 4.94 ▲0.04 | 119.39 ▼24.29 | 83.16 ▲27.97 |
Posts /wp-admin/edit.php | 2,235 ▲146 | 2.03 ▲0.04 | 39.27 ▼6.41 | 33.32 ▼4.67 |
Add New Post /wp-admin/post-new.php | 1,708 ▲194 | 20.48 ▲2.97 | 709.29 ▲55.79 | 56.54 ▼0.84 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 4.15 ▼0.03 | 117.56 ▲6.39 | 53.45 ▲6.78 |
Subscribers /wp-admin/edit.php?post_type=landingpage&page=fca_lpc_subscribers_page | 873 | 2.03 | 27.25 | 28.40 |
Settings /wp-admin/edit.php?post_type=landingpage&page=fca_lpc_license_page | 1,159 | 3.29 | 73.41 | 46.62 |
Add New /wp-admin/post-new.php?post_type=landingpage | 4,612 | 8.44 | 266.66 | 95.08 |
All Landing Pages /wp-admin/edit.php?post_type=landingpage | 1,106 | 1.95 | 32.98 | 30.20 |
Upgrade to Premium /wp-admin/edit.php?post_type=landingpage&page=landing-page-cat-upgrade | 1,782 | 12.57 | 572.21 | 246.79 |
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
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_fca_lpc_subscribers
- The uninstall procedure has failed, leaving 9 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- fca_lpc_license_status
- fca_lpc_gdpr_compatible
- fca_lpc_meta_version
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/landing-page-cat/languages/index.php
- > /wp-content/plugins/landing-page-cat/landing-page-cat.php
- 51× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant FCA_LPC_PLUGIN_DIR - assumed 'FCA_LPC_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/landing-page-cat/includes/editor/editor.php on line 15
- > PHP Warning
Use of undefined constant FCA_LPC_PLUGIN_DIR - assumed 'FCA_LPC_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/landing-page-cat/includes/editor/editor.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/landing-page-cat/includes/providers/drip.php:122
- > PHP Warning
include_once(FCA_LPC_PLUGIN_DIR/includes/providers/aweber.php): failed to open stream: No such file or directory in wp-content/plugins/landing-page-cat/includes/editor/editor.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/landing-page-cat/includes/providers/madmimi.php:116
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/landing-page-cat/includes/providers/campaignmonitor.php:111
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/landing-page-cat/includes/providers/aweber_api/aweber_entry.php:3
- > PHP Warning
Use of undefined constant FCA_LPC_PLUGIN_DIR - assumed 'FCA_LPC_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/landing-page-cat/includes/editor/editor.php on line 8
- > PHP Warning
include_once(): Failed opening 'FCA_LPC_PLUGIN_DIR/includes/providers/convertkit.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/landing-page-cat/includes/editor/editor.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/landing-page-cat/includes/providers/activecampaign.php:122
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=landingpage
- > Deprecation (warning) in unknown
/wp-content/plugins/landing-page-cat/includes/wysi/wysihtml.min.js?ver=1.7.2 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 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (A landing page built with Landing Page Cat.), #2 (Another example of a landing page built with Landing Page Cat.), #3 (Another example of a landing page built with Landing Page Cat.), #4 (Another example of a landing page built with Landing Page Cat.)
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
landing-page-cat/landing-page-cat.php Passed 13 tests
The principal PHP file in "Landing Page Cat - Coming Soon Page, Maintenance Page & Squeeze Pages" v. 1.7.2 is loaded by WordPress automatically on each request
44 characters long description:
Provides an easy way to create landing pages
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin8,150 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 1,633 | 3,616 | 5,997 |
JavaScript | 13 | 196 | 97 | 1,006 |
CSS | 13 | 92 | 14 | 769 |
Markdown | 5 | 140 | 0 | 341 |
JSON | 1 | 1 | 0 | 37 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 44 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 307 | |
▷ Static methods | 4 | 1.30% |
▷ Public methods | 283 | 92.18% |
▷ Protected methods | 21 | 6.84% |
▷ Private methods | 3 | 0.98% |
Functions | 118 | |
▷ Named functions | 118 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.29MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/icon-128x128.png | 21.67KB | 6.36KB | ▼ 70.66% |
icons/icon.png | 0.73KB | 0.60KB | ▼ 17.38% |
screenshot-1.png | 69.49KB | 75.12KB | 0.00% |
screenshot-2.png | 59.94KB | 64.99KB | 0.00% |
screenshot-4.png | 15.19KB | 16.24KB | 0.00% |