78% super-sitemap-for-seo

Code Review | Super Sitemap for SEO

WordPress plugin Super Sitemap for SEO scored 78% from 54 tests.

About plugin

  • Plugin page: super-sitemap-for...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6.39+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 6.3.1
  • First release: Jul 7, 2021
  • Latest release: Jan 24, 2022
  • Number of updates: 5
  • Update frequency: every 40.4 days
  • Top authors: GSFede (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

60+ active / 850 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲1.58MB] [CPU: ▲5.02ms] Passed 4 tests

An overview of server-side resources used by Super Sitemap for SEO
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /5.04 ▲1.5848.48 ▲2.63
Dashboard /wp-admin4.89 ▲1.5955.90 ▲4.44
Posts /wp-admin/edit.php5.00 ▲1.6563.78 ▲19.25
Add New Post /wp-admin/post-new.php7.49 ▲1.6093.51 ▲0.32
Media Library /wp-admin/upload.php4.79 ▲1.5649.56 ▲12.69
Super Sitemap for SEO /wp-admin/admin.php?page=super-sitemap-for-seo4.8148.89

Server storage [IO: ▲8.67MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 582 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
ss4seo_custom_taxs
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Super Sitemap for SEO: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,086 ▲32918.42 ▲4.051.76 ▼0.4638.84 ▼4.82
Dashboard /wp-admin2,489 ▲3049.15 ▲4.24174.37 ▲58.3039.71 ▼9.87
Posts /wp-admin/edit.php2,403 ▲3176.27 ▲4.2788.08 ▲53.1036.87 ▲0.86
Add New Post /wp-admin/post-new.php1,589 ▲5619.81 ▼3.67695.35 ▲17.5651.20 ▼3.03
Media Library /wp-admin/upload.php1,559 ▲1716.70 ▲2.42109.17 ▲5.1941.52 ▼3.49
Super Sitemap for SEO /wp-admin/admin.php?page=super-sitemap-for-seo1,4726.71108.0949.22

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • ss4seo_custom_taxs
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

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 fix the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/super-sitemap-for-seo/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
  • 212× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/super-sitemap-for-seo/vendor/htmlburger/carbon-fields/core/Container/Theme_Options_Container.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/super-sitemap-for-seo/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Event\\PersistentListener' not found in wp-content/plugins/super-sitemap-for-seo/vendor/htmlburger/carbon-fields/core/Event/SingleEventListener.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/super-sitemap-for-seo/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/super-sitemap-for-seo/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/super-sitemap-for-seo/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'Carbon_Fields\\Container\\Fulfillable\\Fulfillable' not found in wp-content/plugins/super-sitemap-for-seo/vendor/htmlburger/carbon-fields/core/Container/Condition/Condition.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/super-sitemap-for-seo/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/super-sitemap-for-seo/vendor/htmlburger/carbon-fields/core/Service/Revisions_Service.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/super-sitemap-for-seo/vendor/htmlburger/carbon-fields/core/Container/Term_Meta_Container.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
The official readme.txt is a good inspiration

super-sitemap-for-seo/super-sitemap-for-seo.php 92% from 13 tests

The primary PHP file in "Super Sitemap for SEO" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 170 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin31,197 lines of code in 524 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1715,1888,45912,933
PHP2603,1107,62211,664
PO File278391,0492,286
Sass4833901,769
CSS73251,1391,662
JSON500697
YAML3303118
Markdown324068

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity5.77
▷ Minimum class complexity1.00
▷ Maximum class complexity72.00
Average method complexity2.07
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces25
Interfaces5
Traits0
Classes232
▷ Abstract classes125.17%
▷ Concrete classes22094.83%
▷ Final classes10.45%
Methods1,048
▷ Static methods11611.07%
▷ Public methods82979.10%
▷ Protected methods19918.99%
▷ Private methods201.91%
Functions114
▷ Named functions2521.93%
▷ Anonymous functions8978.07%
Constants33
▷ Global constants618.18%
▷ Class constants2781.82%
▷ Public constants27100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin