83% seo-tile-of-tag

Code Review | SEO tile of tags - плитка тегов (есть дополнение для filter woocommerce seo url ЧПУ)

WordPress plugin SEO tile of tags - плитка тегов (есть дополнение для filter woocommerce seo url ЧПУ) scored83%from 54 tests.

About plugin

  • Plugin page: seo-tile-of-tag
  • Plugin version: 1.0.7.8
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Feb 21, 2020
  • Latest release: Jun 21, 2021
  • Number of updates: 34
  • Update frequency: every 14.3 days
  • Top authors: superdok (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,327 total downloads

Benchmarks

Plugin footprint 83% 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: ▲0.02MB] [CPU: ▼13.18ms] Passed 4 tests

Server-side resources used by SEO tile of tags - плитка тегов (есть дополнение для filter woocommerce seo url ЧПУ)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.74 ▼8.19
Dashboard /wp-admin3.34 ▼0.0149.36 ▼20.37
Posts /wp-admin/edit.php3.39 ▲0.0348.26 ▼3.97
Add New Post /wp-admin/post-new.php5.92 ▲0.0386.05 ▼20.17
Media Library /wp-admin/upload.php3.26 ▲0.0336.08 ▼1.17
Плитка тегов /wp-admin/options-general.php?page=tagtile3.3934.51

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 273 new files
Database: 1 new table, 11 new options
New tables
wp_tagtile_links_page
New WordPress options
can_compress_scripts
tagtile_rel_active_color
db_upgraded
tagtile_border_hover_color
widget_recent-posts
widget_theysaidso_widget
tagtile_rel_hover_color
tagtile_status
theysaidso_admin_options
widget_recent-comments
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for SEO tile of tags - плитка тегов (есть дополнение для filter woocommerce seo url ЧПУ)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.24 ▲0.071.70 ▲0.0844.10 ▲1.64
Dashboard /wp-admin2,199 ▲255.62 ▲0.0587.78 ▼4.8741.31 ▲0.61
Posts /wp-admin/edit.php2,107 ▲41.99 ▼0.0040.01 ▼0.0833.50 ▼3.76
Add New Post /wp-admin/post-new.php1,529 ▲123.04 ▼0.03679.21 ▲34.3353.59 ▲1.29
Media Library /wp-admin/upload.php1,401 ▲14.14 ▼0.0697.48 ▼4.1642.11 ▼4.29
Плитка тегов /wp-admin/options-general.php?page=tagtile9272.1227.3933.99

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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% 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
Please take a closer look at the following
  • 104× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'PHPExcel_IComparable' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Worksheet/BaseDrawing.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'PHPExcel_Style_Supervisor' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Style/NumberFormat.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'PHPExcel_Writer_OpenDocument_WriterPart' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Writer/OpenDocument/Content.php:37
    • > PHP Warning
      require_once(PHPEXCEL_ROOTPHPExcel/Shared/trend/bestFitClass.php): failed to open stream: No such file or directory in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Shared/trend/polynomialBestFitClass.php on line 3
    • > PHP Fatal error
      Uncaught Error: Class 'PHPExcel_Exception' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Writer/Exception.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'PHPExcel_Settings' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Writer/PDF/DomPDF.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'PHPExcel_Style_Supervisor' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Style/Font.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'PHPExcel_Worksheet_CellIterator' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Worksheet/ColumnCellIterator.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'PHPExcel_Style_Supervisor' not found in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Style/Fill.php:28
    • > PHP Warning
      Use of undefined constant PHPEXCEL_ROOT - assumed 'PHPEXCEL_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-tile-of-tag/system/PHPExcel/Classes/PHPExcel/Autoloader.php on line 70

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: tags tile, custom links tile, seo tags tile

seo-tile-of-tag/tag-tile.php 77% from 13 tests

The primary PHP file in "SEO tile of tags - плитка тегов (есть дополнение для filter woocommerce seo url ЧПУ)" version 1.0.7.8 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-tile-of-tag.php" instead of "tag-tile.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
  • Plugin Name: Please don't use more than 70 characters for the plugin name (currently 77 characters long)

Code Analysis 95% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin55,877 lines of code in 229 files:
LanguageFilesBlank linesComment linesLines of code
PHP22710,12534,04355,584
CSS2103293

PHP code 0% from 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
  • Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,019)
  • Method cyclomatic complexity should be reduced to less than 100 (currently 387)
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity46.29
▷ Minimum class complexity1.00
▷ Maximum class complexity1,019.00
Average method complexity4.50
▷ Minimum method complexity1.00
▷ Maximum method complexity387.00
Code structure
Namespaces0
Interfaces7
Traits0
Classes211
▷ Abstract classes104.74%
▷ Concrete classes20195.26%
▷ Final classes00.00%
Methods2,838
▷ Static methods62922.16%
▷ Public methods2,23978.89%
▷ Protected methods873.07%
▷ Private methods51218.04%
Functions16
▷ Named functions1593.75%
▷ Anonymous functions16.25%
Constants763
▷ Global constants699.04%
▷ Class constants69490.96%
▷ Public constants694100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
image/unit_video_guide.png3.04KB1.83KB▼ 39.89%
image/unit_retail.png4.66KB2.36KB▼ 49.24%