67% smartcrawl-seo

Code Review | SmartCrawl WordPress SEO checker, SEO analyzer, SEO optimizer

WordPress plugin SmartCrawl WordPress SEO checker, SEO analyzer, SEO optimizer scored67%from 54 tests.

About plugin

  • Plugin page: smartcrawl-seo
  • Plugin version: 3.8.3
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.4
  • WordPress version: 6.3.1
  • First release: Feb 12, 2018
  • Latest release: Nov 20, 2023
  • Number of updates: 119
  • Update frequency: every 17.7 days
  • Top authors: khaxan (47.06%)joelcj91 (36.13%)jdailey (12.61%)panoslyrakis (3.36%)rickjc89 (3.36%)

Code review

54 tests

User reviews

164 reviews

Install metrics

20,000+ active /992,016 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲4.47MB] [CPU: ▲28.86ms] 75% from 4 tests

A check of server-side resources used by SmartCrawl WordPress SEO checker, SEO analyzer, SEO optimizer
Please have a look at the following items
  • CPU: Total CPU usage should be kept under 500.00ms (currently 698.50ms on /wp-admin/admin.php?page=wds_social)
PageMemory (MB)CPU Time (ms)
Home /7.19 ▲3.7265.02 ▲21.25
Dashboard /wp-admin7.94 ▲4.5987.26 ▲23.85
Posts /wp-admin/edit.php8.32 ▲4.9692.27 ▲42.25
Add New Post /wp-admin/post-new.php10.76 ▲4.87130.97 ▲35.93
Media Library /wp-admin/upload.php7.92 ▲4.6869.61 ▲34.42
Dashboard /wp-admin/admin.php?page=wds_wizard9.0983.39
Advanced Tools /wp-admin/admin.php?page=wds_autolinks7.9974.33
Title & Meta /wp-admin/admin.php?page=wds_onpage8.72113.74
Settings /wp-admin/admin.php?page=wds_settings8.3168.37
Schema /wp-admin/admin.php?page=wds_schema8.1376.28
SEO Health /wp-admin/admin.php?page=wds_health8.8875.32
SmartCrawl Pro /wp-admin/admin.php?page=wds_upgrade7.8459.83
Sitemaps /wp-admin/admin.php?page=wds_sitemap8.2480.49
Social /wp-admin/admin.php?page=wds_social8.13698.50

Server storage [IO: ▲14.76MB] [DB: ▲0.01MB] Passed 3 tests

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 1,326 new files
Database: 1 new table, 18 new options
New tables
wp_smartcrawl_redirects
New WordPress options
can_compress_scripts
widget_recent-comments
wds-features-viewed
wds_onpage_options
wds_version
wds-sitemap-rewrite-rules-flushed
widget_theysaidso_widget
wds_settings_options
wds_autolinks_options
wds_social_options
...

Browser metrics Passed 4 tests

A check of browser resources used by SmartCrawl WordPress SEO checker, SEO analyzer, SEO optimizer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,076 ▲32914.39 ▲0.131.59 ▼0.0729.12 ▼15.65
Dashboard /wp-admin2,454 ▲2775.67 ▲0.05100.24 ▼0.7748.58 ▲2.68
Posts /wp-admin/edit.php2,484 ▲3843.50 ▲1.4884.61 ▲45.4049.23 ▲17.39
Add New Post /wp-admin/post-new.php2,251 ▲71521.39 ▼1.63722.84 ▲49.63130.63 ▲71.58
Media Library /wp-admin/upload.php1,535 ▲1384.20 ▼0.01102.87 ▼4.5746.39 ▼1.28
Dashboard /wp-admin/admin.php?page=wds_wizard2,6314.0080.91134.72
Advanced Tools /wp-admin/admin.php?page=wds_autolinks1,8364.89189.3555.66
Title & Meta /wp-admin/admin.php?page=wds_onpage12,8687.70342.9856.44
Settings /wp-admin/admin.php?page=wds_settings2,6005.49173.3457.97
Schema /wp-admin/admin.php?page=wds_schema3,5406.86269.5364.30
SEO Health /wp-admin/admin.php?page=wds_health2,1795.08159.7348.05
SmartCrawl Pro /wp-admin/admin.php?page=wds_upgrade1,3553.2148.3975.98
Sitemaps /wp-admin/admin.php?page=wds_sitemap3,0724.88152.1850.15
Social /wp-admin/admin.php?page=wds_social1,78314.62246.4653.10

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie tables detected upon uninstall: 1 table
    • wp_smartcrawl_redirects
  • The uninstall procedure has failed, leaving 18 options in the database
    • wds_schema_options
    • widget_recent-comments
    • wds_settings_options
    • wds_lighthouse_options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • wds-sitemap-rewrite-rules-flushed
    • ...

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
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 13× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/term/term-nav.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/sitemap/sitemap-url-crawler-tab-title-right.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/vertical-tabs-side-nav.php
    • > /wp-content/plugins/smartcrawl-seo/vendor_prefixed/mobiledetect/mobiledetectlib/export/exportToJSON.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/sitemap/sitemap-notices.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/before-page-container.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/advanced-tools/advanced-section-redirects.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/onpage/onpage-general-settings-inner.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/links-dropdown.php
    • > /wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/macros-dropdown.php
  • 423× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'SmartCrawl\\Settings' not found in wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/dashboard/dashboard-widget-content-analysis.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'SmartCrawl\\Sitemaps\\Query' not found in wp-content/plugins/smartcrawl-seo/includes/core/sitemaps/general/query/class-bp-profile.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_get_nav_menus() in wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/schema/schema-nav-menus-dropdown-form-field.php:10
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/sitemap/sitemap-buddypress-settings.php:5
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/lighthouse/lighthouse-reporting-tab.php:7
    • > PHP Notice
      Undefined variable: show_title in wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/post-list/quick-edit-onpage.php on line 15
    • > PHP Fatal error
      Uncaught Error: Class 'SmartCrawl\\Entities\\Entity_With_Archive' not found in wp-content/plugins/smartcrawl-seo/includes/core/entities/class-date-archive.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'SmartCrawl\\Admin\\Settings\\Sitemap' not found in wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/sitemap/sitemap-no-crawler-data.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/smartcrawl-seo/includes/core/admin/templates/post-search-dropdown-form-field.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'SmartCrawl\\Checks\\Check' not found in wp-content/plugins/smartcrawl-seo/includes/core/checks/class-subheadings-keywords.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (Use SEO Checkup for suggestions on improving search results.) image required
  • Tags: Please delete some tags, you are using 19 tag instead of maximum 10
You can take inspiration from this readme.txt

smartcrawl-seo/wpmu-dev-seo.php 92% from 13 tests

"SmartCrawl WordPress SEO checker, SEO analyzer, SEO optimizer" version 3.8.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("smartcrawl-seo.php" instead of "wpmu-dev-seo.php")

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
No dangerous file extensions were detected464,676 lines of code in 1,249 files:
LanguageFilesBlank linesComment linesLines of code
TeX74396,889361,902
PHP57910,11517,90660,567
JavaScript4063,56865540,013
SVG17309892
C111825668
Markdown3830286
CSS8184120
XML250109
JSON10079
m418032
C/C++ Header14128

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity16.52
▷ Minimum class complexity1.00
▷ Maximum class complexity249.00
Average method complexity2.55
▷ Minimum method complexity1.00
▷ Maximum method complexity66.00
Code structure
Namespaces51
Interfaces3
Traits1
Classes305
▷ Abstract classes278.85%
▷ Concrete classes27891.15%
▷ Final classes10.36%
Methods3,137
▷ Static methods1926.12%
▷ Public methods1,88960.22%
▷ Protected methods48415.43%
▷ Private methods76424.35%
Functions116
▷ Named functions7766.38%
▷ Anonymous functions3933.62%
Constants408
▷ Global constants5212.75%
▷ Class constants35687.25%
▷ Public constants34095.51%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
45 PNG files occupy 0.21MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/external/free-dashboard/assets/images/giveaway/form/beehive@2x.png8.42KB3.96KB▼ 52.98%
includes/external/free-dashboard/assets/images/giveaway/form/defender.png4.24KB2.41KB▼ 43.20%
includes/assets/images/plugins-smartcrawl-icon@2x.png3.39KB1.68KB▼ 50.60%
includes/assets/images/wpmudev-white.png2.02KB1.29KB▼ 36.32%
includes/assets/images/select-arrow.png0.30KB0.21KB▼ 30.19%