Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.49MB] [CPU: ▲5.06ms] Passed 4 tests
An overview of server-side resources used by SEO Landing Page Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.56 ▲1.10 | 45.44 ▲9.22 |
Dashboard /wp-admin | 4.94 ▲1.59 | 59.47 ▼0.46 |
Posts /wp-admin/edit.php | 5.00 ▲1.64 | 55.98 ▲9.66 |
Add New Post /wp-admin/post-new.php | 7.50 ▲1.61 | 103.01 ▲1.81 |
Media Library /wp-admin/upload.php | 4.88 ▲1.65 | 50.79 ▲14.34 |
Edit State /wp-admin/admin.php?page=issslpg-edit-state | 4.83 | 49.39 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 5.21 | 44.31 |
Edit County /wp-admin/admin.php?page=issslpg-edit-county | 4.83 | 42.95 |
Category /wp-admin/edit-tags.php?taxonomy=issslpg-template-category&post_type=issslpg-template | 4.87 | 44.12 |
Edit City /wp-admin/admin.php?page=issslpg-edit-city | 4.83 | 47.97 |
Add New /wp-admin/post-new.php?post_type=issslpg-landing-page | 5.21 | 65.46 |
Template Pages /wp-admin/edit.php?post_type=issslpg-template | 5.00 | 64.60 |
Add New /wp-admin/post-new.php?post_type=issslpg-template | 5.13 | 66.14 |
Landing Pages /wp-admin/edit.php?post_type=issslpg-landing-page | 4.97 | 48.18 |
Server storage [IO: ▲9.54MB] [DB: ▲0.12MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 1,220 new files
Database: 18 new tables, 23 new options
New tables |
---|
wp_issslpg_zip_codes |
wp_issslpg_state_demographics |
wp_issslpg_city_zip_code |
wp_issslpg_city_data |
wp_issslpg_countries |
wp_issslpg_states |
wp_issslpg_logs |
wp_issslpg_city_demographics |
wp_issslpg_scheduled_landing_page_updates |
wp_issslpg_state_data |
... |
New WordPress options |
---|
issslpg_next_beat |
iss_debug_settings |
widget_recent-comments |
widget_issslpg_admin_cities_in_county_widget |
widget_issslpg_admin_zip_codes_widget |
issslpg_settings |
issscr_settings |
theysaidso_admin_options |
issslpg_original_installation_version |
fs_active_plugins |
... |
Browser metrics Passed 4 tests
SEO Landing Page Generator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲197 | 13.57 ▼0.81 | 1.86 ▲0.14 | 33.04 ▼9.46 |
Dashboard /wp-admin | 2,343 ▲157 | 5.33 ▲0.40 | 107.74 ▲4.38 | 44.74 ▲4.48 |
Posts /wp-admin/edit.php | 2,230 ▲144 | 2.61 ▲0.63 | 37.11 ▲2.19 | 32.90 ▼4.05 |
Add New Post /wp-admin/post-new.php | 1,626 ▲105 | 18.45 ▼5.06 | 639.47 ▼29.30 | 34.71 ▼18.62 |
Media Library /wp-admin/upload.php | 1,525 ▲143 | 4.66 ▲0.38 | 109.41 ▲4.20 | 48.41 ▲4.67 |
Edit State /wp-admin/admin.php?page=issslpg-edit-state | 941 | 2.29 | 29.31 | 34.06 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,197 | 2.14 | 28.09 | 26.17 |
Edit County /wp-admin/admin.php?page=issslpg-edit-county | 941 | 2.13 | 29.82 | 33.30 |
Category /wp-admin/edit-tags.php?taxonomy=issslpg-template-category&post_type=issslpg-template | 1,401 | 2.26 | 31.61 | 32.87 |
Edit City /wp-admin/admin.php?page=issslpg-edit-city | 944 | 2.11 | 28.37 | 30.85 |
Add New /wp-admin/post-new.php?post_type=issslpg-landing-page | 3,421 | 7.97 | 159.81 | 157.40 |
Template Pages /wp-admin/edit.php?post_type=issslpg-template | 1,828 | 2.65 | 39.11 | 39.10 |
Add New /wp-admin/post-new.php?post_type=issslpg-template | 3,164 | 8.29 | 174.53 | 159.00 |
Landing Pages /wp-admin/edit.php?post_type=issslpg-landing-page | 1,233 | 2.58 | 37.51 | 40.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/seo-landing-page-generator/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The plugin did not uninstall successfully, leaving 16 tables in the database
- wp_issslpg_state_demographics
- wp_issslpg_county_data
- wp_issslpg_scheduled_landing_page_updates
- wp_issslpg_country_data
- wp_issslpg_excluded_county_template_pages
- wp_issslpg_state_data
- wp_issslpg_counties
- wp_issslpg_city_zip_code
- wp_issslpg_logs
- wp_issslpg_download_queue
- ...
- This plugin does not fully uninstall, leaving 23 options in the database
- widget_issslpg_admin_zip_codes_widget
- can_compress_scripts
- widget_issslpg_admin_directions_map_widget
- fs_active_plugins
- widget_issslpg_admin_related_landing_pages_widget
- db_upgraded
- issscr_settings
- theysaidso_admin_options
- issslpg_seed_download_queue_with_demographics_slots
- issslpg_original_installation_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/seo-landing-page-generator/public/partials/issslpg-public-display.php
- > /wp-content/plugins/seo-landing-page-generator/admin/partials/issslpg-admin-display.php
- 294× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WeDevs\\ORM\\Eloquent\\Model' not found in wp-content/plugins/seo-landing-page-generator/includes/models/class-country.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/seo-landing-page-generator/vendor/symfony/translation/Tests/Dumper/CsvFileDumperTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/seo-landing-page-generator/vendor/illuminate/support/Facades/Redirect.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/seo-landing-page-generator/admin/widgets/class-issslpg-admin-map-widget.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' not found in wp-content/plugins/seo-landing-page-generator/vendor/symfony/translation/DependencyInjection/TranslationDumperPass.php:21
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/seo-landing-page-generator/vendor/symfony/translation/Tests/MessageSelectorTest.php:17
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Database\\Grammar' not found in wp-content/plugins/seo-landing-page-generator/vendor/illuminate/database/Schema/Grammars/Grammar.php:15
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\PluralizationRules' not found in wp-content/plugins/seo-landing-page-generator/vendor/nesbot/carbon/src/Carbon/Lang/sh.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Illuminate\\Contracts\\Pagination\\Paginator' not found in wp-content/plugins/seo-landing-page-generator/vendor/illuminate/contracts/Pagination/LengthAwarePaginator.php:3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/seo-landing-page-generator/vendor/symfony/translation/Tests/PluralizationRulesTest.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5 in seo-landing-page-generator/assets to your readme.txt
seo-landing-page-generator/seo-landing-page-generator.php 92% from 13 tests
The primary PHP file in "SEO Landing Page Generator" version 1.64.5 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 95% from 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 plugin152,496 lines of code in 975 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 700 | 20,753 | 50,425 | 83,709 |
PO File | 126 | 14,322 | 18,502 | 32,360 |
JavaScript | 21 | 2,320 | 1,686 | 11,226 |
CSS | 39 | 454 | 1,378 | 7,757 |
JSON | 18 | 0 | 0 | 5,304 |
XSD | 4 | 99 | 76 | 4,991 |
SQL | 2 | 0 | 0 | 2,783 |
Markdown | 14 | 873 | 0 | 2,223 |
Sass | 17 | 305 | 29 | 1,407 |
XML | 18 | 9 | 4 | 350 |
LESS | 8 | 179 | 70 | 298 |
SVG | 2 | 0 | 0 | 70 |
Qt Linguist | 1 | 0 | 0 | 10 |
YAML | 4 | 0 | 0 | 7 |
INI | 1 | 0 | 0 | 1 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 157)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 17.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 157.00 |
Code structure | ||
---|---|---|
Namespaces | 84 | |
Interfaces | 80 | |
Traits | 5 | |
Classes | 469 | |
▷ Abstract classes | 31 | 6.61% |
▷ Concrete classes | 438 | 93.39% |
▷ Final classes | 1 | 0.23% |
Methods | 5,904 | |
▷ Static methods | 832 | 14.09% |
▷ Public methods | 4,672 | 79.13% |
▷ Protected methods | 719 | 12.18% |
▷ Private methods | 513 | 8.69% |
Functions | 344 | |
▷ Named functions | 228 | 66.28% |
▷ Anonymous functions | 116 | 33.72% |
Constants | 256 | |
▷ Global constants | 109 | 42.58% |
▷ Class constants | 147 | 57.42% |
▷ Public constants | 147 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
21 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/plugins/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/plugins/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/plugins/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
admin/plugins/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
admin/plugins/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |