10% technoscore-wc-category-carousel

Code Review | Technoscore WC Category Carousel

WordPress plugin Technoscore WC Category Carousel scored10%from 54 tests.

About plugin

  • Plugin page: technoscore-wc-ca...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.6-4.7
  • WordPress version: 6.3.1
  • First release: Jun 6, 2017
  • Latest release: Jun 6, 2017
  • Number of updates: 3
  • Update frequency: every 2.7 days
  • Top authors: saravan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /633 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Parse error in wp-content/plugins/technoscore-wc-category-carousel/technoscore-wc-category-carousel.php+98
    syntax error, unexpected '}', expecting end of file

Server metrics [RAM: ▼0.01MB] [CPU: ▼7.31ms] Passed 4 tests

An overview of server-side resources used by Technoscore WC Category Carousel
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0041.96 ▼7.20
Dashboard /wp-admin3.31 ▼0.0460.31 ▼10.40
Posts /wp-admin/edit.php3.36 ▲0.0054.58 ▲1.68
Add New Post /wp-admin/post-new.php5.89 ▲0.0099.56 ▼3.57
Media Library /wp-admin/upload.php3.23 ▲0.0035.26 ▼8.08

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Technoscore WC Category Carousel
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.28 ▼0.091.84 ▼0.1141.84 ▼1.67
Dashboard /wp-admin2,195 ▲185.48 ▼0.1991.64 ▼2.6041.56 ▼3.19
Posts /wp-admin/edit.php2,103 ▲31.99 ▼0.0240.40 ▲4.5239.39 ▼0.16
Add New Post /wp-admin/post-new.php1,535 ▲718.36 ▼4.68613.74 ▼77.0268.95 ▲18.44
Media Library /wp-admin/upload.php1,403 ▲94.23 ▼0.0195.79 ▼14.1843.01 ▼3.30

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% 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 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Parse error
      syntax error, unexpected '}', expecting end of file in wp-content/plugins/technoscore-wc-category-carousel/technoscore-wc-category-carousel.php on line 98

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: Screenshot #1 () image required
The official readme.txt might help

technoscore-wc-category-carousel/technoscore-wc-category-carousel.php 92% from 13 tests

Analyzing the main PHP file in "Technoscore WC Category Carousel" version 1.0.1
The following require your attention:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected183 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP23520176
CSS30105
JavaScript1052

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin