10% super-posts-search-filter-lite

Code Review | Super Posts Search Filter Lite

WordPress plugin Super Posts Search Filter Lite scored10%from 54 tests.

About plugin

  • Plugin page: super-posts-searc...
  • Plugin version: 1.7.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.3
  • WordPress version: 6.3.1
  • First release: Jan 28, 2014
  • Latest release: Aug 21, 2015
  • Number of updates: 39
  • Update frequency: every 14.6 days
  • Top authors: vk011 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,049 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/super-posts-search-filter-lite/super-posts-search-filter-lite.php+23
    Undefined variable: cat_style

Server metrics [RAM: ▼1.95MB] [CPU: ▼57.19ms] Passed 4 tests

Server-side resources used by Super Posts Search Filter Lite
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.04 ▼1.424.61 ▼41.72
Dashboard /wp-admin2.06 ▼1.245.08 ▼46.74
Posts /wp-admin/edit.php2.06 ▼1.306.24 ▼47.33
Add New Post /wp-admin/post-new.php2.06 ▼3.835.39 ▼92.96
Media Library /wp-admin/upload.php2.06 ▼1.175.78 ▼31.24

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 12 new options
New WordPress options
vkssfl_default_cat
widget_recent-posts
vkssfl_search_text
vkssfl_cat_text
theysaidso_admin_options
vkssfl_clean_excluded_cats
widget_recent-comments
vkssfl_excluded_cats
widget_theysaidso_widget
vkssfl_cat_style
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Super Posts Search Filter Lite
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.72 ▲0.371.69 ▼0.0545.40 ▲4.56
Dashboard /wp-admin2,199 ▲185.61 ▼0.0790.08 ▼10.9138.05 ▼3.77
Posts /wp-admin/edit.php2,104 ▲42.01 ▲0.0239.93 ▲2.6634.58 ▼1.75
Add New Post /wp-admin/post-new.php1,531 ▲523.01 ▼0.18673.30 ▲37.1357.97 ▲8.88
Media Library /wp-admin/upload.php1,407 ▲74.17 ▲0.0296.05 ▼14.9742.49 ▼4.94
Super Search Filter Lite /wp-admin/super-posts-search-filter-lite.php260.420.1115.91

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/super-posts-search-filter-lite/super-posts-search-filter-lite.php+23
    Undefined variable: cat_style
  • This plugin does not fully uninstall, leaving 12 options in the database
    • vkssfl_excluded_cats
    • vkssfl_clean_excluded_cats
    • vkssfl_default_cat
    • vkssfl_search_text
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • vkssfl_cat_style
    • db_upgraded
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please 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 add_option() in wp-content/plugins/super-posts-search-filter-lite/super-posts-search-filter-lite.php:18

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/super-posts-search-filter-lite.php
    • > Network (severe)
    wp-admin/super-posts-search-filter-lite.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: filter, category, advanced search, taxonomy, posts...

super-posts-search-filter-lite/super-posts-search-filter-lite.php Passed 13 tests

The main file in "Super Posts Search Filter Lite" v. 1.7.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
32 characters long description:
Filter posts based on categories

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected227 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1528227

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
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