84% woo-no-auto-infill

Code Review | WooCommerce No Auto Infill

WordPress plugin WooCommerce No Auto Infill scored84%from 54 tests.

About plugin

  • Plugin page: woo-no-auto-infill
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.4.0
  • WordPress version: 6.3.1
  • First release: May 8, 2020
  • Latest release: May 8, 2020
  • Number of updates: 3
  • Update frequency: every 148.3 days
  • Top authors: eneoli (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,330 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by WooCommerce No Auto Infill
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.73 ▼3.64
Dashboard /wp-admin3.31 ▼0.0449.91 ▼20.98
Posts /wp-admin/edit.php3.36 ▲0.0048.33 ▼2.52
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.80 ▼7.11
Media Library /wp-admin/upload.php3.23 ▲0.0036.41 ▼0.84

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for WooCommerce No Auto Infill
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲1814.37 ▲0.091.59 ▼0.4740.68 ▼2.43
Dashboard /wp-admin2,192 ▲155.58 ▲0.0383.86 ▼5.9038.94 ▼3.90
Posts /wp-admin/edit.php2,100 ▼02.04 ▲0.0339.99 ▲3.0435.12 ▲2.07
Add New Post /wp-admin/post-new.php1,545 ▲1923.32 ▲5.80634.49 ▲22.4953.16 ▼7.60
Media Library /wp-admin/upload.php1,400 ▲34.20 ▼0.0695.43 ▼6.8745.53 ▲1.54

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-no-auto-infill/woocommerce_no_auto_fill.php:9

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)
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
1 plugin tags: woocommerce

woo-no-auto-infill/woocommerce_no_auto_fill.php 92% from 13 tests

Analyzing the main PHP file in "WooCommerce No Auto Infill" version 1.0
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("woo-no-auto-infill.php" instead of "woocommerce_no_auto_fill.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1162

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin