94% disable-autocomplete

Code Review | Disable Autocomplete

WordPress plugin Disable Autocomplete scored 94% from 54 tests.

About plugin

  • Plugin page: disable-autocomplete
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.5.3
  • WordPress version: 5.8.1
  • First release: Jul 22, 2016
  • Latest release: Jul 21, 2016
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: amg26 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

200+ active / 2,571 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼146.42ms] Passed 4 tests

This is a short check of server-side resources used by Disable Autocomplete
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0141.45 ▲2.31
Dashboard /wp-admin3.06 ▲0.0139.41 ▼9.25
Posts /wp-admin/edit.php3.12 ▲0.0147.97 ▼0.94
Add New Post /wp-admin/post-new.php5.42 ▼0.0194.85 ▼574.98
Media Library /wp-admin/upload.php3.01 ▲0.0134.33 ▼0.50

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Disable Autocomplete
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,707 ▲11116.01 ▲0.3812.50 ▲0.2449.90 ▼10.48
Dashboard /wp-admin2,970 ▲395.93 ▼0.09154.35 ▼11.97110.67 ▼7.71
Posts /wp-admin/edit.php2,739 ▲32.72 ▲0.0075.81 ▲3.9289.83 ▼1.39
Add New Post /wp-admin/post-new.php1,615 ▼6821.36 ▲2.79309.73 ▼120.29114.84 ▼0.08
Media Library /wp-admin/upload.php1,807 ▼35.04 ▲0.03148.95 ▼6.58121.90 ▲2.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
The following issues need your attention
  • 3× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/disable-autocomplete/classes/class-da-scripts.php
    • > /wp-content/plugins/disable-autocomplete/index.php
    • > /wp-content/plugins/disable-autocomplete/disable-autocomplete.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


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
These attributes need to be fixed:
  • Donate link: Invalid url: ""
The official readme.txt is a good inspiration

disable-autocomplete/disable-autocomplete.php 92% from 13 tests

The main file in "Disable Autocomplete" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 163 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected35 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ 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 were not PNG files found in your plugin