83% auto-ecommerce-seo

Code Review | Auto eCommerce SEO

WordPress plugin Auto eCommerce SEO scored83%from 54 tests.

About plugin

  • Plugin page: auto-ecommerce-seo
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.8.1
  • WordPress version: 6.3.1
  • First release: Mar 25, 2014
  • Latest release: Mar 25, 2014
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: mupu42 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,060 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

This is a short check of server-side resources used by Auto eCommerce SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.41 ▼2.02
Dashboard /wp-admin3.31 ▼0.0446.60 ▼18.66
Posts /wp-admin/edit.php3.36 ▲0.0055.60 ▲5.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.04 ▼11.83
Media Library /wp-admin/upload.php3.23 ▲0.0031.58 ▼5.80

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Auto eCommerce SEO
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.27 ▼0.101.71 ▼0.0446.20 ▲3.82
Dashboard /wp-admin2,195 ▲155.63 ▲0.0693.88 ▼1.9637.92 ▼3.35
Posts /wp-admin/edit.php2,100 ▲31.99 ▲0.0239.10 ▼1.5736.26 ▼4.49
Add New Post /wp-admin/post-new.php1,535 ▲718.22 ▼4.96644.52 ▲18.7467.65 ▲16.61
Media Library /wp-admin/upload.php1,394 ▼94.16 ▼0.2193.51 ▼4.4142.52 ▼0.50

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auto-ecommerce-seo/autocommerce.php:33

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
You can look at the official readme.txt

auto-ecommerce-seo/autocommerce.php 85% from 13 tests

Analyzing the main PHP file in "Auto eCommerce SEO" version 1.0
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 151 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("auto-ecommerce-seo.php" instead of "autocommerce.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin57 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1264457

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.43
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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