78% acs-advanced-search


WordPress plugin ACS ADVANCED SEARCH scored 78% from 54 tests.

About plugin

  • Plugin page: acs-advanced-search
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.8
  • WordPress version: 5.9.2
  • First release: Sep 19, 2017
  • Latest release: Sep 19, 2017
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: ritesh143 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 616 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼296.00ms] Passed 4 tests

A check of server-side resources used by ACS ADVANCED SEARCH
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0662.34 ▲13.35
Dashboard /wp-admin3.45 ▲0.0535.84 ▼21.10
Posts /wp-admin/edit.php3.68 ▲0.0456.22 ▲19.33
Add New Post /wp-admin/post-new.php6.92 ▼0.05100.15 ▼1,169.13
Media Library /wp-admin/upload.php3.33 ▲0.0425.19 ▼7.10
ACS Advanced Search /wp-admin/options-general.php?page=acs-advanced-search-options3.3323.10

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for ACS ADVANCED SEARCH
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,916 ▲15816.40 ▲0.8212.22 ▲5.912.80 ▲0.33
Dashboard /wp-admin2,881 ▲285.97 ▼0.18117.36 ▼10.87156.40 ▼5.04
Posts /wp-admin/edit.php2,698 ▲43.23 ▼0.0066.70 ▼17.29143.26 ▼33.40
Add New Post /wp-admin/post-new.php1,666 ▼016.40 ▼4.08416.49 ▼31.36188.29 ▲21.89
Media Library /wp-admin/upload.php1,705 ▲105.52 ▼0.01138.26 ▼28.95226.24 ▲35.26
ACS Advanced Search /wp-admin/options-general.php?page=acs-advanced-search-options1,3092.5483.07149.29

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 1 option in the database
    • acs-advanced-custom-search-settings

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=acs-advanced-search-options
    • > Notice in wp-content/plugins/acs-advanced-search/admin/class-acs-advanced-search-backend.php+359
    Undefined variable: date_selected
    • > GET request to /wp-admin/options-general.php?page=acs-advanced-search-options
    • > Notice in wp-content/plugins/acs-advanced-search/admin/class-acs-advanced-search-backend.php+360
    Undefined variable: date_range_selected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/acs-advanced-search/admin/acs-display-options-page.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
  • Tags: You are using too many tags: 13 tag instead of maximum 10
The official readme.txt might help

acs-advanced-search/acs-advanced-search.php 92% from 13 tests

The main PHP file in "ACS ADVANCED SEARCH" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 196 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,355 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity37.50
▷ Minimum class complexity1.00
▷ Maximum class complexity111.00
Average method complexity4.56
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods3790.24%
▷ Protected methods00.00%
▷ Private methods49.76%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.13MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/ui-icons_ffffff_256x240.png6.15KB4.17KB▼ 32.13%
assets/images/ui-icons_228ef1_256x240.png4.44KB4.17KB▼ 6.02%
screenshot-1.png84.23KB37.99KB▼ 54.89%
assets/images/ui-icons_ef8c08_256x240.png4.44KB4.17KB▼ 6.02%